Hi,
i am running a win98 application (pos-system) and need 3 copies of the
print output, each with 5 lines feed and a partial cut between the
sheets.
I created a text-only-printer, printing on file: "printfil.txt", and
capturing this
file by PrintFil. This works quite quick, compared with the printing
output of
the orginial programm, but only one copy of the output, no linefeed and
no cuts.
I tried to sent the necessary ESC-sequences with the text-only printer,
(when you install the printer
there is a register, where you can write these sequences, )
but I don't know how to write these sequences:
At the beginning of the printjob i want to send:
Select receipt station: hex(1E) asc: 31
At the end of the printjob i want to send:
feed 5 lines: hex(14),hex(5) asc:20 , 5
partial cut: hex(1B),hex(6D), asc: 27, 109
open cash drawer: hex(1b),hex(70),hex(5),hex(100),hex(100), asc:
27,112,5,100,100.
Does anyone know, how to write these ESC-Seq in this register:
I alread tried :
<ESC>31 (at the start)
<ESC>20<ESC>5<ESC>27<ESC>109....
but the printer does not react on these sequences.
only the numbers were printed, merged in the normal text.
Concerning the 3 copies - the corresponding CFG-File (printfil.cfg -
printfil.txt)
is also of no effect: -- Does anyone has a example of a cfg-file,
working in PrintFil
(how is it structured, 13 lines?, names of variables ?, all the files I
constructed
were useless)
Hope someone has had similar problems, and can help me
Thanks
enna


|