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!
![]() |
Emulating A Printer |
Post Reply ![]() |
Author | |
BirdGuy66 ![]() Beginner ![]() ![]() Joined: 29 Jul 13 Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 13 Sep 13 at 6:42PM |
Hi,
I'm adding the ability to an application to output reports to PDF. Current that application only outputs to a printer using to standard GDI functions. To implement this, I've changed the printing code to create wrappers for the GDI Print API functions StartDoc, EndDoc, StartPage, EndPage. When printing to a to printer, the wrappers behave as expected but when outputting to a PDF file, they call QuickPDF library functions. The document is created but with only the first page. Here is the sequences of QuickPDF calls:
I should note that the call to NewPageFromCanvasDC fails which leads me to believe this is the wrong sequence of functions or that I'm missing some function calls to do what I need to do. Any ideas? Thanks, - Rich |
|
![]() |
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