A
A
AntohaRomaha2017-06-06 17:42:15
Seal
AntohaRomaha, 2017-06-06 17:42:15

How to intercept a job sent for printing in order to then "interpret" it into a .prn file for a specific printer?

Hello.
There is a program from which tickets are printed on a specific thermal printer for tickets. In the settings of the program there is no so-called. ctrl-p that is, there are no print settings and printer selection. I need to somehow intercept the print job to this printer (in devices it is like a printer - and this job flickers in the print manager) - and see how this job will look like exactly in the form of a .prn file, in order to print to the printer from another, third-party program , Similarly. Another program just knows how to send printac by batch file only, prn files. I need a template for this file.. let's just say.
How to intercept print job on prnak and interpret it into .prn file?
Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Konstantin Tsvetkov, 2017-06-06
@AntohaRomaha

In the settings of the program there is no so-called. ctrl-p that is, there are no print settings and printer selection.

Default printer properties.
89960992401748fb96670dd9ae991b44.png

A
Armenian Radio, 2017-06-06
@gbg

Mneee ..
Take a virtual machine, put a venda on it, create a virtual LPT port, in venda set up a printer on this port. And on the host system, direct this port to a file. Perhaps something will work. Or maybe it won't work.

R
res2001, 2017-06-07
@res2001

What is a prn file in your understanding? I have come across many variations of prn files.
I suspect that the program prints either to the default printer or directly to a specific port (LPT / COM). This usually happens this way, although there may be other options.
Install some virtual printer on the system that writes to a file and either make it the default printer or connect to the desired port (share the printer and use net use to connect its printer to the port).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question