Howto print pdf document (PurePDF)

Just starting out? Need help? Post your questions and find answers here.
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Howto print pdf document (PurePDF)

Post by MachineCode »

swan wrote:Thanx, but the problem is both/either have to be installed on the host machine, hence the need for a standalone solution.
SumatraPDF is free and open-source, and supports printing from the commandline:

http://code.google.com/p/sumatrapdf/wik ... eArguments

So, embed it in your exe, extract it at runtime to a temp system folder, print your PDFs with it, and delete the temp exe after.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
karu
Enthusiast
Enthusiast
Posts: 255
Joined: Fri Jan 13, 2006 12:14 am

Re: Howto print pdf document (PurePDF)

Post by karu »

Wood51 wrote:Hello , first excuse me for my bad english .
In your code you "draw" the pdf , why not draw an image, print image and create the pdf with this image ?
Perhaps ?
Hi, i need two identical documents, one pdf and second printed document. If i create image in memory and copy this image to pdf, the text in document is will not be selectable ,but must be. If i create printable image in memory and width same parameters pdf document width pure pdf, the pdf and printable document will not be identical. This is the reason why i want create only pdf and print it.
Post Reply