Message
From
17/06/2008 07:04:18
Sergey Berezniker
New York
,
United States
To
17/06/2008 06:25:53
Zoran Rajovic
Ed Pancevo
Pancevo
,
Serbia
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Re:
Printer paper size
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:
14
>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 the map of this thread
View the map of this thread starting from this message only
View
View all messages of this thread
View all messages of this thread starting from this message only