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.
From memory, the Zebra barcode printer is a thermal printer. If so, have a look
at:
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
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...
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...
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
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...
John Gundrum <gund...@sintaks.com> wrote in message
news:uloOSFXeAHA.1036@tkmsftngp04...