Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default printer name
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00616962
Message ID:
00617270
Vues:
25
You undesand me right. I try to use those command in DLL in order to get Printer DC & I get error message - 'Unexpected error ...' (I do not undestand why) So I try to find another way doing this. Here is the code that I use:

DECLARE INTEGER CreateDC IN Win32API AS CreatePrinterDC STRING, STRING, STRING, STRING

---> Here I got error
lcPrinter = SET('PRINTER', 3)
---> Here I got error

*lcPrinter = SYS(2001,'PRINTER', 3)

IF !EMPTY(lcPrinter)
lhDC = INT(CreatePrinterDC('WINSPOOL', lcPrinter, NULL, NULL))
ENDIF
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform