[NTLUG:Discuss] Printer problem

pauldy@wantek.net pauldy at wantek.net
Fri Oct 10 12:43:20 CDT 2003


Seeing as how you are having trouble printing as root I would be fairly 
confident that file permissions are not the answer to your problem.  Given your 
current config if you were unable to get your printing working using the method 
I described I would think a clean removal of cups from your system would be in 
order.  Barring that the best thing you can do is exactly what you are doing 
possibly making note of when something gets you closer and when something makes 
it worse.  You could be right about permissions but if you are they would most 
likely be the permissions in /etc/sups/cupsd.conf.  If you could please send 
the following files off list as attachments and I will see if I can find were 
the problem is.

/etc/cups/cupsd.conf
/etc/cups/printers.conf
/etc/cups/lpoptions
/etc/printcap
/etc/pam.d/cups
/etc/xinetd.d/cups-lpd


Quoting terry <kj5zr at yahoo.com>:

> terry wrote: 
> 
> 
> After reboot, I'm able to get passed: 
> http://via.workgroup.office:631/admin/?op=add-printer
> (I uninstalled the printer under redhat-config-printer and rebooted)
> 
> I reinstalled the printer under cups, and tried test page:
> HP New DeskJet Series CUPS v1.1  	
> Description: inkjet
> Location: /dev/lp0
> Printer State: processing, accepting jobs.
> "Printing page 1, 0% complete..."
> Device URI: parallel:/dev/lp0
> 
> Test page sent; job ID is OJ500-1.
> 
> but nothing happens.
> 
> At command line, (second try):
> lp test.txt
> request id is OJ500-3 (1 file(s))
> 
> More info:
> I have cups and cups-lpd running. (Whether I should (or not) have both 
> running, I dono. I DO know my other RH9 system does NOT have cups-lpd 
> running, and it prints to printer okay.)
> 
> # ps -ux |grep lp
> USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> root      1200  0.0  0.0  1644   60 ?        S    10:13   0:00 
> parallel:/dev/lp0 1 root Test Page 1
> 
> # ps -ux |grep cups
> root       810  1.1  0.4  5500  992 ?        S    10:10   0:23 
> /usr/sbin/cupsd
> 
> # grep lp /etc/services
> rlp             39/tcp          resource        # resource location
> rlp             39/udp          resource        # resource location
> # grep 631 /etc/services
> ipp             631/tcp                         # Internet Printing Protocol
> ipp             631/ucp                         # Internet Printing Protocol
> # grep 101 /etc/services
> hostname        101/tcp         hostnames       # usually from sri-nic
> hostname        101/udp         hostnames       # usually from sri-nic
> 
> I'm still thinking maybe it's just a permission thing someplace that 
> could be resolved with chmod _____? someplace, but just don't know where 
> to look.
> 
> 



More information about the Discuss mailing list