Change paper width and length using DocumentProperties not working

Post here any questions/suggestions you have about novaPDF SDK or novaPDF OEM.
Post Reply
sniles
Posts: 4
Joined: Tue Feb 11, 2014 1:36 am

Change paper width and length using DocumentProperties not working

Post by sniles »

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.

Lorant (Softland)
Posts: 177
Joined: Wed Dec 16, 2009 10:48 am

Re: Change paper width and length using DocumentProperties not working

Post by Lorant (Softland) »

Please email us at [email protected] as we'll need more details.

Post Reply