Page 2 of 2

Re: Howto print pdf document (PurePDF)

Posted: Thu Sep 27, 2012 9:11 am
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.

Re: Howto print pdf document (PurePDF)

Posted: Fri Oct 05, 2012 6:55 pm
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.