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 - Can't render a text only pdf created w/ghostscript
  FAQ FAQ  Forum Search   Register Register  Login Login

Can't render a text only pdf created w/ghostscript

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

Joined: 01 Aug 11
Location: CT
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote hrdyr00 Quote  Post ReplyReply Direct Link To This Post Topic: Can't render a text only pdf created w/ghostscript
    Posted: 13 Jun 13 at 2:13PM
Howdy,

I am using the sample code from the Knowledge Base article, "Programmatically render PDF files in Windows Forms with .Net and C# to view pdfs in a windows form app. Pdfs that were created via scanning are rendered as expected. However, some of our pdfs are text reports that were printed to a windows printer driver that uses Redmon to essentially pipe the text stream into ghostscript to produce the pdf. The resulting image produced by RenderPageToDC for these types of pdf files is always blank. RenderPageToDC returns a success exit code. I am using v8.16 x64 of the quickpdf library. I suspect that RenderPageToDC only works on the image of a page and ignores the text. If true, maybe what I need to do is somehow convert the text to an image.
Thanks for your help.
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: 14 Jun 13 at 2:55AM
You may need to send us the PDF file as it could be crashing halfway through the rendering process.  There are many malformed PDF files in the wild that will even crash Acrobat.

Please create a support ticket at 


Andrew.

Back to Top
hrdyr00 View Drop Down
Beginner
Beginner
Avatar

Joined: 01 Aug 11
Location: CT
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote hrdyr00 Quote  Post ReplyReply Direct Link To This Post Posted: 17 Jun 13 at 7:10PM
Thanks for your help. I just created a support ticket.
Ray
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 Jun 13 at 4:36AM
Ray,

The problem was related to a 64 bit zlib compression bug in QPL that has now been fixed and the PDF is rendering with 9.15 beta 3 due to be released soon.

Andrew.
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