Printing 2 Pages Per Sheet
-
I need to print 2 pages per sheet in my application without showing any type of print dialogs. It also needs to work in Windows 98, 2000, XP. I am using a proprietary set of API's and I need to send a PRINTDLG object to this API's print function. What this program does is print charts in some proprietary format(I have limited ability to manipulate these charts), and i want to print two charts on one sheet of paper. I can print a chart easily on a half of the page, but how would I print 2 on a sheet? I cannot combine the charts into one either. I know that on this 98 machine, I can go to Print/Properties and select the "finishing" tab to print multiple per page. Is there a way to set this in my program? Also, is this something that Windows 98 allows me to do, or is it something that this particular print driver allows me to do? I searched through the articles and checked out the Printing Section, but to no avail. Can anyone answer some/all of my questions? Thanks Kevin Shaffer kshaff03@msn.com
-
I need to print 2 pages per sheet in my application without showing any type of print dialogs. It also needs to work in Windows 98, 2000, XP. I am using a proprietary set of API's and I need to send a PRINTDLG object to this API's print function. What this program does is print charts in some proprietary format(I have limited ability to manipulate these charts), and i want to print two charts on one sheet of paper. I can print a chart easily on a half of the page, but how would I print 2 on a sheet? I cannot combine the charts into one either. I know that on this 98 machine, I can go to Print/Properties and select the "finishing" tab to print multiple per page. Is there a way to set this in my program? Also, is this something that Windows 98 allows me to do, or is it something that this particular print driver allows me to do? I searched through the articles and checked out the Printing Section, but to no avail. Can anyone answer some/all of my questions? Thanks Kevin Shaffer kshaff03@msn.com
Printer driver only. Many HP printers, for example, do n-up printing like this. Anything you do is therefore printer specific. The DEVMODE data is what's saying do two pages per sheet. If it was me, and I really HAD to do this, I'd get the default DEVMODE block, then get a block which does 2-up, and compare the two. Hopefully, dmDriverExtra would be the same value in both cases. However, you have to then dump the bytes from the end of the DEVMODE (hint: dmSize) and examine them 'by hand'. Hope this helps. Steve S