[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

parallel port config at sparc



I installed OBSD 2.6 at SPARCstation10.
Local printer is HP LaserJet 4.
I made bpp0 device by "sh MAKEDEV bpp0".
(crw-------  1 root  wheel  104,   0 Dec 13 02:05 /dev/bpp0)
lpd daemon is on by "-l" option, and queing & printing is enabled.

>lpc> status
>lj4:
>        queuing is enabled
>        printing is enabled
>        no entries
>        printer idle

I installed a2ps, but "a2ps -Plj4 test.txt" doesn't work.
queuing worked, but printing doesn't.
Can anyone tell me the solution?

#/etc/printcap

lj4|Hewlett Packard LaserJet 4|lp:\
	:lp=/dev/bpp0:sd=/var/spool/lpd/lj4:lf=/var/log/lpd-errs:mx#0:sh:

#dmesg

Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-1999 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 2.6 (GENERIC) #287: Thu Oct 21 23:31:48 MDT 1999
    deraadt_(_at_)_sun4m_(_dot_)_openbsd_(_dot_)_org:/usr/src/sys/arch/sparc/compile/GENERIC
real mem = 32882688
avail mem = 28172288
using 200 buffers containing 1642496 bytes of memory
bootpath: /iommu_(_at_)_f,e0000000/sbus_(_at_)_f,e0001000/espdma_(_at_)_f,400000/esp_(_at_)_f,800000/sd_(_at_)_3,0
mainbus0 (root): SUNW,SPARCstation-10
cpu0 at mainbus0: TMS390Z50 v0 or TMS390Z55 @ 36 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l) cache enabled
obio0 at mainbus0
clock0 at obio0 addr 0xf1200000: mk48t08 (eeprom)
timer0 at obio0 addr 0xf1300000 delay constant 16
zs0 at obio0 addr 0xf1100000 pri 12, softpri 6
zs1 at obio0 addr 0xf1000000 pri 12, softpri 6
fdc0 at obio0 addr 0xf1700000 pri 11, softpri 4: chip 82077
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
auxreg0 at obio0 addr 0xf1800000
power0 at obio0 addr 0xf1a01000
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x1/0x0, page-size 4096, range 64M
B
sbus0 at iommu0: clock = 18 MHz
dma0 at sbus0 slot 15 offset 0x400000: rev 2
esp0 at dma0 offset 0x800000 pri 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets
sd0 at scsibus0 targ 3 lun 0: <DEC, DSP3107LS, X441> SCSI2 0/direct fixed
sd0: 1021MB, 3117 cyl, 8 head, 83 sec, 512 bytes/sec, 2091144 sec total
ledma0 at sbus0 slot 15 offset 0x400010: rev 2
le0 at ledma0 offset 0xc00000 pri 6: address 08:00:20:18:09:33
le0: 16 receive buffers, 4 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000: DMA2
SUNW,DBRIe at sbus0 slot 15 offset 0x8010000 not configured
cgsix0 at sbus0 slot 2 offset 0x0: SUNW,501-1672, 1152 x 900, rev 6 (console)
cgsix0: attached to /dev/fb
root on sd0a
kbd: type = 4, layout = 0x2f
rootdev=0x700 rrootdev=0x1100 rawdev=0x1102

-- 
Kim, Kyung-hwan
redjade_(_at_)_atropos_(_dot_)_snu_(_dot_)_ac_(_dot_)_kr



Visit your host, monkey.org