Information générale
Titre:
Trying to print through network parallel port
Hi,
I have a Zebra T402 printer to print barcodes. I send ZPL codes(codes for the Zebra printer) to the printer and it prints a label with a bar code.
In VB, I can't use the Printer.Print command because it will print the string of code on the label and not the meaning of the code.
So, I discovered another way, in VB I open the parallel port like this
-->Open "LPT1" for output as #1
and I send the codes like this...
Print #1, "^XA"
Print #1, "^MNY"
and then
Close #1
And it works perfectly well if the printer is installed locally on my PC on port LPT1. But when I connect it to the network, the printer port is "Ne00" and I can open the port but nothing happens...
Is there anyway to send data to a parallel port not on my PC?
Thanks
-Michael
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement