Subject: Re: Printing to HP LaserJet printer
From: Patrik Schindler (poc@pocnet.net)
Date: Sat Jun 10 2000 - 09:06:42 EDT
At 17:22 Uhr -0700 08.06.2000, Steve Maller wrote:
>Patrik, I'm trying to get my HP 2100TN (similar to the 5MP) to work
>on my Red Hat 6.2/Intel box, and having a hard time. Could I trouble
>you for a (neutered) copy of your /etc/printcap, papd.config, and
>listing of your /var/spool/XXX directory?
Here we go:
[/etc/printcap]
Tech-HP5M|Drucker Techzentrum 1.OG Verwaltung:\
:sd=/var/spool/lpd/techzentrum:\
:rm=lj5m-tz:rp=lp:\
:mx#0:sh:sf:
#
I'm using lpr -h because the Printer would do a banner page (even if it's suppressed in printcap).
One small oddity remains: If the printer is busy, lpq can't connect to the printer to get a status from it. I suspict this on a buggy firmware from the MIO-Card in our 5MP.
[/usr/local/etc/papd.conf]
Tech-HP5M-Spool\:LaserWriter@Verwaltung:\
:pr=|/usr/bin/lpr -P Tech-HP5M -r -h:\
:op=poc:\
:pd=/usr/local/etc/HP-LJ-5M.ppd:
#
fatima:/var/spool/lpd/techzentrum # ll -a
total 20
drwxrwxr-x 2 lp lp 4096 Jun 9 14:51 ./
drwxrwxr-x 18 lp lp 4096 Jun 8 13:40 ../
-rw-r----x 1 root lp 4 Jun 9 14:51 .seq*
-rw-r--r-- 1 root root 19 Jun 9 14:51 lock
-rw-rw-r-- 1 root root 19 Jun 9 14:51 status
# ll /var/spool/lpd/techzentrum
total 20
drwxrwxr-x 2 lp lp 4096 Jun 9 14:51 ./
drwxrwxr-x 18 lp lp 4096 Jun 8 13:40 ../
-rw-r----x 1 root lp 4 Jun 9 14:51 .seq*
-rw-r--r-- 1 root root 19 Jun 9 14:51 lock
-rw-rw-r-- 1 root root 19 Jun 9 14:51 status
I'm using papd from asun 2.1.3 as well as pre-2.1.4-b37
:wq! PoC
This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:31:02 EST