Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing pdf to specific printer
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01665681
Message ID:
01665686
Views:
72
Likes (1)
>Hi there,
>
>is there a way to set a printer in vfp (set printer to, not changing the default printer)
>and then print a pdf-file? Or do I have to change the default-printer and reset it after ürinting the pdf?
>
>Best regards
>
>Thomas

it looks like this:

ShellExecute( _SCREEN.HWnd , [printto] , lcFile , ["] + lcPrinter + ["] , [] , 0 )

It does not work for printing to PDF Creator printer driver, but all other printers works for us.
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform