Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print a zpl file using a parallel port

Status
Not open for further replies.

yesy

Programmer
Oct 24, 2002
3
US
Hi,

Do you know how to print a zpl file using a parallel port?

Is there any control,like in VB for comm ports.?

Thanks!
YV



 
yesy

There the Microsoft Communication Control under the Activex that comes with VFP. Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first
 
I presume you started thread184-389423 because you realized that handling a parallel port IS different than a COM port. Check it for my suggestions on Parallel controls.

Rick
 
From the VFP 6 manual

"Use Set Printer To with the specified argumnents to direct output to a file, a port for a different local printer, or a network printer."

Bill Couture
http:\\
 
If yer talking about a Zebra label printer:
!copy zpl.txt lpt1

Where zpl.txt is your file with all your label commands:

\^FX ***********Start 1 of (x-1) ************^FS
\^XA
\^FX Reprint if error^FS
\^JZY
\^FX Print speed^FS
\^PR5,5
\^FX Darkest (-30 lightest)^FS
\^MD5
\^FX rotate 90 degrees clockwise ^FS
\^FWR^FS
... etc

\ is there to textmerge into zpl.txt

you could textmerge directly to lpt1 also
set textmerge to "lpt1"

- Mike


Michael Ouellette
mouellette@compuserve.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top