Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer API Question - Pages per sheet

Status
Not open for further replies.

realshyfox

Programmer
Apr 9, 2009
7
ES
Is it posible to change programaticaly the number of pages per sheet through DEVMODE struct or there is another function (struct)?
The target OS is Wind XP and/or Wind 2003.
Thank you
 
Since not all printers have this capability, it's likely that it would be a property of the specific printer driver, rather than a Windows API function.

If so, there should be a registry entry that contains the relevant setting. You could try looking in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\<specific printer>.

Failing that, perhaps you should post your question in a forum for the specific printer, since it's not really a Fox issue.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips, training, consultancy
 
One of Cathy Pountney's sessions at 2009 (I think?) SWFox dealt with this in a really breathtakingly good and thorough way. If you have access to those whitepapers it would be worth a read either way as you work with printer issues.

I believe she hangs out on the Universal Thread, or I know she's @Frontier2000 on Twitter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top