lpr pdf not working

Post your Gambas programming questions here.
Post Reply
bill-lancaster
Posts: 190
Joined: Tuesday 26th September 2017 3:17pm
Location: NW England

lpr pdf not working

Post by bill-lancaster »

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: 1118
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: lpr pdf not working

Post by cogier »

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: 190
Joined: Tuesday 26th September 2017 3:17pm
Location: NW England

Re: lpr pdf not working

Post by bill-lancaster »

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