PDF with annotations does not print

Discussions about PDF management.
Post Reply
cpradeepa
Posts: 11
Joined: Wed Jun 10, 2015 4:51 pm

PDF with annotations does not print

Post by cpradeepa » Wed Jun 10, 2015 5:01 pm

Hi,

I have a PDF that would print before annotations were added, but doesn't after. When trying to print, I get the message "The document could not be printed" and then "There were no pages selected to print.".

I am attaching the document. Can you tell me what the issue is?

Thanks!
Pradeepa.
Attachments
Does not print.zip
(79.54 KiB) Downloaded 313 times

Romain
Posts: 15
Joined: Wed Jun 03, 2015 4:12 pm

Re: PDF with annotations does not print

Post by Romain » Wed Jun 10, 2015 5:36 pm

Hello Pradeepa

Could you send us the source code you use to print this document ?
Thank you

cpradeepa
Posts: 11
Joined: Wed Jun 10, 2015 4:51 pm

Re: PDF with annotations does not print

Post by cpradeepa » Wed Jun 10, 2015 5:45 pm

We see this issue when we try to print from Adobe.

Romain
Posts: 15
Joined: Wed Jun 03, 2015 4:12 pm

Re: PDF with annotations does not print

Post by Romain » Thu Jun 11, 2015 10:39 am

Do you create this PDF with GdPicture ?

cpradeepa
Posts: 11
Joined: Wed Jun 10, 2015 4:51 pm

Re: PDF with annotations does not print

Post by cpradeepa » Thu Jun 11, 2015 8:06 pm

No, the PDF comes from Crystal Reports.

Romain
Posts: 15
Joined: Wed Jun 03, 2015 4:12 pm

Re: PDF with annotations does not print

Post by Romain » Mon Jun 15, 2015 4:24 pm

Sorry but we provide support only on GdPicture products.

cpradeepa
Posts: 11
Joined: Wed Jun 10, 2015 4:51 pm

Re: PDF with annotations does not print

Post by cpradeepa » Mon Jun 15, 2015 4:56 pm

Ok, sorry, I should have been more clear. The PDF is generated by CrystalReports and it prints fine. It's only after we add annotations using GDPicture, we are having issues with printing.
Will you be able to look at the attached PDF and see why the annotations are causing issues with this PDF?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: PDF with annotations does not print

Post by Loïc » Mon Jun 15, 2015 5:26 pm

Hello Pradeepa,

Could you attach the input document? (without annotation).

Kind regards,

Loïc

cpradeepa
Posts: 11
Joined: Wed Jun 10, 2015 4:51 pm

Re: PDF with annotations does not print

Post by cpradeepa » Mon Jun 15, 2015 6:34 pm

Attached is the document without annotations.

Thank you!
Attachments
WillPrint.zip
(39.23 KiB) Downloaded 326 times

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: PDF with annotations does not print

Post by Loïc » Tue Jun 16, 2015 10:54 am

Hello,

We are not able to reproduce the problem starting with this latest PDF. Could you tell me exactly how we need to add annotations and save the modified document to obtain the printing issue?

Kind regards,

Loïc

cpradeepa
Posts: 11
Joined: Wed Jun 10, 2015 4:51 pm

Re: PDF with annotations does not print

Post by cpradeepa » Tue Jun 16, 2015 3:34 pm

Unfortunately, it is not very consistent. But once we run into this issue, removing all annotations does not make the file printable. I was hoping you would be able to look at the PDF and know what the issue is.

Here's how we add annotations:
_viewer.AddPolygonAnnotInteractive(DefaultToolBorderColor, DefaultToolBorderWidth, DefaultToolBackColor, DefaultToolOpacity);
_viewer.AddFreeHandAnnotInteractive(DefaultToolBorderColor, DefaultToolBorderWidth, LineCap.Flat, LineCap.Flat, DefaultToolOpacity);
...

Here's how we save the annotations to PDF
_viewer.SaveDocumentToPDF(stream);

Thank you!

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: PDF with annotations does not print

Post by Loïc » Tue Jun 16, 2015 3:42 pm

Hi again,

OK we've identified the cause of the problem. The next release that will be published next week will fix that.

Thank you for this report!

With best regards,

Loïc

cpradeepa
Posts: 11
Joined: Wed Jun 10, 2015 4:51 pm

Re: PDF with annotations does not print

Post by cpradeepa » Tue Jun 16, 2015 3:43 pm

That's wonderful news! Thank you very much!

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: PDF with annotations does not print

Post by Loïc » Tue Jun 16, 2015 3:47 pm

You're very welcome Pradeepa!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests