Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a hDC from a PDF Printer Instance
Message
 
To
27/10/2009 10:21:47
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01431655
Message ID:
01431710
Views:
102
>My VFP app runs this code:
>
>objPDFControl = CREATEOBJECT("PXCComLib.CPXCControlEx")
>objPrinter = objPDFControl.Printer("","PDF-XChange 4.0","DevKey","DevCode")
>
>objPrinter.ResetDefaults()
>objPrinter.Option("Save.SaveType") = 1
>objPrinter.Option("Save.ShowSaveDialog") = "No"
>objPrinter.Option("Save.WhenExists") = "1"
>objPrinter.Option("Save.File") = lcPDFFileName
>
>My question is, how can I get a hDC to the objPrinter object?
>Any help appreciated.
>
>(PDF-XChange PRO SDK V4.0)
DECLARE INTEGER CreateDC IN gdi32;
	STRING lpszDriver, STRING lpszDevice,;
	INTEGER lpszOutput, INTEGER lpInitData
hdc = CreateDC (Null, "EPSON Stylus COLOR 660", 0, 0)
Previous
Reply
Map
View

Click here to load this message in the networking platform