Print Page | Close Window

Print with dialog

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3443
Printed Date: 28 Apr 24 at 4:22PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Print with dialog
Posted By: spinner
Subject: Print with dialog
Date Posted: 06 Mar 17 at 2:30PM
Hi all,

we need to print pdf with some special printer setup. Is there any way how to print with a printer dialog from library? I found there is a function PrintDocumentToPrinterObject. We wanted to try some printing but in library version 13.11 this function is not available. Is this function available only with a delphi source code license? We use Delphi XE8.

Thanks, Jan



Replies:
Posted By: Ingo
Date Posted: 07 Mar 17 at 7:08PM
Hi Jan,

with these functions and few more (in the online reference at chapter "...rendering...") you can design your own printer dialogue.
I have the functions from the 13.11-source:
    function PrintDocumentToPrinterObject(APrinter: TPrinter; StartPage, EndPage, Options: Integer): Integer;
    function PrintPagesToPrinterObject(APrinter: TPrinter; const PageRanges: WideString; Options: Integer): Integer;
    function PrintOptions(PageScaling, AutoRotateCenter: Integer; const Title: WideString): Integer;
    function PrintMode(Mode: Integer): Integer;
    function GetPrintPreviewBitmapToString(const PrinterName: WideString; PreviewPage, PrintOptions, MaxDimension, PreviewOptions: Integer): AnsiString;
    function NewCustomPrinter(const OriginalPrinterName: WideString): WideString;
    function SetupCustomPrinter(const CustomPrinterName: WideString; Setting, NewValue: Integer): Integer;
    function RequestPrinterStatus(StatusCommand: Integer): Integer;
    function NewInternalPrinterObject(Options: Integer): Integer;

Cheers and welcome here,
Ingo


-------------
Cheers,
Ingo



Posted By: spinner
Date Posted: 13 Mar 17 at 9:28AM
Hi Ingo,

is there a way how we can try this functionality (PrintDocumentToPrinterObject) with a trial dll version 13.11 before we buy a source code licence? Just to verify if it solves some printing problems we had with our previous pdf component...

Thanks,
Jan


Posted By: Ingo
Date Posted: 13 Mar 17 at 7:20PM
Hi Jan,

here you can ask for a 30-days-trial-version with a testkey included:
http://www.foxitsdk.com/products/quick-pdf-library/request-trial/



-------------
Cheers,
Ingo




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