Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting Printer Properties Beta Testers Needed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01050441
Message ID:
01052244
Vues:
10
>Tracy,
>
>I've noted the section below from the code you posted earlier.
>
>QQbinBfr = REPLICATE(CHR(0), 16384)
>QQbinBf2 = REPLICATE(CHR(0), 1024)
>QQnCount = DeviceCapabilities(QQprintername, pPort, DC_BINNAMES, @QQbinBfr, 0)
>QQnCnt2 = DeviceCapabilities(QQprintername, pPort, DC_BINS, @QQbinBf2, 0)
>

>In this code, you are also using strings lengths of 1024 and 16384 for the output buffer size you're sending to DeviceCapabilities. Do you have any idea where these numbers came from? That's the missing piece to the puzzle that I need to make my code more useful.
>

You can ignore this, Tracy. I think I've got it figured out. Based on the output buffer sizes specified in this document: http://webster.cs.ucr.edu/Page_win32/GDIRef.pdf I know what to use. I've done some initial testing and it seems to work.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform