× 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'm sure Scott's got some to go along with the BASE64 stuff..

Charles

On Fri, Mar 16, 2012 at 11:22 AM, Michael Schutte <mschutte369@xxxxxxxxx> wrote:
Chris,

I apologize for my ignorance.  Do you have an example of writing from
memory to the IFS?



On Fri, Mar 16, 2012 at 11:19 AM, Michael Schutte <mschutte369@xxxxxxxxx>wrote:

My boss told me that it was PDF.  However, the documentation just says an
Encoded Image in Base64. Since it said image, I assumed .GIF or .JPG.  I
suppose I should get this clarified.



On Fri, Mar 16, 2012 at 11:01 AM, Charles Wilt <charles.wilt@xxxxxxxxx>wrote:

You need to find out what format the label is in...

I assume it's some graphic format such as .JPG or .TIFF

Now, since you want to include this in your packing slip, which I
assume already exists and is created from a DDS printer file, check
out the AFPRSC keyword.  You'll have to save the decoded JPG or TIFF
into the IFS.  Also note that you'll use probably AFPRSC like so:

AFPRSC(&wImageName *JFIF 10.2 11.2 *PATH '/ShippingLabels/')

wImageName must not include a path.

HTH,
Charles

On Fri, Mar 16, 2012 at 10:46 AM, Michael Schutte <mschutte369@xxxxxxxxx>
wrote:
I could, put no clue how to get to that point.  The this image is being
returned from a webservice.  Do you have any suggestions on how to
convert
this


JVBERi0xLjcKJdP0zOEKMSAwIG9iago8PAovQ3JlYXRpb25EYXRlKEQ6MjAxMjAzMTYxMzIzMzUrMDAnMDAnKQovQ3JlYXRvcihQREZzaGFycCAxLjMxLjE3ODktZyBcKHd3dy5wZGZzaGFycC5jb21cKSkKL1Byb2R1Y2VyKFBERnNoYXJwIDEuMzEuMTc4OS1nIFwod3d3LnBkZnNoYXJwLmNvbVwpKQo+Pgplbm


to an overlay?  I'd imagine that I would have this in the RPGLE program
as
a string.

Thanks




On Fri, Mar 16, 2012 at 10:42 AM, <rob@xxxxxxxxx> wrote:

A shoot from the hip answer is can you do it as an overlay or page
segment?


Rob Berendt
--
Group Dekko
Dept 1600
Mail to:  2505 Dekko Drive
         Garrett, IN 46738
Ship to:  Dock 108
         6928N 400E
         Kendallville, IN 46755
http://www.dekko.com





From:   Michael Schutte <mschutte369@xxxxxxxxx>
To:     Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx
,
Date:   03/16/2012 10:40 AM
Subject:        Encoded Image (Base64) on printer file
Sent by:        midrange-l-bounces@xxxxxxxxxxxx



Has anyone ever taken an Encoded Image in Base64 and put it on a
printer
file.

I'm being asked to find out how long it would take to accomplish this.
I'm
not sure because I don't even know if this is possible.

What I need to do is call a web service that returns a label image in
base64.  Then print that on our packing slip.

First I know that I need to get Scott Klement's HTTPAPI  and install
it.
 No biggie as long as the boss is okay with it.

Second, I believe that I'll need Scott Klement's base64 project and
install
it.  No biggie again as long as the boss is okay with it.

But from what I can tell the Base64_decode converts to binary.  But I'm
stuck on how to define it on the printer file.

Thanks,

Michael Schutte
--
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.


--
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.



--
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 ...

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.