Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PrintingLabel on Zebra printer

843836Jan 26 2004 — edited Jan 11 2006
Hello,
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 8 2006
Added on Jan 26 2004
3 comments
304 views