[progress Communities] [progress Openedge Abl] Forum Post: Re: Access For Pdf Print Setting...

Status
Not open for further replies.
E

Eduardo Silva

Guest
Hi Ankit, you can print directly to Zebra without generating the PDF. To do this, follow the following format: /* direct to printer name found at windows\start\printers */ DEFINE STREAM s-saida. OUTPUT STREAM s-saida TO printer value("ZDesigner S4M-203dpi ZPL (1)"). put stream s-saida CONTROL "^XA^LH0,0^CI0^XZ" + /* ^FO command sets a field origin x,y and ^FS command denotes the end of the field definition*/ "^FO45,42^FS" + /* command sets the field position x,y */ "^FT81,118" + /* command allows you to print text into a defined block type format. */ "^FB648,3,0,C,0" + /* command specifies the font to use in a text field */ "^A0N,78,90" + /* command defines the data string for a field. */ "^FD" + "TEXT TO PRINT" + /* command denotes the end of the field definition */ "^FS" + /* command is the ending (closing) bracket. It indicates the end of a label format. */ "^XZ". OUTPUT STREAM s-saida CLOSE. To format label length and width, use instruction ^LL to length and ^PW to width. To use ^LL you need to set ^JM (dots per millimeter) first then calculate label length and set ^LL and ^PW. See more at manual (zpl-zbi2-pm-en.pdf) search at google: www.google.com.br/url

Continue reading...
 
Status
Not open for further replies.
Top