-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
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
Printer is not visible on windows #21
Comments
@jaidirectdsn You solved this? |
How did you guys actually solve this? |
I created virtual printer:
And then I used powershell script to install the printer:
|
Hi @itamardavidyan can you explain what is relation of powershell script with use of ipp-printer |
The Powershell script seperated for 2 steps:
About creating virtual printer using ipp-printer you can use the code from the |
Hi |
It's not necessary because you can do each of the steps manually |
I used exactly this code but printer donot show in list of windows printer why ? `var fs = require('fs') var printer = new Printer('My Printer') printer.on('job', function (job) { var filename = 'job-' + job.id + '.ps' // .ps = PostScript job.on('end', function () { job.pipe(file) |
Hi how can I fix this error ? |
This command: |
This is my code(ipp-printer.js):
var fs = require('fs')
var Printer = require('ipp-printer')
var printer = new Printer({name:"ipp-printer", port:8080})
console.log(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)
})
then i run the code > node ipp-printer.js
But i couldn't find the printer "ipp-printer" anywhere. How can i add/find the printer? Please help me. Any help will be appreciated. I am a beginner in Node. So sorry if i am asking anything wrong.
The text was updated successfully, but these errors were encountered: