How can I tell the lpr command (cups) that my file is actually a pdf?
lpr file.pdf
won't print anything.
|
There are at least two ways to convert and print a PDF file . The first way is to view the file in xpdf (the PDF file viewer), and then left-click the printer icon. This won't actually send the file to the printer, but it writes a PostScript file in the same directory, with the same base file name as the PDF file but with a The second way is to use pdf2ps, part of the gs package, to convert the PDF file to PostScript (then print the PostScript output as described for xpdf above). pdf2ps takes two arguments: the name of the PDF file to convert, and the name of the PostScript file to write to. To convert the PDF file `pricelist.pdf', type:
This command writes a PostScript file |
|||||
|
/var/log/cups. See for example if there are errors inerror_log. – Faheem Mitha Dec 24 '11 at 22:49