Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Add howto for different types of printers #9

Open
tjunussov opened this issue Jul 19, 2017 · 1 comment
Open

Add howto for different types of printers #9

tjunussov opened this issue Jul 19, 2017 · 1 comment
Labels

Comments

@tjunussov
Copy link

Hi! Correct me if i am wrong.
Chrome could print to almost any USB Thermal Printer ( ESCPOS Enabled ) ,
we should only provide vendorId and products Id ( by adding them to manifest.json ) ?

p.s ( Windows ) vendor id and product id we could obtain from device manager in USB ( Hardware IDs )

@mike42
Copy link
Contributor

mike42 commented Jul 20, 2017

Yes! This is correct.

One gotcha: the ID's are usually reported in hex (base 16), but you need to convert them to decimal (base 10) for the Chrome app manifest.

For example, my printer is 04b8:0e03 Seiko Epson Corp, which appears in the manifest as {"vendorId": 1208, "productId": 3587}. You can use an online converter to do this for you.

If you post back your vendor and product ID, then I can include them in the repo for future users with the same printer as you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants