
Quote from joferar333 on November 28, 2023, 4:48 amESPAÑ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
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
Quote from Gaev on November 28, 2023, 4:14 pm@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.
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.