LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ENVIAR ARCHIVO .TXT AL PUERTO PARALELO

Buen dia, necesito mandar un codigo llamado ZPL II al puerto paralelo, este codigo corresponde a los comandos de una impresora marca Zebra, es con el fin de controlar la emision de etiquetas del producto terminado.
 
Actualmente tengo el archivo txt y desde el MS-DOS lo copio al puerto, el comando es el siguiente: C:\ COPY nombre_archivo.txt LPT1 y se imprime la etiqueta que corresponde a los comandos que hay en el archivo.
 
MI DUDA ES COMO PUEDO ENVIAR ESE ARCHIVO DE TEXTO AL PUERTO PARALELO, encontre un ejemplo en LV que abre el archivo y puedo ver su contenido, pero desconozco como puedo enviar dicho archivo al puerto y desde luego que la impresora se controle con sus respectivos comandos.
 
Ojala alguien me pueda orientar, les mando un cordial saludo. . .
 
 
0 Kudos
Message 1 of 5
(4,163 Views)
I don't speak Spanish, but from the Google translation of your request it seems that you have a DOS utility that can send the file to the LPT port. If this is so, you can call it from within LV using the System Exec.vi function. Use the same command you would use if executing it from a DOS prompt.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(4,157 Views)
If you're using Version 7, the VI still exists but is in a different place. It's on the Communications menu. (See attachment)

Mike...

Message Edited by mikeporter on 07-13-2007 04:08 PM


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 5
(4,153 Views)

Yes!!! I am using LV7 express, but I do found this function, thank you for the information.

 L

et me check, how the function is using it.

 

Tanks a Lot.

 

0 Kudos
Message 4 of 5
(4,145 Views)

Que tal buenas, yo tengo un proyecto parecido, pero con autobagger, igualmente acepta código ZPL y necesito comunicarlo por el puerto paralelo, crees que me puedas asesorar en el desarrollo del VI?

 

 

Saludos.

0 Kudos
Message 5 of 5
(1,103 Views)