PrintingLabel on Zebra printer
843836Jan 26 2004 — edited Jan 11 2006Hello,
In fact I couldn't figure out where to create this topic. I design my JSP page with the information I retrieve from database and I want to print it as label from Zebra printer by one click on an icon at JSP page. What I know about the printer is its IP and the .ZPL file which contains the pre-defined template. I have to send variables to those predefined fields.
I have seen a cobol program that does what I want. In that program it defines the variables and shows mapping to the file which resides inside printer. I don't know how to achieve this with java.
FIELD1 PIC X(10) VALUE '^FS^FN1^FD'
FIELD2
FIELD3
...
and file mapping PIC X(19) VALUE '^XA^XFB:PCS_TCK.ZPL'.
I highly appreciate any help provided. Thank you very much in advance.
Aylin