Free Support Forum - groupdocs.com

Viewer issue print landscape

Pls we print a document that has a portrait and landscape pages but when we send to print the dpf document the viewer only print it in portrait there’s a way to print it correct?

Hi there,


Thanks for sharing your issue with us.

Can you please provide us the following details?

  • Version of GroupDocs.Viewer for .NET you are using
  • Problematic document

We shall be looking forward to your response.

Warm Regards

the viewer is 17.2.0 and the document is zipped

Hi there,


Thanks for providing the details.

We are investigating your issue and shall get back to you after getting the results. Please stay tuned.

Warm Regards

Hi there,


Thanks for being patient.

Can you please provide us the code which you are using to render the document at your end? We shall be looking forward to your response.

Warm Regards

I send the code:


<%= Viewer.ClientCode()
.TargetElementSelector("#viewer")
.FilePath(this.Filename)
.ShowDownload(download)
.ShowPrint(print)
.UseHtmlBasedEngine(this.Mode)
.UseInnerThumbnails(false).OpenThumbnails(false)
.SupportPageRotation()
%>


thanks so much

Hi there,


Thanks for your response.

In one your previous posts, you mentioned that you are using v17.2.0, however, the code you shared with us is related to the legacy versions (earlier than 3.0.0) of GroupDocs.Viewer for .NET. Can you please confirm the version of the API again? We shall be looking forward to your response.

Warm Regards