Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0 Desktop
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 10-Jan-13 6:55am

1 solution

Rate this: bad
good
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.
  Permalink  
Comments
prathameshpitale at 10-Jan-13 12:38pm
   
No those are USB printers, attached using Ncomputing USB ports.
prathameshpitale at 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
0 OriginalGriff 250
1 George Jonsson 175
2 Jochen Arndt 150
3 Kornfeld Eliyahu Peter 149
4 PIEBALDconsult 110
0 OriginalGriff 6,080
1 DamithSL 4,648
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,624
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web01 | 2.8.141220.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2014
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