Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Looking for printing ideas
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Database:
Visual FoxPro
Divers
Thread ID:
00984763
Message ID:
00984914
Vues:
18
>Thanks
>
>The Hdc needs to be to the printer.

You can get the printer HDC this way.
Declare Integer CreateDC in Win32API ;
	String lpszDriver, ;
	String lpszDevice, ;
	String lpszOutput, ;
	String lpInitData
lcPrinterName = GetPrinter()
lnPrinterHDC = CreateDC("WINSPOOL",m.lcPrinterName,null,null)
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform