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 - Need help with custom printer
  FAQ FAQ  Forum Search   Register Register  Login Login

Need help with custom printer

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


Joined: 29 Jun 07
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote mac32bit Quote  Post ReplyReply Direct Link To This Post Topic: Need help with custom printer
    Posted: 01 Jul 07 at 2:06PM
Hi all,
 
My printer can print both A4 and A3, the defualt is A4. How can I select to print on A3 paper I am guessing I need to use a custom printer something like:
 
 
    MyPrinter := QP.NewCustomPrinter(QP.GetDefaultPrinterName());
 
// NOT SURE WHAT TO DO HERE
    QP.SetupCustomPrinter(MyPrinter,1,????); 
// NOT SURE WHAT TO DO HERE

    QP.PrintDocument(MyPrinter, 1, MyPageCount, MyOptions);
 
Has anyone done this before who could help out.
 
Many thanks in advance.
 
Mac
Back to Top
mac32bit View Drop Down
Beginner
Beginner


Joined: 29 Jun 07
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote mac32bit Quote  Post ReplyReply Direct Link To This Post Posted: 02 Jul 07 at 11:54AM
Hi
 
Thought others might like to know that I found the answer in windows.pas.
 
DMPAPER_A3      = 8;      // A3 297 x 420 mm
DMPAPER_A4      = 9;      // A4 210 x 297 mm
 
QP.SetupCustomPrinter(MyPrinter,1,8); 
 
Thanks
 
Mac
 
 
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