vue-pdf-embed icon indicating copy to clipboard operation
vue-pdf-embed copied to clipboard

Method `print` send only current page to print

Open nickxgrom opened this issue 3 years ago • 2 comments

Hi, @hrynko If we're in pagination-mode, like <vue-pdf-embed :page="page" and call print method, then it will printed only current page Is there is way to print whole pdf, even we're looking one page?

nickxgrom avatar Aug 04 '22 08:08 nickxgrom

Hi @nickxgrom,

As a workaround, you can render an "invisible" component in the meantime without a page prop. Also, I will consider updating the print method for this case. Thanks!

hrynko avatar Aug 04 '22 12:08 hrynko

I updated the print method signature so that page prop can now be overridden (see 9eaa57a)

Will include this in the next release if it works for you

hrynko avatar Aug 10 '22 16:08 hrynko