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!
Where is Document Title when using PrintOptions |
Post Reply |
Author | |
Carneno
Team Player Joined: 19 Apr 11 Status: Offline Points: 24 |
Post Options
Thanks(0)
Posted: 19 Apr 11 at 7:03PM |
Hello,
I'm developing a VB 6.0 printing program using QuickPDF Library 7.24.
I'm trying to understand the PrintDucument sub routine from this post: http://www.quickpdf.org/forum/propper-usage-of-quickpdf-in-visual-basic-6_topic595.html
If the PrintDocument function suggests using the PrintOptions function to get the options parameter and the PrintOptions function asks for a Document Title as a parameter, where is the Document Title for a newly created document?
How do I get the Document Title of a document after I just made the connection to QuickPDF and did not create a NewPage?
In that post, where does "PDF output" come from?
Any help would be gratefully appreciated.
Thanks,
Tony Edited by Carneno - 20 Apr 11 at 12:54AM |
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Hi Tony!
I THINK that document title while printing is the title you can see if you're opening your printer to see what are the current jobs running. The "other" document title you're asking for (...after connection to QuickPDF...) is an attribute which COULD be maintained for the document. These attributes are title, author, creator, subject, and so on. These attributes can be empty, too. It's not a must to put something in. All pdf-output comes from (inside) QuickPDF. There's no need to install any pdf-reader. Right after your (...connection to QuickPDF...) you won't see any attributes (where should they come from?). You have to load a file first ... try QP := TQuickPDF0723.Create; try QP.UnlockKey('MyKey'); fexist := QP.LoadFromFile(FName); // . . . finally QP.Free; end; Cheers and welcome here, Ingo BTW: It should be a must to read the online reference: http://www.quickpdflibrary.com/help/quickpdf/FunctionGroups.php There you can find samples and another knowledgebase, too. |
|
Carneno
Team Player Joined: 19 Apr 11 Status: Offline Points: 24 |
Post Options
Thanks(0)
|
Hello Ingo.
Thanks for your reply.
I'm still unsure about this.
If I want to do this:
' Print document
Printeroptions = QP.PrintOptions(0, 0, "PDF output") PrintResult = QP.PrintDocument(PrintDevice, 1, QP.PageCount, Printeroptions) and i have not loaded a document, I just want to print the document I created and added pages to, then where would I get "title of document" to put into the PrintOptions function?
Thanks,
Tony Edited by Carneno - 20 Apr 11 at 1:10AM |
|
Stop The World, I want To Get Off.
|
|
Carneno
Team Player Joined: 19 Apr 11 Status: Offline Points: 24 |
Post Options
Thanks(0)
|
Well, my printing works, but i just don't understand how to use the PrinterOptions function. What it does and how you get the title of the document.
Is there some kind of QuickPDF manual that explains those kinds of things?
Any help would be gratefully appreciated.
Thanks,
Tony
|
|
Stop The World, I want To Get Off.
|
|
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
|
Try the online reference.
As title in printoptions you can use whatever you want. Cheers, Ingo |
|
Carneno
Team Player Joined: 19 Apr 11 Status: Offline Points: 24 |
Post Options
Thanks(0)
|
I'm sorry Ingo. My skills at interpreting reference material is not what it should be.
I did not see that it was simply a name that you could give to your print job.
Thanks again for all of your help and support with these problems that I am having.
Tony
|
|
Stop The World, I want To Get Off.
|
|
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