Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a hDC from a PDF Printer Instance
Message
 
À
27/10/2009 10:21:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
01431655
Message ID:
01431710
Vues:
103
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform