S
S
skyfly20102020-11-21 17:03:47
Android
skyfly2010, 2020-11-21 17:03:47

How to teach the printer to cut off a check?

Good evening, dear specialists. Comrades asked me to deal with the printer and, to be honest, their question puzzled me. So, we have a Mitsu rp809 receipt printer (Although, I think, the situation will be the same with any other).
There is an android tablet, site admin panel and crm. Orders for cooking pizza from the site fall into the site admin panel, and from all other sources into the CRM.
Both CRM and the admin panel form almost the same, visually, receipts. But when printing, an interesting situation occurs, if the receipt is printed by CRM, then after printing is completed, a special knife is triggered in the printer, which cuts off the paper tape. If you print a check from the site admin panel (through a browser like chrome), then the check is printed, but the knife does not work.

The question is how you can teach the site to interact with the printer so that the knife is triggered after the print is completed.

My opinion:

Speaking of my thoughts on this, I am extremely surprised that the knife does not work after printing is completed. In theory, this should be the basic functionality. At the same time, if we take into account that the knife works in CRM, then we can assume that it has a certain driver that is responsible for triggering the knife. In this case, no web solutions will work and you need to write an application to display the admin panel and sew some kind of driver into it. Or perhaps you need to make a browser extension.


I would be grateful for any thoughts on the topic of the issue and for enlightening me on this topic. And if, someone faced similar and is ready to help - write, we will discuss how to solve the problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg, 2020-11-21
@402d

paper cut is one of the byte sequences
GS;V;0
ESC;i
ESC;d;0
ESC;m
your printer may have a different
CRM command that sends bytes to the device port.
When printing an html page, another driver is involved.
And now I'm wondering what driver is on the phone?
Yes, and an intermediary between the site and the printer for the crm is also interesting.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question