× 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 pulled this from the archives:
RC


 You need to install the AFP print drivers that come with Client
Access
> on your PC.  I've had good luck using the IBM 3812 AFP driver.
>
> You could then print the logo(s) that you want to use, using MS Word
> or MS paint, etc. selecting the AFP printer and printing them to a
> file.  You will need to designate on the printer properties that you
> are creating an page segment.
>
> Once this is done, FTP a binary image of the print file to a PF
> created on your AS/400.  This file will need to be created with the
> MAXIMUM record length (32766 I think) and LVLCHK(*NO) beforehand.
>
> Then use the CRTPAGSEG command to create the page segment in your
> specified library.  Then you will need to reference the page segment
> in your external printfile.
>
> One more thing...create your printfile with DEVTYPE(*AFPDS).
>
> That is a short synopsis of how I've done it before.  Your mileage
may
> vary.
>
> I hope it helps.
>
> Regards,
> Russell Conerly
> Tupelo, MS

-------------------
> 
> Are you trying to write an RPG program to do this?  This is the RPG
> programming mailing list, so if you're not planning to do this in
> an RPG program, please post it on a different list, probably
MIDRANGE-L.
> 
> To do this in RPG, you'll want to use the "Convert Image" API
(QIMGCVTI)
> specifying GIF as the input type, and AFP as the output.
> 
> Documentation for the API is here:
>
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/info/apis/QIMGCVTI.h
tm
> 
> Once you've done that, you should have an AFP stream file.  You then
need
> to copy it to a PF and run the CRTPAGSEG command on it to create a
> *PAGSEG object from it.
> 
> Good Luck!
> 
> 
> 
> On Thu, 28 Aug 2003 vinciamo@xxxxxx wrote:
> 
> > Hi!
> > Is there a way to convert a pc image in gif format into a *PAGSEG
format
> > on the AS400.
> > I want to print the logo in AFP Prtf!
> >
> > Thanks in advance!
> >
> _______________________________________________
> 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.
> 
> 

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.