Thanks to Lucio Chiappetti and Paul Watson
The Question :
I need to use an HP LaserJet 5MP from a Dunix Workstation.
I forgot to specify that a printer is LOCAL.
I'm sorry, but I haven't been able to fix the problem.
Lucio sent me a configuration for a network printer :
(...)
# remote network HP printer (postscript)
lp|amaltea|lp2:\
:lf=/dev/null:\
:lp=:\
:rm=amaltea:\
:rp=raw:\
:mx#0:\
:sd=/var/spool/lpd/lp2:
# remote network HP printer (ASCII)
lp2bis:\
:lf=/dev/null:\
:lp=:\
:rm=amaltea:\
:rp=text:\
:mx#0:\
:sd=/var/spool/lpd/lp2:
rm is the IP name you assign to the printer in nameserver tables
rp is the queue name and is imbedded in the printer. Check your manuals.
In our case it has a "raw" queue for postscript and a "text" queue for ascii
(we use only the first in practice, since all our previous printers were
postscript, and do ascii-to-ps via s/w)
Paul sent me a configuration for a local printer :
(...)
The printcap entry below works for us with a LaserJet 4M
lp0|0|lp|4M:\
:af=/usr/adm/lp0acct:\
:br#9600:\
:ct=dev:\
:fc#0177777:\
:fs#027:\
:if=/usr/lbin/hplaserpsof:\
:lf=/usr/adm/lp0err:\
:lp=/dev/lp0:\
:mx#0:\
:of=/usr/lbin/hplaserpsof:\
:pl#66:\
:pw#80:\
:sd=/usr/spool/lpd0:\
:sh:\
:xc#0177777:\
:xf=/usr/lbin/xf:\
:xs#044000:
When we first installed this printer with lprsetup it used the wrong if
value (PCL instead of PS).
______________________________________________
Isidoro Sepe - Telesoft spa
Via Vicinale S.Maria del Pianto,snc
80143 Napoli
Phone : +39-81-7564486
Fax : +39-81-7564252
email : isidoro.sepe_at_tlsoft.it
______________________________________________
Received on Tue Oct 27 1998 - 11:13:28 NZDT