[NTLUG:Discuss] Printer problem

terry kj5zr at yahoo.com
Sat Oct 11 09:24:29 CDT 2003



terry wrote:
> 
> 
> terry wrote:
> 
>>
>>
>> terry wrote:
>>
>>>
>>>
>>> joseph beasley wrote:
>>>
>>>> Look in section 3 of the sam.html.  Something about setting the default
>>>> printer.
>>>>
>>>
>>> Yes, I've set it as default printer and still no joy.
>>> # lp test.txt
>>> request id is OfficeJet-32 (1 file(s)
>>>
>>> although http://via.workgroup.office:631/printers/OfficeJet shows:
>>> Use redhat-config-printer to edit this!
>>> Location:
>>> Printer State: processing, accepting jobs.
>>> Device URI: parallel:/dev/lp0
>>>
>>> I'm thinking it's something brain dead stupid and simple but just 
>>> can't seem to lay my brain on it.  Some permission set wrong 
>>> someplace or something like that?
>>>
>>> So far I've removed and re-installed the printer a number of times, 
>>> installed it from localhost:631, installed it from Control Center, 
>>> installed it from redhat-config-printer. I've upgraded cups, 
>>> downloaded and installed cups from source, re-installed cups from RH9 
>>> CDs, deleted cups and re-installed from CD, upgraded again, and still 
>>> nothing out of the printer accept for a couple of Test Pages.
>>>
>>> At one time I was really close, I've got three nicely printed test 
>>> pages to prove it, so I'm sure it's something brain dead simple, some 
>>> permission set wrong someplace or something like that. And I know, I 
>>> know now, that at the point where I printed Test Pages, I should have 
>>> fixed what was wrong and NOT proceeded to re-install cups numerous 
>>> times, that was prolly wasted effort).
>>>
>>> As you see, this last time, I've installe from redhat-config-printer. 
>>> Cups configuration seems to be broken.  It stalls at: 
>>> http://via.workgroup.office:631/admin/?op=add-printer
>>> and when I click on "continue" it does nothing, won't go any further, 
>>> so something someplace needs fixing, maybe I just re-install cups 
>>> again? Or not?
>>>
>>> That's some pretty nice and extensive documentation at 
>>> localhost:631/sams.htm ,  I probably just need to go back and pour 
>>> over that some more until it dawns on me.
>>>
>>>
>>>
>> 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.
>>
> Now I'm getting:
> There was a problem sending CUPS test page
> to 'printer' queue:
> 
> lpr: unable to print file: server-error-service-unavailable
> 
> 
And:
# lp test.txt
lp: error - scheduler not responding!





More information about the Discuss mailing list