From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV does not print barcode fonts

Solved!
Go to solution

That makes perfect sense now. 

 

Why don't you guys implement a LV library? It seems a lot of people have similar issues like mine. 

0 Kudos
Message 11 of 30
(2,928 Views)

Mark:

 

As a Zebra employee, I think you earned your kudos stripes here! Good work.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 12 of 30
(2,923 Views)

Mark, 

 

Another question about the TCPIP connection. For ZM400 printer, if I establish a TCPIP connection programmatically, can the printer respond to other printing requests? Or it is just locked up by one TCPIP connection until it is closed?

 

0 Kudos
Message 13 of 30
(2,907 Views)

 


@MengHuiHanTang wrote:

Mark, 

 

Another question about the TCPIP connection. For ZM400 printer, if I establish a TCPIP connection programmatically, can the printer respond to other printing requests? Or it is just locked up by one TCPIP connection until it is closed?

 


The behaviour can get a bit confusing. The printer will port lock once it sees the start of a label (^XA) and all other connections will be held off until the label format is complete or that connection is closed. Data on the other connections will be buffered and are generally processed in the order the connections were established. Any responses are sent on the appropriate connections. If several connections are open at the same time and you r randomly send data and get a response back across the various connections it will process the connections indepently and you will get data back. The area you have to be careful about is sending incomplete label formats. Also, you cannot split a label format (a format is deliniated between a ^XA and a ^XZ) across multiple connections. Partial formats are flushed when a connection is closed.

 



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 14 of 30
(2,897 Views)

Mark, 

 

Hope you can still see this post. I have another technical difficulty about the printer. 

 

Last time with the format you prepared for me, the printer has been working perfectly, until we moved it to another location. After we turned it back on, it started printing weird.

 

No 1 issue is the size. I have no clue why sometimes it prints larger size, other times it prints the little one (both same font though). I checked the printer settings, but did not find any setting relevant to font size.  The other issue is the print width. It seems I cannot change this setting; everytime I made it larger than 507, it reverted itself back to 507. That's why for the larger size, it does not print the whole barcode.

 

Barcode Size.jpg 

0 Kudos
Message 15 of 30
(2,828 Views)

Here, try this modified version of the format:

 

^XA
^LH0,0
^PR4
^LT0
^BY2,3,10
^FO140,20^BCN,50,Y,Y^FD>:1234^FS
^PQ1
^XZ

 

I removed the ^PW and ^LL commands from the earlier format. The ^PW command is what was setting the print width to 507. So if you wre changing the print width from th efront panel of the printer it was reset to 507 when you sent the label format to the printer. I added the ^BY command which controls the size of the barcode and the text. This setting was probably modifed on the printer which is why it printed differently. Given teh small label you are working with I don't receommend changin the values in the ^BY command.

 

The ^FO command above is what determines the position of the barcode on the label. The first number indicates how many dots from the left edge of the label to place the barcode. The second number indicates how many dot rows from the top to place the label. So you can adjust these two numbers if you want to change the position of the label.

 

Also, if you change printers and they have different resolutions (for example a 203 dpi to a 300 dpi printer) the format will need to be adjusted.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 16 of 30
(2,816 Views)

It's a great thing to have you here with the help on the Zebra printers. Thanks so much. 

0 Kudos
Message 17 of 30
(2,789 Views)

@MengHuiHanTang wrote:

It's a great thing to have you here with the help on the Zebra printers. Thanks so much. 


No problem. Glad I could help.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 18 of 30
(2,773 Views)

I know this post is 10 months old, I'm hesitating whether to start a new one or continue this one.

 

I need to have a quick setup to print to a ZM400 printer, I need some guidelines regarding how to  setup everything. What I'm having is 32 bit Windows 7 OS. Connection wise, I will prefer Ethernet connection if it's not too complicated. The label is pre-designed, as in the attached file, what I will need is to insert the serial number.

 

I have few questions regarding the setup:

 

  1. Can I just connect my conputer to the printer using straight Ethernet cable (I don't need to connect anything else to my computer)? If I can do it this way, then I will have to set static IP address for both the printer and my computer, will the printer accept static IP address?
  2. For installation, is it enough to install both of the two Windows files on this page: http://www.zebra.com/id/zebra/na/en/index/drivers_downloads/drivers/results.html?productType=7#Recom... Are these drivers going to work for all the connections (USB, Ethernet or something else)?
  3. What else I need to pay attention to during the process.

 

Thanks in advance,

 

0 Kudos
Message 19 of 30
(2,653 Views)

As a follow up on the barcode font that can be used with Labview, we use Free 3 of 9, which is a free font download. The only thing you have to do to get it to display a barcode in a text window is pre and post append a special character to the string like "*" for instance and set the string font to the free 3 of 9 type and voila' barcodes.

 

We have a Zebra 110XiIII+300dpi in our factory in China. I had to interface with my laptop and only had Xp driver at plant. I was pleasantly surprised to find a Win7 version. I found that it a bit difficult to align text and display on the print out. I found that if I placed a blank textbox in the upper left corner, it seem to set a feducial for the rest of the text locations and it was easier to position things about like I wanted. Also found out that you don't want to make the test box too small or it will truncate the barcode. the text box wanted a fair margin on both sides to insure the whole barcode was printed.

 

So the only things we had to do to print barcode was download the special font and pre and post append a special character like "*" easy.   http://www.barcodesinc.com/free-barcode-font/

0 Kudos
Message 20 of 30
(2,640 Views)