× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I was able to get it to spit out a blank label by changing the MFRTYPMDL
parm to *WSCST and then the WSCST parm to QWPDEFAULT.

Grizzly, in the end I am needing to do that EXACT same thing, except with a
UPS label that they send to me. The program you saw was just me trying to
narrow down the variables to simple ZPL. I am going to create a printer
file with that *USERASCII option and get the ZPL code out of O-specs to see
if that addresses the issue.

Dan, I know the character you are talking about. Sounds like I may be
playing a character conversion game and I just need to find the right
combination. Whew, who knew hooking up a printer the the IBMi could break a
sweat!

Aaron Bartell
http://mowyourlawn.com
http://mowyourlawn.com/blog/


On Thu, Jul 22, 2010 at 2:47 PM, Grizzly Malchow <
grizzlym@xxxxxxxxxxxxxxxxxxxxx> wrote:


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'
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.