Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement