Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
QuickPDF Using Custom Paper Size |
Post Reply |
Author | |
vermillion
Beginner Joined: 15 Oct 15 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 15 Oct 15 at 2:07AM |
Hello,
I have been trying to understand the SetupCustomPrinter method as it relates to custom paper size for some time now. Can someone help? The documentation says this: For custom paper size 0 Uses length and height to specify custom size in tenths or millimetres For paper size: 1 to 68, DMPAPER_XXX (Win32 API DEVMODE data structure) For paper height and width: Size of paper in tenths of millimetres How does it work if I DONT want to use paper size, but I want to do dimensions? I tried this: SetupCustomPrinter(printerName, 0, 1); SetupCustomPrinter(printerName, 2, 10000); SetupCustomPrinter(printerName, 3, 10000); This doesn't work, as the first call to SetupCustomPrinter return 0 indicating invalid setting values. What is the correct way to do this? Thanks, Vermillion |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store