[cups.general] Print via terminal without usblp

Helge Blischke h.blischke at acm.org
Fri Mar 9 08:51:24 PST 2012


Yader Velásquez wrote:

> Thanks for the answer, but I can't see the USB line
> lpinfo -v | grep usb doesn't print anything.
> 
> You should connect the printer to an usb port and power on the printer
>> before executing lpinfo -v.
>> The command then should then print a line like
>> direct usb:/make/model?serial=foo "Make Model" "USB Printer" .
>>
>> Then execute the lpadmin command as
>> lpadmin -p testing -v usb://Make/Model?serial=foo
>> by inserting the Make, Model, and foo placeholders by the real strings
>> listed. Make sure to represent special characters not allowed in URI
>> strings
>> by %hl where hl are the hex digits of the character code (for instace:
>> represent a space char by %20 ).
>>
>> Helge
>>
>> _______________________________________________
>> cups mailing list
>> cups at easysw.com
>> http://lists.easysw.com/mailman/listinfo/cups
>>
> 
> 
> 

Provided the printer is powered on (and signals being online), 
lpinfo -v | grep usb 
should print something like
direct usb://OKI%20DATA%20CORP/C3600?serial=AE8A060958
(which is thr printer I'm using).

Helge





More information about the cups mailing list