Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying to print through network parallel port
Message
From
16/05/2001 13:04:18
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
Trying to print through network parallel port
Miscellaneous
Thread ID:
00507953
Message ID:
00507953
Views:
67
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
Next
Reply
Map
View

Click here to load this message in the networking platform