Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Winspool.drv DocumentProperties
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00968160
Message ID:
00969789
Views:
71
This code works for me:
#DEFINE DM_OUT_BUFFER 2
#DEFINE DM_IN_BUFFER  8
#DEFINE DM_IN_PROMPT  4

DECLARE INTEGER DocumentProperties IN winspool.drv;
	INTEGER hWnd, INTEGER hPrinter, STRING pDeviceName,;
	STRING @pDevModeOutput, STRING @pDevModeInput, INTEGER fMode
...
= DocumentProperties(hWindow, hPrinter, cPrinter,;
	@cDevmode, @cDevmode,;
	DM_IN_PROMPT+DM_IN_BUFFER+DM_OUT_BUFFER)
Previous
Reply
Map
View

Click here to load this message in the networking platform