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 - Printing a PDF page inside another document
  FAQ FAQ  Forum Search   Register Register  Login Login

Printing a PDF page inside another document

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

Joined: 19 Sep 11
Location: Mason, OH
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote bmcdonald Quote  Post ReplyReply Direct Link To This Post Topic: Printing a PDF page inside another document
    Posted: 19 Sep 11 at 6:33PM
Hello,
 
I am currently trying to render a PDF page inside of another document that will be printed. The calling code passes in a printer hdc and settings of top, left, right, and bottom that represent the rectangle on the source docuemnt the PDF page needs to be rendered into. I have no control over the calling coding. All I have to work with is the rectangle settings and the printer's device context. Has anyone done this before or something similar?
 
Thanks in advance for any help you can provide.
 


Edited by bmcdonald - 19 Sep 11 at 6:34PM
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 20 Sep 11 at 4:24PM

QP.RenderPageToDC is probably the function you are looking for.


You may need to use some of the Win32 API calls that deal with HDC's.
Back to Top
bmcdonald View Drop Down
Beginner
Beginner
Avatar

Joined: 19 Sep 11
Location: Mason, OH
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote bmcdonald Quote  Post ReplyReply Direct Link To This Post Posted: 22 Sep 11 at 4:33PM
That is what I was thinking. I will probably have to use BitBlt to render to the rectable inside the HDC.
 
Thanks
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