-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Multiple printers #210
Comments
It's an issue with your driver or hardware configuration |
I tried this both on mac and windows. I think it's difficult to have the same problem on the two pc. But how can I have sure about it? Has some tip to fix it? |
This fails on my mac as well |
This has failed for me in the past if my epson TM-T88* (V or VI) is not configured to vendor class. Sometimes it cannot be discovered if it set to printer class. |
Interesting, I've got everything working now doing it manually on a brother wide format. There are some minor command differences but wasn't hard to mess with, thanks for the library! |
my answer is (very) late
Hope it helps you |
Hi, to add some details about how to chose specificaly one printer, I look on object type Device the property portNumbers that is the only distinct property in the object Another improve that is looked for serial number like with the usb package: |
|
Hey guys..
I'm trying to use this module with multiples printers. But some codes aren't working.
So, I read (#23), (#173).
I tried to follow the multiple.js example. But the code for it self doesn't work for some reasons:
device.open()
, anddevice
isn't definedescpos.USB.findPrinter()
returns this error:I can get
findPrinter()
working if I callnew escpos.USB()
before it. But I don't know why..So, my final code was like this:
And I get this error when I try to execute it:
I don't know if I've misunderstood something on the docs (sorry if I did) or if the docs are wrong. But how can I get it working?
And, what is the best approach to manage different printing formats with this logic? The printers stay on different places and one need to receive less information then another.
If I have two printers with the same VID and PID I can't know what printer should receive less information, right?
The text was updated successfully, but these errors were encountered: