P
P
Pavel Virsky2015-06-18 13:31:27
css
Pavel Virsky, 2015-06-18 13:31:27

How to print a check on the fiscal registrar from a browser?

There is an order accounting system for the company, with a web interface. And there is a task to print checks for these orders, and it is through the fiscal registrar (any one can be). With simple receipt printers, everything is pretty clear - it's just a printer, but with a registrar, you can't figure out how to do the integration. There are two ideas so far: either communicate via ActiveX (there is one example of more or less successful integration), but this immediately limits the browser to one IE. Or - a Java applet that will act as an intermediate link between the registrar driver and the system.
Maybe someone had a similar experience, tell me, please, in which direction to dig?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
A
Anton Spirin, 2018-09-12
@UnluckySerivelha

shape-outside
can-i-use

A
A person from Kazakhstan, 2018-09-12
@LenovoId

T
TheRevan, 2018-09-12
@TheRevan

no way, wrapping around an arbitrary picture is impossible, because any picture is a square

D
dollar, 2018-09-12
@dollar

Break the gray figure into several pictures (horizontal stripes).

A
Alexander Taratin, 2015-06-18
@Taraflex

A local server program on localhost that accepts print commands.

J
Jeiwan, 2015-06-18
@Jeiwan

I know one (rather large) project where the second option is used: a Java applet is written, which acts as an intermediary between the driver and Javascript. And in Javascript, a wrapper is written that passes calls to the applet. Everything has been working for more than a year, and there are no problems (like) any.
I can’t share the implementation details, because I don’t understand Java at all, and all the code was written by another developer. But there is quite a lot of work.

P
Pavel Volintsev, 2015-06-18
@copist

The fiscal registrar usually stands next to the user's personal computer.
You can write a Java applet, or ActiveX, or a browser plugin. They must be able to communicate via COM or USB ports.
It is possible to write an application that will work as a web server on the user's computer and receive requests via the HTTP protocol and at the same time be able to communicate with the fiscal registrar via USB or COM.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question