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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - QuickPDF Using Custom Paper Size
  FAQ FAQ  Forum Search   Register Register  Login Login

QuickPDF Using Custom Paper Size

 Post Reply Post Reply
Author
Message
vermillion View Drop Down
Beginner
Beginner


Joined: 15 Oct 15
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote vermillion Quote  Post ReplyReply Direct Link To This Post Topic: QuickPDF Using Custom Paper Size
    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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store