node-printer icon indicating copy to clipboard operation
node-printer copied to clipboard

GetPrinter not work on virtual printer

Open alexandre-le-borgne opened this issue 8 years ago • 4 comments

I'm trying to use getPrinter('ESynaps') but an error occured while this printer is listed in the result of the getPrinters function :

screenshot_1

This printer ('ESynaps') is a virtual printer. The function getPrinter(NAME) works well with other printers. I guess the problem depends on the characteristics of the printer. How can I fix it ?

getPrinters result :

[ { name: 'ESynaps', portName: 'http://localhost:631', driverName: 'Microsoft Print To PDF', printProcessor: 'winprint', datatype: 'RAW', status: [], statusNumber: 0, attributes: [ 'DO-COMPLETE-FIRST', 'LOCAL' ], priority: 1, defaultPriority: 0, averagePPM: 0 }, { name: 'Microsoft XPS Document Writer', portName: 'PORTPROMPT:', driverName: 'Microsoft XPS Document Writer v4', printProcessor: 'winprint', datatype: 'RAW', status: [], statusNumber: 0, attributes: [ 'DO-COMPLETE-FIRST', 'LOCAL' ], priority: 1, defaultPriority: 0, averagePPM: 0, startTime: 1380, untilTime: 1380 }]

alexandre-le-borgne avatar May 18 '17 14:05 alexandre-le-borgne

What command did you use to print?

tojocky avatar Jun 13 '17 04:06 tojocky

I do not use a command to print on it. I just retrieve it to find out if it exists or not. Do you want the commands that allow me to create it?

alexandre-le-borgne avatar Jun 13 '17 08:06 alexandre-le-borgne

No news ? I get around the problem, but I'm still available if you want clarification.

alexandre-le-borgne avatar Jun 30 '17 08:06 alexandre-le-borgne

same issue here.... any news?? thx

yusef-ho avatar Jun 29 '18 12:06 yusef-ho