Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to print through network parallel port
Message
De
16/05/2001 13:04:18
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Trying to print through network parallel port
Divers
Thread ID:
00507953
Message ID:
00507953
Vues:
66
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
Fil
Voir

Click here to load this message in the networking platform