D
D
Dmitry2014-05-16 01:00:15
Seal
Dmitry, 2014-05-16 01:00:15

How to send a control sequence to the thermal printer?

It is necessary to print text on a Unisystem 5104 thermal printer.
The printer is connected via USB (virtual printer port for usb).
Actually, if you simply print from a notepad, there are no fields, no tabs ...
There is a list with control commands, but I have no idea how to send all this to the printer.
You must send either "directly" or using C#.
I'm waiting for your answers.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zobo, 2014-05-16
@zobo

I did something similar 5 years ago, namely, software for payment terminals.
For printers, I had enough printing through a windows printer.
But bill acceptors, yes, required control commands.
Unfortunately, now at hand there are no source codes, but the principle is simple.
The control command is a byte[] array.
All you need to do is write a handler to read/write to the port of the byte array.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question