How To Read From Datamax Printer (Usb) Follow
I use Datamax-O'Neil ST-3210 with your driver.
Bi-direct communication is enabled in driver setup page.
I want to read printer status (SOH A).
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_SEQUENTIAL_SCAN | FILE_FLAG_OVERLAPPED,
WriteFile is successful. Printer executes commands.
But ReadFile always returns 0 bytes for SOH A(0x01,”A”).
So I am not able to read printer status.
Are you driver and printer supports read (bi-directional communication)?
Can you provide a sample of bi-directional communication?
Please sign in to leave a comment.