FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour From Fivewin program I have to print a Pdf
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
From Fivewin program I have to print a Pdf
Posted: Wed Sep 04, 2013 08:56 AM
Hi,
I have to print a two pages Pdf file directly from a Fivewin application.
In Duplex mode
This little program does not work
It prints but not in duplex mode
Any Hints?

Code (fw): Select all Collapse
#include "fivewin.ch"

FUNCTION MAIN()

SETPRINTDEFAULT( "MYPRINTER")

PRNDUPLEX()

shellexecute( "0 , "print" , "c:\myfiles\myfile.pdf" ) 

RETURN NIL
Marco Boschi
info@marcoboschi.it

Continue the discussion