I'm guessing you need to send the data as ascii to the printer. We do something similar with FedEx Shipping Labels. We use their web services for shipping and they send us back a string of ascii ZPL that is the shipping label. Once we receive the string of ZPL, we save it to a file on the IFS and print it as is to a *USERASCII spool file.
This sounds like it is a little different than your requirements, but I think it is along the same lines.
Grizzly Malchow
IT Manager
Northern Wholesale Supply, Inc
Phone: 651-407-1469
Toll Free: 800-666-1111
Mobile: 651-724-2452
Fax: 651-429-5757
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Aaron Bartell
Sent: Thursday, July 22, 2010 1:32 PM
To: Midrange Systems Technical Discussion
Subject: Re: Setting up IPDS printer
Update...
I was able to locate a pdf that gave me the default authentication to get
into the printer's web server. For archive purposes it is admin/1234 and
you just point your browser at the ip address of your printer.
Once logged in I am seeing the following in the printers job log which tells
me the communication is in fact happening and data is being sent down, but
the printer isn't doing anything with it.
http://screencast.com/t/NWExNTg3Y
I am wondering if there is an issue with EBCDIC to ASCII going on here that
is causing the control characters to be converted in a way that causes the
stream to be thrown away by the printer because it doesn't recognize
anything it can do with the stream.
Are there print settings on the IBMi I can try to see if that addresses the
issue? Also, below is the RPG program I am using to create the printer file
with the code Charles told me about.
FQPRINT O F 264 PRINTER
/free
except bclabel;
*inlr = *on;
/end-free
OQPRINT E bclabel 1
o '^XA'
O E bclabel 1
o '^LH30,30'
O E bclabel 1
o '^FO20,10^AD^FDZEBRA^FS'
O E bclabel 1
o
'^FO20,60^B3^FDAAA001^FS'
O E bclabel 1
o '^XZ'
As an Amazon Associate we earn from qualifying purchases.