I'm not done by far, but here's a quick summary for those who gave
suggestions...
Under Digital Unix the printing to port 9100 works correctly when the
printcap prints to :lp=_at_205hp5si/hpnet:\ (where hpnet is 9100 is defined in
/etc/services). The only problem here is the built-in accounting only
accounts correctly for postscript and not PCL. And the add-on accounting
script I have doesn't pass PCL jobs correctly.
Under RH Linux 6.2, I added the printer direcly to port through RH
Printtool, port 9100 is in /etc/services and it references a .config file
under spool directory for the direct print information (contentsof
.config: printer_ip=128.xxx.xxx.xxx, port=9100)
(Printtool shows: printer DIRECT - Postscript printer at
128.xxx.xxx.xxx:9100)
and it still doesn't work.
and RH Printtool is used to
So... instead of fighting with a custom way of fooling with it... I'm going
to try LPRng (www.astart.com) and ifhp.
Worth noting a new book I'm rushing an order on is:
http://www.oreilly.com/catalog/netprint/
And another reference worth noting is (
http://www.linuxprinting.org/)
I'm not done, and it will take awhile, so I thought I'd get this much out
anyway.
Thanks!
--Dan
>Ok... I'm trying to setup print accounting that will work with both
>postscript from unix and PCL files from samba sending to the same unix
>queue. (It appears that accounting that's normally built in usually only
>works correctly with postscript files, and it has to be directly to the
>printer port, not remote).
>
>I've been wrestling with this for a year now in my off time in both Dec
>Unix and RH Linux.
>I'd really appreciate any help so I dont get yelled at anymore.
>
>First step is to get printing working direcly to HP jetdirect port 9100.
>I can telnet to printer:9100 and get a response, but when the printer is
>setup, jobs aren't printing... either they disappear with no log they went
>in or out, or they sit in the queue.
>
>I was just trying to see if the "as shipped" lpd would do accounting right
>for PS & PCL.
>
>Perhaps I should ditch lpd and go straight to using LPRng?
>
>Thanks,
>Dan
Received on Fri Nov 10 2000 - 19:51:25 NZDT