joseluisq / printd

Print HTML elements or pages in modern browsers.
MIT License
80 stars 5 forks source link

printURL does not work? #23

Open paulwer opened 1 year ago

paulwer commented 1 year ago

Expected Behavior

open print dialog

Actual Behavior

no action => when looking at the browser-console, there is no output when looking at the browser-elements the iframe gets successfully created

Steps to Reproduce the Problem

use printURL function like following:

    d.printURL(fileWithSignedUrl.signedUrl, ({ launchPrint }) => {
      console.log('Content loaded!')

      // fire printing!
      launchPrint()
    })

in the usecase above the url is a signed url from gcp storage, but we also tried it with another file

Workaround

none

Specifications

joseluisq commented 10 months ago

What do you mean by signed url? What browser is the browser version(s)? Can you show a screenshot or something?

paulwer commented 10 months ago

The signed URL is just an URL from google cloud storage to access private files for a distinct amount of time.

joseluisq commented 10 months ago

It would be great to have an example to be able to reproduce the issue.

paulwer commented 10 months ago

We have switched to another lib and I have currently just less time. Sorry. From our POV this issue can be closed.