About the programming interface for the virtual PDF printer driver.
1 post • Page 1 of 1
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?