Not sure why your printer file won't compile without more details, but the
way we print barcode labels on Zebras is to use a printer file with one
field which is 132 characters and then populate that field with the ZPL by
reading a physical file with the ZPL already coded and inserting the dynamic
data into the ZPL using RPG before writing to the spooled file.

HTH

Martin


-----Original Message-----
From: ravikiran.lobo@xxxxxxxxxxx [mailto:ravikiran.lobo@xxxxxxxxxxx]
Sent: 18 November 2003 15:35
To: rpg400-l@xxxxxxxxxxxx
Subject: Configurations for using ZPL instructions in printer files??


Hi

I need some help in including  the ZPL language in an AS400 printer file.
We are planning to use a Zebra printer for printing bar codes.  However
when i compile my printer file which contains the ZPL language it does not
compile. Do we have any specific properties which need to be changed when
compiling the printer file?

We have already created an outque for the printer with the following
properties.
                 Work with Output Queue Description

Queue:   ZBR1_PRINT     Library:   QUSRSYS

Remote printer queue . . . . . . . . . :   portLF1
 Queue for writer messages  . . . . . . :   QSYSOPR
   Library  . . . . . . . . . . . . . . :     *LIBL
 Connection type  . . . . . . . . . . . :   *IP
 Internet address . . . . . . . . . . . :   204.61.84.109
 Destination type . . . . . . . . . . . :   *OTHER
 Host print transform . . . . . . . . . :   *YES
Manufacturer type and model  . . . . . :   *WSCSTCONT132
Workstation customizing object . . . . :   QWPDEFAULT
  Library  . . . . . . . . . . . . . . :     QSYS
Image configuration  . . . . . . . . . :   *NONE
Destination options  . . . . . . . . . :   XAUTOQ XAIX

Please let me know.
Awaiting your reply

thanks.





_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


=======================================================
This message contains information that may be privileged or confidential and is 
the property of the Cap Gemini Ernst & Young Group. It is intended only for the 
person to whom it is addressed. If you are not the intended recipient, youare 
not authorized to read, print, retain, copy, disseminate, distribute, or use 
this message or any part thereof. If you receive this message in error, please 
notify the sender immediately and delete all copies of this message.
=======================================================


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.