Original Problem:
We recently got an HP Laserjet 4000 which I now need to make work from
my DUNIX V4.0d w/jumbo patch system. So far I have been very
unsuccessful. I either get nothing coming out or I get text which
appears to have the <CR><LF> left out. This printer works fine from
the NetWare V4.11 nodes with IPX. Does anyone out there have a valid
printcap entry for this printer model they'd like to share? Thanx.
Solution:
I recieved several suggestions most of which were to make sure the
'rm' entry was set to 'text'.
I also used my VMS-based DSNlink software (DSN ITS) to connect to DEC.
I then opened the OSF database and searched for 'printcap'. I got
back several entries but the most informative one was entitiled "How
To Configure a Print Queue for HP LaserJet Direct Card". I wiped out
everything I had already setup - which was not working - then followed
the DSNlink instructions. I came up with the following printcap entry.
accounting-mgmt|lp2:\
:sh:\
:tr:\
:lf=/usr/adm/lp2err:\
:lp=:\
:rm=accounting-mgmt:\
:rp=text:\
:sd=/usr/spool/lpd2:
This printcap works for all my HPLJ4, 4+, 5n, 5si, and 4000 printers
with JetDirect cards. With this setup I do not need to change any
setting on the printer itself with regard to <CR><LF> problems - all
ascii files print as they should with the above entry. If a printer
supports postscript then change the rp=text to rp=postscript. All my
printer names are contained in our DNS database therefore I referred
to the name (rm=accounting-mgmt) rather than the IP address.
I enabled two queues for each printer: accounting-mgmt for ascii files
and accounting-mgmt-ps for postscript files.
# lpr -Paccounting-mgmt text.file
# lpr -Paccounting-mgmt-ps postscript.file
Works great!!!
Hope you find this information useful. Thanks for your help.
Larry
Received on Wed Aug 12 1998 - 20:07:37 NZST