Free Support Forum - groupdocs.com

Cannot print a PDF downloaded with the GroupDocs.Viewer


#1

Hello,

When I download a PDF document with the Viewer, it is downloaded in protected mode, so I can’t print it.

Can you reproduce that? See attach.

Thank you.

Alexis.


#2

Hello Alexis,


We are sorry to hear that you have such issue. We have tried to reproduce the issue but we can’t, all works fine for us. Since that could you please provide more info about the issue, we need to know your project configurations and what you mean under " it is downloaded in protected mode", please describe how do you save it in protected mode.

The GroupDocs.Viewer doesn’t change the document and it’s properties, when you download the document via Viewer it will be downloaded as it is (100% same as original document).

Also do you tried to open downloaded document in the another pdf viewer, for example Foxit Reader?

Thank you.

#3

Hello Pavel, thanks for your answer.


About the project configurations, what do you need to know?

About the protected mode, you can see in the top toolbar that it’s says the name of de document and “Protegido” that means "Protected.

I have tried with the Foxit Reader, but without success (see attach)

Thank you.

Alexis.




#4

Hello Alexis,


Thank you for coming back. About your project we need to know next:
1. Type of the project - MVC, Web Formc etc.
2. Configuration of the GroupDocs.Viewer - widget code
3. If possible original document example
4. Do you use default downloading functional of the Viewer (this button) or you use custom code for it - if you use custom code please share it.

Thank you.

#5

Hello Pavel, below the answers:


  1. Web Forms.
  2. Sent via mail.
  3. Happends with all pdf.
  4. Default downloading function.

Thank you.

#6

Hello Alexis,


Thank you for the example. Could you please also share with us beck-end (VisorGroupDocs.aspx.vb) file that we can use 100% same functional as you do and reproduce the issue. We definitely can create it but as you know there is allot of variants to achieve same goal and we not sure that we will use same approach as you do.

Also when you faced with the issue do you run the project with VisualStudio or with IIS and do you use SSL conection?

Thank you.

#7

Sent via mail.


#8

Hello,


Sorry but we don’t receive any email from you. Could you please send it again. Or you can upload the file to the cloud storage (DropBox Google Drive etc.) and share link for it here.

Thank you.

#9

Can you check if you have received it?


Thanks.

#10

Hello Alexis,


Thank you for the code-behind example. We have checked it and all looks ok (the part which is on english, the part where you use non english words is hard to understand this part). Also from your code we can assume that your project uses HTTPS protocol and we have checked the document downloading from such protocol and all works fine for us. Could be that the issue reason is somewhere else could be in the IIS configuration or in the OS configuration (could be that the printing functional is disabled).

Can you print the original document (not downloaded from the Viewer) or another documents images etc. which where never used with the Viewer?

As we said earlier the GroupDocs.Viewer doesn’t change the document or it’s properties. Since that we can fully investigate the issue and found out it’s reason if you will prepare and share project example and full description for the use-case (from the code example we assumed that you get documents streams from the GET parameters in the URL).

Also please check that you can print another documents at all - for example create brand new word document and try to print it.

Thank you.