Click here to Skip to main content
15,891,184 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,
I am using three barcode printer of Zebra make and same model no. attached to same machine..
I have Three computers Connected with server using Ncomputing,
Problem is, when computer starts barcode printers get detected and gets assign randomly to printers named
xyz
zyx (copy 1)
xyz (copy 2)

I have developed an desktop application, which prints a barcode sticker using these printers. I have Hardcoded printer name in each instance due to some special requirement of my client. The problem is label of instance1 gets printed on Third printer or second printer. Its all working Randomly

Now how can i uniquely identify the printer so that 1st computer prints the label on 1st printer and so on..

Please help.
Posted

1 solution

How you do this depends on how the printers are connected - if they are com ports, then it's one way, if they are on the network (wired or wireless) it's another. But I'm guessing it's network.

Look at the router / printers - is there an option to assign them specific IP addresses? If so, do that, and hardwire that IP address into the printer driver. When units are powered up, the router will generally assign addresses in sequence, so if the units are not in the same order, then that is likely to be a reason.
 
Share this answer
 
Comments
prathameshpitale 10-Jan-13 12:38pm    
No those are USB printers, attached using Ncomputing USB ports.
prathameshpitale 10-Jan-13 12:38pm    
They use usb hub to connect

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900