Problem with setting the page size

About the programming interface for the virtual PDF printer driver.

Moderator: jr

Problem with setting the page size

Postby aka_Falsh » Wed Jan 30, 2013 5:39 pm

I am trying to print the document to PDF using the PDF API. I am using GDI for printing. Maximum page size I can set is 129 inch because of GDI restrictions. The parameter dmPaperSize from DEVMODE structure is type of short with maximum value 32000, that equals 129inch. However when I am trying to print the document by hands (File->Print) and set the maximum page size there. As a result it gives me 1000 inch page size. What should I do to make 1000 inch size programaticaly?
aka_Falsh
 
Posts: 2
Joined: Wed Jan 30, 2013 5:26 pm

Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron