Skip to main content

For a label generating application I have created a screen on which the user can modify a label, and directly view a preview of the label. The label gets generated in a separate service (accessed via web connection).

The problem is with the pdf display, it is using the default browser pdf viewer, which is not ideal. Some problems I've experienced with it so far are:

  • On edge: the viewer has an editor built in, and on every refresh the displayed pdf becomes smaller (probably to do with the zoom level of the browser). 
  • On brave: the left-side menu is open by default 
  • On chrome: it's not that bad, but it still has much more than I'd like the user to see (download, print, zoom, rotate options). 
Example on chrome

Alternatively I tried displaying the label as a png.

This does remove all the extra functionalities we don't need in the preview, but for some reason I can't print a png using the printers in thinkwise, only pdf, is this really the case?

 

So to summarize, 2 main questions:

  1. Can I display a pdf without all the default preview functions the browser adds?
  2. Can I use a png instead? (for which I need to be able to print it as well).

Here's a screenshot of the full page for a better overview:

Full overview of label preview page

 

Hello ​@jkruter ,

I am fairly certain what the type of previewer that is used to preview a PDF document is determined based on the choice of browser combined with any possible PDF viewing software a user has installed on their own device. So to answer your questions: No I don’t think this is possible at this moment. 

I also wouldn't be able to tell you if there is any easy possibility to allow developers to specify themselves, but you could create an idea for it and then it can be looked into 😊

Kind regards,

Renée


Hi Renee,

Fair enough, I'll post an idea for an alternative pdf viewer.

Do you know if there is already a way to print an image, or anything other than a pdf? It's a little hard to believe this isn't possible yet, but if so, I'll post an idea for that as well

 


Reply