Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

What types of files can be printed with Box Ui Elements

New post

Comments

6 comments

  • Jason

    Hey ,

     

    Would you be able to share an example via CodePen? Here's all of ours:

    https://codepen.io/box-platform/pens/tags/?grid_type=list&selected_tag=example

     

    And you can see our Content Preview example (w/ print) here:

    https://codepen.io/box-platform/pen/rmZdjm

     

    By comparing your example and ours, hopefully we can find the difference! If you find it on your own, let us know!

     

    Thanks,

    Jason

    0
    Comment actions Permalink
  • AlexKos

    Thank you for reply. When i click to print button in your example, file had downloaded, but not printed. So I ask: pdf files cannot be printed with Box?

    0
    Comment actions Permalink
  • thiswilliam

    Interested to hear box's reply on this as I am also seeing issues with the print function. Testing the codepen examples confirms it's a problem on box's end.

    0
    Comment actions Permalink
  • jpress

    Hi  ,

     

    In what browsers are you seeing this issue? The expected behavior is for the PDF to be opened in a new tab, prompting the native browser print functionality. Unfortunately, the fact that codepen wraps our example in an iframe prevents it from grabbing the actual PDF content to print, so the example attempts to print a blank page. However, I am seeing the print dialog in codepen, and I've confirmed the correct behavior in other instances of the UI Element (e.g. our first party application which uses the same component).

     

    Screen Shot 2019-04-11 at 9.13.43 AM.png

    0
    Comment actions Permalink
  • thiswilliam

    Thanks for the quick reply. Turns out adblock is the culprit.

    0
    Comment actions Permalink
  • thiswilliam

    Reopening this again as the screenshot you shared above is now what I am seeing all of the time within our app and I can also confirm it does not work within the box admin environment either.

    0
    Comment actions Permalink

Please sign in to leave a comment.