Change paper width and length using DocumentProperties not working
Change paper width and length using DocumentProperties not working
We are trying to upgrade our use of novaPDF from 7 to the latest. We use the DocumentProperties call to change the dmPaperWidth and dmPaperLength. It’s returning a result/return code 1 (OK), but then when I check the printer’s settings in the structure it returns, the values didn’t change as requested (and the PDF that is output does not have the correct dimensions). It also fails to change the dmPaperSize value, but it *DOES* change the dmOrientation (our change flags are DM_PAPERSIZE|DM_ORIENTATION|DM_PAPERLENGTH|DM_PAPERWIDTH;).
When I go back to using novaPDF 7, it works correctly: DocumentProperties changes all 4 values, and the output is correct.
Additional information:
Tried on multiple Windows 7 and Windows 10 (both 64 bit) systems. Same results. NovaPDF 7 works correctly on those same systems.
Application is 32 bit.
Tried starting the program with "run as administrator". Same results.
When I go back to using novaPDF 7, it works correctly: DocumentProperties changes all 4 values, and the output is correct.
Additional information:
Tried on multiple Windows 7 and Windows 10 (both 64 bit) systems. Same results. NovaPDF 7 works correctly on those same systems.
Application is 32 bit.
Tried starting the program with "run as administrator". Same results.
-
- Posts: 177
- Joined: Wed Dec 16, 2009 10:48 am
Re: Change paper width and length using DocumentProperties not working
Please email us at [email protected] as we'll need more details.