-
Notifications
You must be signed in to change notification settings - Fork 44
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
USB based scanner/scales #957
Comments
Not that I've heard of. Some USB-RS232 adapters but that's not quite the same thing. Much of the USB POS hardware I've seen comes with a driver that will create a fake COM port so software can still communicate as if it were an RS-232 device. Datalogic has one for their 9xxx series scales. The hardware makers typically only provide Windows drivers. How easy or hard it is to get these devices working on other platforms probably varies from device to device. |
I've had some good luck using Serial-->USB adapters on production CORE-POS/IS4C lanes. Both dongle and PCI cards. Primarily on debian (or derivative) lanes. For the most part these have been plug'n'play. But I have come across one or two that were not dead simple to set up. |
Sure. I think that's the comparatively easier situation - device itself is
serial and the adapter just has to present it to the OS as serial. If the
device is USB and a Windows driver is making it appear as serial device
it's hard to say what kind of internal translation the driver is doing or
what I/O will look like if you remove the driver and interact with the
device directly.
…On Thu, Jan 4, 2018 at 6:26 PM, joel brock ***@***.***> wrote:
I've had some good luck using Serial-->USB adapters on production
CORE-POS/IS4C lanes. Both dongle and PCI cards. Primarily on debian (or
derivative) lanes. For the most part these have been plug'n'play. But I
have come across one or two that were not dead simple to set up.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#957 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAaD1mdaET70-CLJxbh7UCJrVFecIR7Nks5tHWw-gaJpZM4RTyBF>
.
|
@joelbrock, are you using USB devices and hooking them up to the lane’s RS-232 port? Or the opposite? What devices are you hooking up this way? |
In all cases i'm referring to using RS-232 scannerscales and connecting
them to a PC without an onboard RS-232 port.
Besides handheld scanners, i've never worked with a scanner*scale* that has
USB coming out of it.
I've used the serial-to-USB adapter approach mainly on SL384s, 8100s, and
8400s
|
Okay, good to know. I see references to “IBM USB” in those scanner/scale manuals, and I always wonder what strange secrets may lurk therein. |
Any recommendations for the best inline (non-PCI) serial-to-USB adapters, especially under Debian/Ubuntu? (Also, any specific ones to avoid?) Also, does anyone have experience where a serial-to-USB adapter worked with a receipt printer, but not a scanner/scale — OR vice versa? Asking @joelbrock especially, but welcoming all advice! |
Something like this should work. For USB printers, I generally swap out the interface board for a USB. Or buy new w/ USB interface. Never used a serial-based printer before. Ever. Though I have had good luck using parallel to USB adapters. Those seem to work near-universally. Whereas the serial-to-USB were only a little more finicky. |
@joelbrock, does CORE-POS on Linux support USB receipt printers natively? Or does it think they're serial and writes to them at ttyS*? |
They typically show up as /dev/lp0 or /dev/usb/lp0 in my experience. Generally you can just write to the device file the same way as parallel.
In a sense it’s not CORE that supports them natively so much as it’s Linux
… On Jan 16, 2019, at 3:33 PM, John Leary ***@***.***> wrote:
@joelbrock, does CORE-POS on Linux support USB receipt printers natively? Or does it think they're serial and writes to them at ttyS*?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
|
That makes sense — I wasn't sure if the API was the same! |
Okay, I got one of these adapters, and it shows up at
|
I would expect that setting the scannerscale port in CORE-POS to Check the BIOS h/w config too, sometimes the serial ports need to be enabled there. Also, what port is the USB printer getting? I'd guess something like |
On our system (version 2.7 on Ubuntu Xenial), it's in set in the Hardware tab. Attempting to use the receipt printer prints something, but it's gibberish. Here is the exact gibberish which it is:
Parity error perhaps? But I don't know how to set parity for an adapter... There is no |
Followup: In the words of the OpenBSD crew, the QinHeng Electronics HL-340 (aka CH340) USB–Serial adapter (USB device ID 1a86:7523) is “the worst USB-serial chip in the world”. Whether or not that's true, I got another USB–serial cable which uses a different chip (the Prolific PL2303), and after a little configuration it worked perfectly. That configuration was as follows: I set all the DIP switches on the TM-T88III to the OFF position, which means the following per the manual:
And then I ran Out of curiosity, I tried that HL-340/CH340 USB–serial adapter again, and the printer printed gibberish again. I may try some more |
I’m looking at potential new CORE-POS lane installations, and I’m perusing the supported hardware list. Is anyone currently using a scanner/scale over USB? (George Street Co-op uses RS-232 with the venerable Magellan SL-384s.)
Version of CORE?
All
Issue with Office, Lane, or both?
Lane
Is this [mostly] a bug report, feature request, or question?
Question
The text was updated successfully, but these errors were encountered: