Print Page | Close Window

Multiple copies on printer

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=276
Printed Date: 22 Nov 24 at 7:33PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Multiple copies on printer
Posted By: lapinig
Subject: Multiple copies on printer
Date Posted: 20 Jan 06 at 6:25AM
There is a method to print multiple copies of the same page on the printer?
I send a page to printer with the command oPdf.PrintDocument etc. etc. include in for-next cycle (Visual Basic). The page is rendered 'n' times and sended 'n' times to the printer.
There is an alternate method?

gualtiero



Replies:
Posted By: Ingo
Date Posted: 20 Jan 06 at 6:39AM
Hi!

Sorry. I think it's better (for a quick answer) to post this at "i need help..." ;-)

Bets regards,
Ingo


Posted By: JanN
Date Posted: 20 Jan 06 at 8:13AM
Try these functions:


cp: string;
[...]
cp := oPdf.NewCustomPrinter(>YourWindowsPrinter<);
oPdf.SetupCustomerPrinter(cp, 4, 2); // choose 2 copies
oPdf.PrintDocument(cp, 1, oPdf.PageCount, PrintOptions);


A little bit of Delphi. But I think it is easy to port to VB.


Posted By: lapinig
Date Posted: 22 Jan 06 at 8:53AM
OK i've translate to VB and works fine.

Thanks to JanN


To Ingo.
Sorry i've posted in a wrong place.
thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk