Web lists-archives.com

Re: lp printing doesn't work




Gary Roach wrote:
> Hi all
>
> Debian Stretch
> KDE Desktop
> HP Officejet Pro 8600 printer
> Wireless connection
>
> For some reason, my lp print command doesn't work. [...]
>
> If I run lpoptions on the command line I get:
>
>    copies=1 device-uri=socket://192.168.1.5:9100 finishings=3 
> fitplot=true job-cancel-after=10800 job-hold-until=no-hold 
> job-priority=50 job-sheets=none,none marker-change-time=0 media=DRAFT 
> number-up=1 page-bottom=54 page-left=54 page-right=54 page-top=54 
> printer-commands=AutoConfigure,Clean,PrintSelfTestPage printer-info='HP 
> Officejet Pro 8600' printer-is-accepting-jobs=true 
> printer-is-shared=false printer-location='Local Printer' 
> printer-make-and-model='HP Officejet Pro 8600, hpcups 3.16.11' 
> printer-state=3 printer-state-change-time=1503877259 
> printer-state-reasons=none printer-type=10522652 
> printer-uri-supported=ipp://localhost/printers/Officejet_Pro_8600_N911a
>
> A you can see, my printer is specifically called out. But if I run lp 
><file> I get:
>
> lp: Error - no default destination available.

Perhaps you're missing an entry in /etc/printcap?  Not 100% sure though,
as I don't use cups for printing (but rather lprng).


(hope this doesn't double-post, client crashed before ...)

-- 
|_|O|_| Registered Linux user #585947
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5  4AEE 8E11 DDF3 1279 A281