Print out PDF file on linux

25 views
Skip to first unread message

Richard Öhlinger

unread,
Jul 30, 2014, 12:13:15 PM7/30/14
to pdfne...@googlegroups.com
I'm using pdftron on linux (Fedora 18) and I've tried to print out the PDF file with Print::StartPrintJob as stated in the printing example.

In result I get nothing. Neither is the pdf printed (to the default printer) nor is there any exception thrown.
Is this method supposed to run under linux, because the documentation is kind of Windows-centered (only mentioning GDI and XPS).

Best regards,
Richard

Ryan

unread,
Jul 31, 2014, 6:11:19 PM7/31/14
to pdfne...@googlegroups.com
Hi Richard, thank you for pointing this out, that method is not supposed to be available on linux, we will correct that for the next release.

There is no linux standard way to print, though there are some popular mechanisms (such as CUPS).

Some linux distros even use PDF as the print spool format.

You can also use PDFDraw class to raster PDF pages, and send those to the printer, if you are having issues printing the PDF itself.

I'm not sure exactly what is available on your Fedora distro, but installing CUPS and printing a PDF with that should be straight forward.
https://www.cups.org/documentation.php/doc-1.7/api-cups.html#PRINT_JOBS
Reply all
Reply to author
Forward
0 new messages