[lug] Printing on ubuntu 6.06.1

D. Stimits stimits at comcast.net
Sat Feb 17 16:27:37 MST 2007


siegfried wrote:

>>>(3) Linux always shows the job in the print queue after I hit the "print
>>>test page" button or the print button on openoffice.org writer.
>>>(4) The HP G85 printer never prints when I'm booted in linux.
>>> 
>>>
>>>      
>>>
>>What happens if, on the command line as root, you run "lpr 
>><some_test_text_file.txt>"? Or as non-root? And is there output to 
>>/var/log/messages (via tail -f while doing this) while running the lpr 
>>command? I'm thinking a semi-direct command line tool might show more 
>>information about errors.
>>
>>    
>>
>
>The exact same thing happens: I see the job appear in the queue and
>eventually it disappears from the queue and nothing happens on the
>printer. Cycling the power on the printer is sometimes necessary with
>windows. Cycyling the power with linux seems to have no effect. I
>tried with both root and user "siegfried". No difference.
>
>There is no output to /var/log/messages as a result of printing. As a result
>of booting, there is a cryptic entry about a "USB bidirectional printer 0 3
>...".
>  
>
Bidirectional indicates the printer is able to answer questions about 
itself, e.g., what fonts it has resident. Useful with the IPP protocol. 
The fact that the printer is there, that it seemingly takes jobs, and 
then something happens to remove it makes me wonder if there is an 
incorrect protocol being used, or perhaps some sort of security 
feature.  Would be interested in seeing what the results are from the 
debug testing mentioned by Collins Richey.

One more test, if you have some form of pcl file (e.g., via print to 
file where the named printer setup is a pcl setup), would be to use lp 
next and use that. lp and ipp protocols use different ports. The thing 
I'm not sure of is how much interception cups does (since it provides lp 
and lpr now), but I'm thinking lp will always use the lp port (versus 
the ipp port).

D. Stimits, stimits AT comcast DOT net



More information about the LUG mailing list