Click here to Skip to main content
13,398,889 members (35,457 online)
Rate this:
Please Sign up or sign in to vote.
See more:
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
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 10-Jan-13 6:55am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.180218.2 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100