Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Zebra ZPL barcode language and VFP

746 views
Skip to first unread message

John Gundrum

unread,
Jan 8, 2001, 7:46:52 AM1/8/01
to
We are trying to print barcodes using a Zebra barcode printer using the ZPL
programming language.

Is there a way to use a standard label form and use ZPL to print these
barcodes.

Typically how this is done using the ZPL language is you send the printer
control codes to the printer (similar to PS and HP PCL). But all we've been
able to do to make this work, is send the printer control codes directly to
the printer through DOS. We have to create a text file and then sent it to
the printer from DOS by doing a "COPY text.txt > LPT1" which is far from
practical. We would like to do this from within a label form.

Any ideas how? How do you send printer commands to a printer through a
label form (or report form)???

Thanks,
John G.

Designer Patterns

unread,
Jan 8, 2001, 9:48:07 AM1/8/01
to
John,
What is your operating system and version of
FoxPro? The new print driver from the Zebra site for
windows is dinged. If you are using the new driver clean
it from the machine, find a older driver if possible and
install it as the only print driver. (default) Recreate the
label and it should print.
Al
"John Gundrum" <gund...@sintaks.com> wrote in message
news:uloOSFXeAHA.1036@tkmsftngp04...

Nick Bean

unread,
Jan 9, 2001, 5:35:43 AM1/9/01
to
John,

From memory, the Zebra barcode printer is a thermal printer. If so, have a look
at:

www.seagullsystems.com

for a list a free thermal printer drivers. I've used them before (for a DataMax
printer), and found it to work okay with a standard label format. One problem I
did find was that the driver I was using wasn't True Type, so WYS isn't WYG !

HTH

Nick

Paul Borowicz

unread,
Jan 9, 2001, 8:23:32 AM1/9/01
to
John:

In addition to Nick's comment, Bartender is another 3rd party application
from Seagull that I have used with excellent results.

http://fox.wikis.com/wc.dll?Wiki~BarTender~softwareEng

--Paul

"John Gundrum" <gund...@sintaks.com> wrote in message
news:uloOSFXeAHA.1036@tkmsftngp04...

Bruce D. Rempe

unread,
Jan 9, 2001, 10:11:52 AM1/9/01
to
I had a similar situation where I needed to sent a report to a true TEXT
printer. Using the test print driver really wasn't practical using the
report designer ... so

We constructed a text file much like you mentioned. Then, used foxpro to
copy the file to the printer. Ie:

copy file toprint.txt to \\printserver\printer

This achieves the objective without ever leaving the foxpro environment.

-bruce
bre...@msgboard.com

John Gundrum <gund...@sintaks.com> wrote in message
news:uloOSFXeAHA.1036@tkmsftngp04...

Beverly Howard

unread,
Jan 9, 2001, 11:42:09 AM1/9/01
to
A quick overview on printing barcodes

1 - Printer does it all, you send proper code, and printer generates
barcode. (i.e. most recent HP lasers)

2 - More complex printer version of above, basically a page (label)
rendering that includes all elements of the label and requires a
"programming language" Best for high volume barcoded label generation
such as a warehouse receiving station. Be careful here, as the choice
of your first label printer could drive the purchase of future printers
due to the amount of custom work and setup required.

3 - TrueType Barcode fonts... print on any windows graphic printer, but
require that you control the content and programmically add "fence" and
possibly checksum characters.

You chose the one that fits your need's best... I recommend for FoxPro
startup, that you use option 3, since it allows you to work in an
interface that you are used to and future updates can be made by people
who know nothing about the specifics of specialized printers. You can
preview the output within FoxPro.

Want more input... please ask.

Beverly Howard


Jorge A. Zaldívar Carrillo

unread,
Jan 9, 2001, 12:14:34 PM1/9/01
to
What I do is:

set textmerge to (m.lcFileName) noshow
set textmerge delimiters to
set textmerge on

* Construct the label using ZPL

set textmerge to
set textmerge off

set headings off
set console off
set printer to &gcPrnPort && in our case it's "COM2:" (not
shared in the network)
type (m.lcFileName) to printer
set printer to

* Restore environment settings (from previously saved values)
* ...

"Nick Bean" <nick...@netspace.net.au> escribió en el mensaje
news:3A5AE97F...@netspace.net.au...

Paul Hemans

unread,
Jan 11, 2001, 1:49:05 AM1/11/01
to
I used the MS comm control to talk through the COM ports to a Zebra printer.
It meant I was only outputting once rather than printing to file then file
to printer port.

John Gundrum <gund...@sintaks.com> wrote in message
news:uloOSFXeAHA.1036@tkmsftngp04...

0 new messages