General information
Category:
Windows API functions
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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only