lpr pdf not working

Post Reply
bill-lancaster
Posts: 34
Joined: Tuesday 26th September 2017 3:17pm

lpr pdf not working

Post by bill-lancaster » Tuesday 25th September 2018 9:05am

Have upgraded to Kubuntu 18.04 and now can't print pdf files from the command line.
:~$ lpr  test.pdf
lpr: Error - No default destination.
Can't think whats wrong so any help would be welcome

User avatar
cogier
Site Admin
Posts: 202
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: lpr pdf not working

Post by cogier » Tuesday 25th September 2018 1:43pm

Check that you have set the Default Printer.
Image


The man file says "lpr submits files for printing. Files named on the command line are sent to the named printer or the default destination if no destination is specified."

bill-lancaster
Posts: 34
Joined: Tuesday 26th September 2017 3:17pm

Re: lpr pdf not working

Post by bill-lancaster » Tuesday 25th September 2018 2:23pm

How stupid of me!
Thought I'd checked that but obviously I hadn't
Thanks a lot

Post Reply