lpr pdf not working

Post

Posted
Rating:
#1 (In Topic #190)
Regular
bill-lancaster is in the usergroup ‘Regular’
Have upgraded to Kubuntu 18.04 and now can't print pdf files from the command line.

Code (gambas)

  1. :~$ lpr  test.pdf
  2. lpr: Error - No default destination.
  3.  
Can't think whats wrong so any help would be welcome
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Guru
cogier is in the usergroup ‘Guru’
Check that you have set the Default Printer.
<IMG src="http://cogier.com/gambas/lpr.jpg"> </IMG>


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."
Online now: No Back to the top

Post

Posted
Rating:
#3
Regular
bill-lancaster is in the usergroup ‘Regular’
 How stupid of me!
Thought I'd checked that but obviously I hadn't
Thanks a lot
Online now: No Back to the top
1 guest and 0 members have just viewed this.