FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Print PDF document
Posts: 392
Joined: Tue Jul 29, 2008 01:55 PM
Print PDF document
Posted: Thu May 29, 2014 02:52 PM

Hello FiveWinners

I have an application that you must print a pdf document generated in advance, without the document is displayed on the screen.

The posters should be done without asking the printer, take the default printer

Someone knows the trick?

regards

Visite Chiapas, el paraiso de México.
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Print PDF document
Posted: Thu May 29, 2014 06:44 PM
Use SumatraPDF.Exe

Code (fw): Select all Collapse
   WinExec( cPath+"sumatra\sumatrapdf.exe -print-to-default -reuse-instance -lang pt "+NamePDF)   //-restrict -fullscreen


Download:

http://blog.kowalczyk.info/software/sum ... er-pt.html

Regards,
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341

Continue the discussion