Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Win98 and Printing Custom Paper Sizes
Message
 
À
13/12/2003 12:59:28
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00856403
Message ID:
00859387
Vues:
33
Well the api that I use use DocumentProperties and PrinterProperties...

.... or the VFP report writer overrights what we are trying to do

if you open the .frx file (actually this is a table) and browse
it, on the first record, take a look on those field (expr, tag, tag2)
you will see what must be set.
you must ..
1. reset the expr file
2. set the tag with printerproperties devmode struc
3. set the tag2 with documentproperties devmode struc

does 3 steps are important


DECLARE INTEGER DocumentProperties IN winspool.drv;
INTEGER hWnd, INTEGER hPrinter, STRING pDeviceName,;
STRING @pDevModeOutput, STRING pDevModeInput, INTEGER fMode
*output (reference) *input

What I did, I use the Prompt (fmode) and get
the devmode. Saved in a table and replace as
needed.


Hope that can help you.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform