Printing a PDF-file

Just starting out? Need help? Post your questions and find answers here.
Little_man
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Mar 29, 2013 4:55 pm
Location: The Netherland

Printing a PDF-file

Post by Little_man »

Is it possible a PDF-file what is created with "pbPDFModule.pbi"
to be printed from a PB-program consider the paper size.

Little_man
User avatar
captain_skank
Enthusiast
Enthusiast
Posts: 636
Joined: Fri Oct 06, 2006 3:57 pm
Location: England

Re: Printing a PDF-file

Post by captain_skank »

Not sure you can do it directly - but you can usue a 3rd party reader Summatra PDF :

https://www.sumatrapdfreader.org/free-pdf-reader

Then use runprogram to execute it with it's command line option -print-to-default.

You can see all the command line options here :

https://www.sumatrapdfreader.org/docs/C ... -arguments

It's not ideal but it does work.
Little_man
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Mar 29, 2013 4:55 pm
Location: The Netherland

Re: Printing a PDF-file

Post by Little_man »

Is there no solution (code) in purebasic to print a pdf file?

Little-man
Post Reply