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!
Need help with custom printer |
Post Reply |
Author | |
mac32bit
Beginner Joined: 29 Jun 07 Status: Offline Points: 6 |
Post Options
Thanks(0)
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
|
|
mac32bit
Beginner Joined: 29 Jun 07 Status: Offline Points: 6 |
Post Options
Thanks(0)
|
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
|
|
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