PROBLEM PRINTING A TEXT FILE - Forum

Forum Navigation
You need to log in to create posts and topics.

PROBLEM PRINTING A TEXT FILE

ESPAÑOL

Hola! tengo un pequeño problema que no puedo darme cuenta como resolverlo

tomo un archivo de texto que deseo imprimir...

utilizo el comando

PrintTextFile "" "" "[pubdir]print_temp.txt"

Lo imprime pero el problema es que el contenido del archivo print_temp.txt es 1 dato por cada linea ...

pero al imprimir me junta todas las lineas

Como puedo hacer para que se imprima respetando el contenido del archivo que esta separado linea por linea con distintos valores?

 

ENGLISH @gaev

Hello! I have a small problem that I can't figure out how to solve.

I take a text file that I want to print...

I use the command

PrintTextFile "" "" "[pubdir]print_temp.txt"

It prints it but the problem is that the content of the print_temp.txt file is 1 data for each line...

but when printing I put all the lines together

How can I make it print respecting the content of the file that is separated line by line with different values?

Thanks

@joferar333

I use the command

PrintTextFile "" "" "[pubdir]print_temp.txt"

It prints it but the problem is that the content of the print_temp.txt file is 1 data for each line ... but when printing I put all the lines together

Use notepad.exe to read the contents of print_temp.txt ... does it show content on separate lines or not.

How can I make it print respecting the content of the file that is separated line by line with different values?

If notepad.exe shows that content is not on separate lines, you need to insert carriage-return/line-feed characters between the variables (data) e.g.

SetVar "[allData]" "[variableA][#13][#10][variableB][#13][#10][variableC]etc.etc."

Then, save [allData] to print_temp.txt before printing it.

luishp has reacted to this post.
luishp