Hi folks,

Any pointers on printing with an HP LaserJet 1100?

This one is connected via a USB convertor to a 5.6 release box:

$ dmesg | fgrep lp
ulpt0 at uhub0 port 2 configuration 1 interface 0 "Pr?lific Technology Inc. 
IEEE-1284 Controller" rev 1.00/2.00 addr 3
ulpt0: using bi-directional mode


/etc/printcap:

lp|local line printer:\
        :lp=/dev/ulpt0:\
        :sd=/var/spool/output:\
        :lf=/var/log/lpd-errs:\
        :if=/usr/libexec/lpr/lpf:
        #:sf:\
        #:sh:\
        #:tr=^D:



$ ls -l /dev/*lp*
crw-------  1 root  wheel   16, 128 Apr 13 21:13 /dev/lpa0
crw-------  1 root  wheel   16, 129 Apr 13 21:13 /dev/lpa1
crw-------  1 root  wheel   16, 130 Apr 13 21:13 /dev/lpa2
crw-------  1 root  wheel   16,   0 Apr 13 21:13 /dev/lpt0
crw-------  1 root  wheel   16,   1 Apr 13 21:13 /dev/lpt1
crw-------  1 root  wheel   16,   2 Apr 13 21:13 /dev/lpt2
crw-rw----  1 root  wheel   64,   0 May 15 12:07 /dev/ulpt0
crw-rw----  1 root  wheel   64,   1 Apr 13 21:13 /dev/ulpt1


$ fgrep lpd /etc/rc.conf.local 
lpd_flags='-l -s'

$ sudo /etc/rc.d/lpd start
Password:
lpd(ok)


$ file /tmp/output.ps 
/tmp/output.ps: PostScript document text conforming DSC level 3.0, Level 2

$ lpr -m -s /tmp/output.ps
$ lpq
lp is ready and printing
Rank   Owner      Job  Files            Total Size
active craig      7    /tmp/output.ps   54074 bytes

$ lpc status
lp:
        queuing is enabled
        printing is enabled
        1 entry in spool area
        lp is ready and printing


$ fstat /dev/ulpt0
USER     CMD          PID   FD MOUNT        INUM MODE       R/W    SZ|DV NAME
daemon   lpd        27392    5 /            9065 crw-rw----   w    ulpt0 
/dev/ulpt0


The printer lights don't change & paper doesn't move.

What printcap/other settings should I change?


Some pages I've looked at:
http://openbsd-archive.7691.n7.nabble.com/HP-LaserJet-P2015-on-OpenBSD-BEWARE-td56055.html
http://www.linuxmisc.com/27-openbsd/b93483a47d08465b.htm
http://www.openprinting.org/printer/HP/HP-LaserJet_1100
http://daemonforums.org/showthread.php?t=5733
http://compgroups.net/comp.unix.bsd.openbsd.misc/hp-laserjet-1000w-+-openbsd-3.8/2719043

Thanks.
-- 
All things are possible, except skiing thru a revolving door.

Reply via email to