The Print.js can not print on the Electron when the print type is pdf
- Dominant language
- JavaScript
- Stars
- 4.5k
- Forks
- 688
- PR merge metrics
- No merged PRs in 30d
Description
## Dependencies
Print-js Version: 1.6.0
Vue Version:3.2.39
node Version:16.8.9
npm Version:8.14.0
vite Version:3.0.9
electron Version:20.1.3
## Question
It actived on the website,but not on the Electron when print PDF files.
When type is image、html , The operation is ok.
I put an issue to Electron,they recomand me put an issue to Print-js
As I Know,The electron only integrated render module of Chromium。
## Steps
### Install the print-js
```javascript
npm install print-js@latest --save-dev
```
### Import the print-js
```javascript
import printJs from 'print-js'
```
### Template
```javascript
```
### Javascript
```javascript
const PrintTest=()=>{
printJs({
printable:"base64 str / pdf url",
type:'pdf',
base64:true
})
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.