[python-win32] Printing PDFs without external tools

Tim Roberts timr at probo.com
Tue Mar 4 18:35:50 CET 2014


Andreas Holtz wrote:
> the printer I want to use is a HP 5550DTN.
> The specifications can be found here:
> http://h20195.www2.hp.com/V2/GetPDF%2Easpx%2F5982%2D6714EEE%2Epdf
> On page 2 under printer languages "PDF 1.3" is written.

I should not have doubted you.  ;)


> Therefore I think I can print PDFs without the use of Adobe or any other 3rd party software (like Ghostscript).
> But I don't know how...

To do this, you will not go through the normal printing services.  You
need to send the PDF files directly to the printer as if it were a file
server.  The printer serves HTTP and FTP, and that's how you'll get the
PDF files in there.  You won't get fancy options like layout and paper
size.  To get that level of control, you'll need to use a printer
driver, and that means using PDF rendering software on the PC.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list