🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.commandlinetools
Article #393

Re: Zebra Printer

#393
From: Ben Hochstrasser
Date: Thu, 21 Oct 2004 20:15
17 lines
1796 bytes
hswong wrote:

> Do u know that can delphi send what I want (Label file, Serial#, Qty
> and other info) to Zebra Barcode Printer? if it is possible, how to
> send the command? or Can Zebra Barcode printer accept parameter from
> other program? 

check my TRawPrint component at www.torry.net.

Basically you have to bypass the printer driver (therefore don't use 
TPrinter) but just use API Calls (OpenPrinter, StartDocPrinter etc).
What you're sending to the Zebra printer is plain ASCII; similar to 
PostScript there are "simple" <cough> commands to select position, bar code 
font etc. There should be a ZPL reference in your printer documentation.

-- 
Ben
Technical Details
Message-ID: <Xns9589E25AA6332bhoc@207.105.83.66>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4177239a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: ff8f1,e97e5e94925d0336
X-Google-Attributes: gidff8f1,public
X-Google-Language: ENGLISH,ASCII-7-bit
Newsgroups: borland.public.delphi.commandlinetools
Subject: Re: Zebra Printer
From: Ben Hochstrasser <bhoc@tiscali123^H^H^H.ch>
References: <4177239a$1@newsgroups.borland.com>
Date: Thu, 21 Oct 2004 22:15:05 +0200
Organization: Huh?
Message-ID: <Xns9589E25AA6332bhoc@207.105.83.66>
User-Agent: Xnews/5.04.25
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Face: %,ZY>)HcS`@0U'*W5'Lr\8Pm}CVL46h^FG"q2H^O'K*7'W`c%"V\wNgnh$P"Z[B><S3@<-nTt@L=M#+cOawLHm#8q227tM*~jVY*oD3`L2H][7=gNHxQ~(G?`"$FlutE{k3|<FtJhG'uI
NNTP-Posting-Host: 217.162.171.194
X-Trace: newsgroups.borland.com 1098389703 217.162.171.194 (21 Oct 2004 13:15:03 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.wirehub.nl!194.72.7.126.MISMATCH!news-peer-test!btnet!newsfeed.bt.es!195.5.65.34.MISMATCH!caladan.arrakis.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail