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!
![]() |
custom printing options |
Post Reply
|
| Author | |
priya
Beginner
Joined: 22 Apr 14 Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: custom printing optionsPosted: 06 May 14 at 9:57AM |
|
Hi,
I need to set custom print options for printing. I can see that I can do this using SetupCustomPrinter function. But I can't find any documentation saying what values to be set for what option. Where should I look? I need the full set of values. A quick reply appreciated. Thanks, Priya |
|
![]() |
|
mLipok
Senior Member
Joined: 23 Apr 14 Location: Poland, Zabrze Status: Offline Points: 453 |
Post Options
Thanks(0)
Quote Reply
Posted: 06 May 14 at 8:29PM |
|
did you read this:
http://www.debenu.com/docs/pdf_library_reference/SetupCustomPrinter.php edit: and check Debenu Quick PDF Library 10.14 Dashboard (3.10) in "Rendering and printing" there is "Custom PDF printing" example. there is this one example: // Welcome to Debenu Quick PDF Library Engine // ------------------------------- // Use 'QP' to access the Debenu Quick PDF Library object // Use MsgBox(string text) to display a popup dialog // Use Preview.OpenFromFile(string filename) to load a PDF in the Preview PDF tab // Use DisplayPDFReader(string filename) to display a PDF in the default PDF reader // Use GetOutputFolder() to access the default output folder // Use GetInputFolder() to access the default input folder // ------------------------------- /* Create a custom printer and specify your own settings */ // Load a sample file from the input folder QP.LoadFromFile(GetInputFolder() + "JavaScript.pdf", ""); // Create the custom printer CustomPrinter = QP.NewCustomPrinter("Microsoft XPS Document Writer"); // Setup the settings for the customer printer // Medium quality QP.SetupCustomPrinter(CustomPrinter, 5, 2); // Monochrome QP.SetupCustomPrinter(CustomPrinter, 6, 1); // Horizontal Duplex QP.SetupCustomPrinter(CustomPrinter, 7, 3); // Configure print options iPrintOptions = QP.PrintOptions(0, 0, "Printing Sample"); // Print the current document to the default printing // using the options as configured above QP.PrintDocument(CustomPrinter, 1, 1, iPrintOptions); Edited by mLipok - 06 May 14 at 8:39PM |
|
![]() |
|
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