Yes, in the redhat-config-printer, LaserJet 5P is in the list so I selected it.
It recommends the ljet4 driver, so that is selected.
Main Topics
Browse All TopicsI've connected a HP LaserJet5p via the parallel port.
I can print a test page via KDE (System Settings -> Printing)
The test page says:
Postscipt: Level 3
Version: 3010 (705)
Product: GNU Ghostscript
Printed using CUPS v1.1.x
I cannot print otherwise, however.
Can't print a test page from WebMin, from OpenOffice Writer, or from KEdit
When I restart the machine, kudzu finds the printer.
What do I need to do?
RH 9.0
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Does 'lpq -a' show print jobs stuck in the queue? If they are it might means that the parrallel port is set to the wrong mode in the BIOS or that there might be a problem with the printer cable you are using. I can't remember if a 5p requires EPP or ECP mode and one of the IEEE (the expensive ones) printer cables or not. I have seen problems like this when those conditions are required but not satisfied.
# lpstat -d
system default destination: HP_LaserJet_5p
# lpq -PHP_Laserjet_5p
HP_Laserjet_5p is ready and printing
Rank Owner Job File(s) Total Size
active root 15 (stdin) 12288 bytes
1st root 16 bw.ps 7168 bytes
2nd root 17 (stdin) 12288 bytes
3rd root 18 kdeprint_1moW4zK 89088 bytes
4th root 19 (stdin) 12288 bytes
5th root 20 kdeprint_W3eBvc5 89088 bytes
6th root 21 (stdin) 12288 bytes
7th root 25 testprint.ps 15360 bytes
#lprm -P HP_Laserjet_5p -
(to get rid of everything)
So then I sent 1 job to it, and it shows up in the queue, just not printing
Changed ECP to EPP, didn't fix it.
So the printer port looks okay, protocol wise. And since there are queued jobs and since one claims to be printing the probablility is that something is interferring with communication to the printer. It might be as simple as a bad cable and swapping it out is one way to find out.
Another possibility might be that something else is trying to use the IRQ assigned to the parallel port. Since most printer ports are ISA rather than PCI interrupt sharing won't work on Linux. To check for an IRQ conflict you need to build a list of IRQ's and what devices are using them from:
The output of 'dmesg | grep -i irq'
The contents of /proc/interrupts
The contents of /proc/pci
It may also help to disable PnP mode in your BIOS (if you have that option) and/or to reserve IRQ 7 for "legacy" or ISA use (if you have that option).
The last possibility that occurs to me is that something might be wrong with the parallel port on either the system or the printer. Moving the printer to another system that is know to be able to drive a parallel printer would tell.
I've lost the ability to print the test page.
(I swear it did before, i've got the hardcopy right in front of me!)
When I start up redhat printer config, i get this message in a dlg box:
An error occurred while loading or saving configuration information for redhat-config-printer.
Some of you configuration settings may not work properly
Details:
Configuration server couldn't be contacted:
CORBA error: IDL:omg.org/CORBA/BAD_OPER
Configuration server couldn't be contacted:
CORBA error: IDL:omg.org/CORBA/BAD_OPER
Configuration server couldn't be contacted:
CORBA error: IDL:omg.org/CORBA/BAD_OPER
# dmesg | grep -i irq
PCI: Using IRQ router SIS [1039/0008] at 00:02.0
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
PCI: Found IRQ 11 for device 00:11.0
PCI: Sharing IRQ 11 with 00:13.1
ttyS4 at port 0xd000 (irq = 11) is a 16550A
SIS5513: not 100% native mode: will probe irqs later
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
SiS router pirq escape (99)
SiS router pirq escape (99)
usb-ohci.c: USB OHCI at membase 0xe8849000, IRQ 5
PCI: Found IRQ 10 for device 00:02.2
usb-ohci.c: USB OHCI at membase 0xe884b000, IRQ 10
PCI: Found IRQ 10 for device 00:13.2
PCI: Sharing IRQ 10 with 00:02.7
ehci-hcd 00:13.2: irq 10, pci mem e8853f00
PCI: Found IRQ 11 for device 00:13.1
PCI: Sharing IRQ 11 with 00:11.0
usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 11
PCI: Found IRQ 11 for device 00:13.0
usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 11
PCI: Found IRQ 10 for device 00:02.7
PCI: Sharing IRQ 10 with 00:13.2
i810: SiS 7012 found at IO 0xd800 and 0xdc00, MEM 0x0000 and 0x0000, IRQ 10
The motherboard is new and as such does not have ISA.
No mention of a printer in either of the files you said to look at:
/proc/interrupt
CPU0
0: 110310 XT-PIC timer
1: 1970 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 0 XT-PIC usb-ohci
8: 1 XT-PIC rtc
10: 11254 XT-PIC usb-ohci, ehci-hcd, SiS 7012
11: 31949 XT-PIC usb-uhci, usb-uhci, serial
12: 31257 XT-PIC PS/2 Mouse
14: 16077 XT-PIC ide0
15: 49 XT-PIC ide1
NMI: 0
ERR: 0
/proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Silicon Integrated Systems [SiS] 735 Host (rev 1).
Master Capable. Latency=32.
Non-prefetchable 32 bit memory at 0xd0000000 [0xd3ffffff].
Bus 0, device 1, function 0:
PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (rev 0).
Master Capable. Latency=64. Min Gnt=10.
Bus 0, device 2, function 0:
ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 0).
Bus 0, device 2, function 3:
USB Controller: Silicon Integrated Systems [SiS] 7001 (#2) (rev 7).
IRQ 5.
Master Capable. Latency=64. Max Lat=80.
Non-prefetchable 32 bit memory at 0xcffff000 [0xcfffffff].
Bus 0, device 2, function 2:
USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 7).
IRQ 10.
Master Capable. Latency=64. Max Lat=80.
Non-prefetchable 32 bit memory at 0xcfffe000 [0xcfffefff].
Bus 0, device 2, function 5:
IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 208).
Master Capable. Latency=128.
I/O at 0xff00 [0xff0f].
Bus 0, device 2, function 7:
Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev 160).
IRQ 10.
Master Capable. Latency=64. Min Gnt=52.Max Lat=11.
I/O at 0xdc00 [0xdcff].
I/O at 0xd800 [0xd83f].
Bus 0, device 3, function 0:
Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 144).
IRQ 10.
Master Capable. Latency=64. Min Gnt=52.Max Lat=11.
I/O at 0xd400 [0xd4ff].
Non-prefetchable 32 bit memory at 0xcffdd000 [0xcffddfff].
Bus 0, device 17, function 0:
Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 1).
IRQ 11.
I/O at 0xd000 [0xd007].
Bus 0, device 19, function 1:
USB Controller: VIA Technologies, Inc. USB (#2) (rev 80).
IRQ 11.
Master Capable. Latency=64.
I/O at 0xcc00 [0xcc1f].
Bus 0, device 19, function 0:
USB Controller: VIA Technologies, Inc. USB (rev 80).
IRQ 11.
Master Capable. Latency=64.
I/O at 0xc800 [0xc81f].
Bus 0, device 19, function 2:
USB Controller: VIA Technologies, Inc. USB 2.0 (rev 81).
IRQ 10.
Master Capable. Latency=64.
Non-prefetchable 32 bit memory at 0xcfffdf00 [0xcfffdfff].
Bus 1, device 0, function 0:
VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX420] (rev 163).
IRQ 11.
Master Capable. Latency=64. Min Gnt=5.Max Lat=1.
Non-prefetchable 32 bit memory at 0xce000000 [0xceffffff].
Prefetchable 32 bit memory at 0xc8000000 [0xcbffffff].
Prefetchable 32 bit memory at 0xcdc80000 [0xcdcfffff].
---
The printer & cable were working on a Win2k PC before I brought it over here.
Hmmm, I don't see IRQ 7 anywhere in that list, and it seem like I should. You stated that kudzu detects the printer at boot and I'm wondering if you mean that it does so at every boot (that should only happen once).
What does /sbin/lsmod show?
FYI: one reason that you would not be able to get a test page out now is that there are jobs in the queue. You should remove those (lprm Job) where Job is what you see if you do 'lpq -a' (15, 16, 17, etc.).
# /sbin/lsmod
Module Size Used by Not tainted
ppp_deflate 4408 0 (autoclean)
zlib_deflate 21176 0 (autoclean) [ppp_deflate]
ppp_async 9312 1 (autoclean)
ppp_generic 24156 3 (autoclean) [ppp_deflate ppp_async]
slhc 6644 0 (autoclean) [ppp_generic]
i810_audio 27528 0 (autoclean)
ac97_codec 13544 0 (autoclean) [i810_audio]
soundcore 6276 2 (autoclean) [i810_audio]
parport_pc 18756 1 (autoclean)
lp 8868 0 (autoclean)
parport 36480 1 (autoclean) [parport_pc lp]
autofs 12948 0 (autoclean) (unused)
iptable_filter 2380 0 (autoclean) (unused)
ip_tables 14648 1 [iptable_filter]
sg 35980 0 (autoclean)
sr_mod 17912 0 (autoclean)
ide-scsi 11984 0
scsi_mod 106200 3 [sg sr_mod ide-scsi]
ide-cd 35196 0
cdrom 33472 0 [sr_mod ide-cd]
loop 11928 0 (autoclean)
lvm-mod 63456 0
keybdev 2880 0 (unused)
mousedev 5428 1
hid 21700 0 (unused)
input 5792 0 [keybdev mousedev hid]
usb-uhci 25868 0 (unused)
ehci-hcd 19592 0 (unused)
usb-ohci 21160 0 (unused)
usbcore 77696 1 [hid usb-uhci ehci-hcd usb-ohci]
ext3 69984 3
jbd 51220 3 [ext3]
# cat /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
HP_LaserJet_5p:
Epson_Stylus_Color_740:
hp4101:
hp4101cups:
hp4101ip:
hp8550gn:
The Epson_Stylus_Color_740 is the local I had installed before this one
The others are remote printers.
redhat-switch-printer says that I am using CUPS.
When i execute cupsconfig, it brings up a webpage (localhost:631)
if i go to localhost:631/printers, there is a list of printers.
I've now stopped all except the HP LaserJet 5p, which says this:
HP LaserJet 5P, Foomatic + ljet4
Printer State: idle, accepting jobs.
"Parallel port busy; will retry in 30 seconds..."
Device URI: parallel:/dev/lp0
I go to jobs and clear all the jobs, then go back to the printers page and send a test page, but no dice.
BIOS shows IRQ 7
I had been playing with ECP, EPP, ECP/EPP...last i had changed it to EPP, which didn't do anything.
So now I changed it to ECP/EPP, and so now the following command shows IRQ 7
# dmesg | grep -i irq
PCI: Using IRQ router SIS [1039/0008] at 00:02.0
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
PCI: Found IRQ 11 for device 00:11.0
PCI: Sharing IRQ 11 with 00:13.1
ttyS4 at port 0xd000 (irq = 11) is a 16550A
SIS5513: not 100% native mode: will probe irqs later
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
SiS router pirq escape (99)
SiS router pirq escape (99)
usb-ohci.c: USB OHCI at membase 0xe8849000, IRQ 5
PCI: Found IRQ 5 for device 00:02.2
usb-ohci.c: USB OHCI at membase 0xe884b000, IRQ 5
PCI: Found IRQ 10 for device 00:13.2
PCI: Sharing IRQ 10 with 00:02.7
ehci-hcd 00:13.2: irq 10, pci mem e8853f00
PCI: Found IRQ 11 for device 00:13.1
PCI: Sharing IRQ 11 with 00:11.0
usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 11
PCI: Found IRQ 11 for device 00:13.0
usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 11
parport0: irq 7 detected
parport0: irq 7 detected
PCI: Found IRQ 10 for device 00:02.7
PCI: Sharing IRQ 10 with 00:13.2
i810: SiS 7012 found at IO 0xd800 and 0xdc00, MEM 0x0000 and 0x0000, IRQ 10
cupsconfig says:
Printer State: idle, accepting jobs.
Device URI: parallel:/dev/lp0
so that's better.
but if i send a job, it still doesn't print, cupsconfig says:
Printer State: processing, accepting jobs.
Device URI: parallel:/dev/lp0
# cat >> /dev/lp0
bash: /dev/lp0: Device or resource busy
# cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
6 lp
7 vcs
10 misc
13 input
14 sound
21 sg
29 fb
36 netlink
108 ppp
109 lvm
128 ptm
129 ptm
130 ptm
131 ptm
132 ptm
133 ptm
134 ptm
135 ptm
136 pts
137 pts
138 pts
139 pts
140 pts
141 pts
142 pts
143 pts
162 raw
180 usb
Block devices:
1 ramdisk
2 fd
3 ide0
7 loop
9 md
11 sr
12 unnamed
14 unnamed
22 ide1
38 unnamed
39 unnamed
58 lvm
It sounds for all the world like the communications between the printer and the the system is failing or gets into a deadlock. It may be that it only occurs when the print job is larger than what the 5P can hold in its buffer, which might explain how you were able to print a single test page from the printer set up.
Your simple test failed to cause output on the printer because you did not end the test with a FormFeed character. Its been a long time since I've do any low-level work with printers, by if memory serves a laser printer won't do anything until it sees a FF character.
Business Accounts
Answer for Membership
by: jleviePosted on 2003-08-07 at 15:39:56ID: 9103947
You have created a Linux print queue with redhat-config-printer, correct? When creating the print queue did you select the correct make/model of printer?