Hi Solaris 10 & possibly other Windows Gurus,
I am using hppi to setup IP based printers on Solaris 10 SPARC server but have always been having difficulty getting the exact driver for them. In this case it is for HP CP4525 series PCL6 so the only choice available was to choose the closest available driver which does the basic printing. In other word, it is not able to carry out specific commands to the printer such as addressing multiple trays (lp -d printer_queue -o tray1/upper...) properly. A workaround that also have mixed results is to setup a Windows XP/6.0 with Print Service for Unix but this setup with the following potential issues:
( i ) Windows printer queue would print to the wrong tray (possibly default on printer) despite having set to certain tray, yet a test print on the Windows side would print to the correct tray.
( ii ) Can no longer setup a Windows printer queue to be used to serve Unix printing even though I have had success on the same PC running Windows XP a while back
( iii ) Resourt to third-party software such as WRQ Reflection which came with Line Printer Daemon in their Reflection Server Manager from a very old version (7.5) does not always work either. Do I need to turn off Print Service for Unix before using WRQ Reflection Line Printer Daemon or not? I have tried with either or both installed yet only the existing printer queue CASHIERRCT/fin_carct would work.
Below aer the following error I am coming across after having created a remote printer queue on Solaris 10 SPARC server:
# uname -a
SunOS venus 5.10 Generic_144488-12 sun4v sparc SUNW,SPARC-Enterprise-T5220
# lpadmin -p appr06tray2 -s remote_windows_host!appr06tray2
# add "appr06tray2 stream tcp nowait root /usr/lib/print/in.lpd in.lpd" to /etc/inet/inetd.conf
# added "APPR06TRAY2 stream tcp nowait root /usr/lib/print/in.lpd in.lpd" to /etc/inet/inetd.conf
# lpstat -lp appr06tray2
printer appr06tray2 disabled since 26 February 2014 11:19:05 PM. available.
Invalid printer
Remote Name: appr06tray2
Remote Server: remote_windows_host
Note that it returns "Invalid printer". On the other hand, the following printer queue setup a few years back would not have the issue:
# lpstat -lp fin_carct
printer fin_carct disabled since 26 February 2014 11:19:11 PM. available.
CASHIERRCT:
No jobs queued
Remote Name: fin_carct
Remote Server: remote_windows_host
What puzzles me is that the remote_windows_host was able to return the correct CASHIERRCT as the remote printer queue yet not recognise appr06tray2 as a valid printer.
It has been quite a few years since setting up remote printer queues using Windows services and may have missed some steps during setup.
Your advice to help ocate the correct printer driver on Solaris 10 SPARC server, or a workaround outside or a combination would be much appreciated.
Many thanks,
George