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 - Print with dialog
  FAQ FAQ  Forum Search   Register Register  Login Login

Print with dialog

 Post Reply Post Reply
Author
Message
spinner View Drop Down
Beginner
Beginner
Avatar

Joined: 14 Feb 17
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote spinner Quote  Post ReplyReply Direct Link To This Post Topic: Print with dialog
    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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
spinner View Drop Down
Beginner
Beginner
Avatar

Joined: 14 Feb 17
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote spinner Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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

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