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

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 }]
What command did you use to print?
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?
No news ? I get around the problem, but I'm still available if you want clarification.
same issue here.... any news?? thx