×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Printing barcode labels to Zebra 90XiIII in VB

Printing barcode labels to Zebra 90XiIII in VB

Printing barcode labels to Zebra 90XiIII in VB

(OP)
Hi there,
I'm wondering if anyone can help...

I'm trying to print a simple barcode label to the Zebra 90XiIII using VB but the labels keep coming out blank.
Should the code below work?

Thanks,
Ronan

Printer.Font = Printer.Fonts(0)
Printer.Print titleTxt;
Printer.FontSize = 8
Dim HFONT
HFONT = Me.txtBarcode_READ
Printer.Print Spc(2); HFONT
Printer.EndDoc

RE: Printing barcode labels to Zebra 90XiIII in VB

see my FAQ
I found this to work best and can be used with VB or VBA

Use BarOne Lite from Zebra.com to create ZPL
 FAQ694-2608

DougP, MCP, A+

RE: Printing barcode labels to Zebra 90XiIII in VB

(OP)
Hi again,
Yes i had tried your suggested approach as described in your FAQ.  However, i ran into difficulty because the "ZPL" outputted to the file did not look like the "ZPL" you described.  In particular, none of it was recognisable as text ... it seems to be in a binary (pixel coords) form of ZPL.  ZPL commands are still there but it is just followed by a load of hex.  The file can still be used to print using your copy command.
Is there anyway to force bar-one lite to print in the other form of ZPL?

Cheers,
Ronan.

^XA
^MCY
^XZ
^XA
^FWN^CFD,24^PW1228^LH0,0
^CI0^PR2^MNY^MTT^MMT^MD0^JJ0,0^PON^PMN^LRN
^LT0
^XZ
^XA
^MCY
^XZ
^XA
^DFR:TEMP_FMT.ZPL
^LRN

^FO165,103^GFA,09984,09984,00104,
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,000000000000000000000000000000
001FFF00000000000000007FFC0000000000000001FFF000000000000FFF80,000000003FFC0000
03FFC003FFC00001FFFFF000000FFF000007FFFFC00000000000001FFFFF0000000000FFFFF800
00007FFFF80000FFFFF000FFFFFFFFFFF00000003FFFFFFFFFFFC03FFFFFFFFFFC03FFF000007F
FE0FFFFFFFFFFFF007FF8001FFE0,000040003FFC000003FFC003FFC00007FFFFFC00000FFF0000
1FFFFFF00000000000007FFFFFC000000007FFFFFE0000007FFFF80000FFFFF000FFFFFFFFFFF0
0000003FFFFFFFFFFFC03FFFFFFFFFFC03FFF000007FFE0FFFFFFFFFFFF007FF8001FFE0,0001C0
003FFC000003FFC003FFC0001FFFFFFF00000FFF00007FFFFFFC000000000001FFFFFFF0000000
1FFFFFFF8000007FFFF80000FFFFF000FFFFFFFFFFF00000003FFFFFFFFFFFC03FFFFFFFFFFC01
FFF80000FFFC0FFFFFFFFFFFF007FF8001FFE0,0003C0003FFC000003FFC003FFC0003FFFFFFF80
000FFF0000FFFFFFFE000000000003FFFFFFF80000003FFFFFFFE000007FFFF80000FFFFF000FF

RE: Printing barcode labels to Zebra 90XiIII in VB

It may be becasue you have one or more fonts that are Windows True Type fonts. The program translates thsoe fonts into binary and it is slower to print.
If you look carefully you will see only a few fonts that are native Zebra fonts in the Fonts list. You need to use these native fonts as you are creating a new entity.  You can also edit th eother text entities.
You will have to change all True Type fonts to Zebra native fonts and resize all the text items unfortunately, but it can be done.
Also if you have nay type of Image it will be binary too

DougP, MCP, A+

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close