We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi I use below code in electron js but donot add any printer in windows printers
`var fs = require('fs') var Printer = require('ipp-printer')
var printer = new Printer('My Printer')
printer.on('job', function (job) { console.log('[job %d] Printing document: %s', job.id, job.name)
var filename = 'job-' + job.id + '.ps' // .ps = PostScript var file = fs.createWriteStream(filename)
job.on('end', function () { console.log('[job %d] Document saved as %s', job.id, filename) })
job.pipe(file) }) `
The text was updated successfully, but these errors were encountered:
Dear, currently the only workaround I found is to install Bonjour Printer Assistent https://support.apple.com/kb/DL999?viewlocale=de_DE&locale=en_US, then the printer is showing up.
Sorry, something went wrong.
No branches or pull requests
Hi
I use below code in electron js but donot add any printer in windows printers
`var fs = require('fs')
var Printer = require('ipp-printer')
var printer = new Printer('My Printer')
printer.on('job', function (job) {
console.log('[job %d] Printing document: %s', job.id, job.name)
var filename = 'job-' + job.id + '.ps' // .ps = PostScript
var file = fs.createWriteStream(filename)
job.on('end', function () {
console.log('[job %d] Document saved as %s', job.id, filename)
})
job.pipe(file)
})
`
The text was updated successfully, but these errors were encountered: