Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Windows 7 USB print support question #9
USB/Windows as a combination is marked "not tested", as I haven't figured out a way to get a direct file pointer to the printer. This means that you are not really in beginner territory! I'll offer some tips, with the disclaimer that I've never used escpos-php under this setup.
The go-to setup appears to involve installing the printer as a text-only device, then sending it pre-made text files:
And the alternative would be to send data using the port name. I'm not sure whether you need the printer "installed" with the text only driver to get this working:
The third and slightly clunkier alternative is leverage the fact that Windows/Ethernet and Linux/USB are both known to work, and to to slip in a Raspberry Pi, using something like
I have a windows VM, so no guarantees, but if I can get one of these working in the coming days, I'll be sure to wrap it into an actual working example.