Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printer paper size
Message
 
 
To
17/06/2008 06:25:53
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01324639
Message ID:
01324646
Views:
13
>How can I determine settings for printer paper size such as paper form name, paper size (in cm), left and right margins, numbers of rows and columns (I want to print with for example @prow()+1 ...)? Custom paper size is also important.

For printer margins see http://www.berezniker.com/content/pages/visual-foxpro/determine-printer-margins-programmatically. For the rest you'll have to get DEVMODE structure for the printer. See Re: DocumentProperties anyone? Thread #1010251 Message #1011495, for example.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform