LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Printing line by line

Hi,

I need to print some log messages on a matrix printer line by line.

For this, I use the "Easy Text Report". I seems to work fine, but I have
an offset
in printing. When I print a message, this is the precedent message who
is printed on paper
and so on.

I tried to place at the end of the line I want to print but
labview seems to cut
control characters form the input of the Easy Text Report vi.

Does anyone had the same problem or could anybody help me?

Thanks insadvance and best regards


Antoine Jacot
0 Kudos
Message 1 of 3
(2,930 Views)
The option i selected to write line by line was using direct writing to the paralell port, and using ESC codes, the result was quite good. Of course, a small delay was completely necesary to avoid the CPU to be totally loaded, perhaps your problem is something similar, and you could try placing a delay after write operation.
Hope this helps
0 Kudos
Message 2 of 3
(2,929 Views)
Now lots of printer is usb port. So it can be done by using parallel printer command in usb printer. My problem now is print one line at a time and the paper still in the usb printer, and next time it will keep printing when I send some information to the usb printer.
http://www.vitst.com
Virry Test & Control
LabVIEW Certified Developer
0 Kudos
Message 3 of 3
(2,845 Views)