Hi
I tested this program in several PCs, but in some PC it works well and in others doesn't print the first ticket with the first "Print" command, but with the second "Print" Command, causing that the second ticket prints with the third command, the third ticket prints with the fourth command and so on. When i close LabVIEW, it prints the last ticket.
1) Laptop with pirated XP, LabVIEW 8.2.1, NI-Serial Runtime 4.2 - Program Works.
2) PC with pirated XP, LabVIEW 8.2.1, NI-Serial Runtime 4.2 - Program Works.
3) PC with genuine XP, LabVIEW 8.2.1, NI-Serial Runtime 4.2 - Program doesn't print the first ticket with the first Print command.
4) PC with genuine XP, VI installed with LV 8.2.1 runtime, NI Serial 4.2 runtime - Program doesn't print the first ticket with the first Print command.
5) PC with genuine Win2000, VI installed with LV 8.2.1 runtime, NI Serial 4.2 runtime - Program doesn't print the first ticket with the first Print command.
It's a bit curious. Maybe some configuration in the genuine XP mess the Paralel port, but i don't know what it's happening. The PCs with genuine XP belong to the same manufacturing plant.
Attached the VI and the printer programming manual (Zebra TLP 2844)
Mensaje editado por JCFC