Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Win98 and Printing Custom Paper Sizes
Message
 
To
13/12/2003 12:59:28
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00856403
Message ID:
00859387
Views:
34
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
Map
View

Click here to load this message in the networking platform