Discussion:
Import ASCII file (logo) to AS/400
(too old to reply)
Gilbert Noetzel
2006-02-01 15:03:11 UTC
Permalink
I am sure this type of thread appears before, but my PC only allows me
to download last '500' threads...so if you can bear with me.

I am trying to load an image from my PC (1-bit PCX company logo) to the
AS/400 to be added to the overlay file which is library/file.

I see our old logo in the file as a logo.mbr of the library/file.

Is there a method either ftp or otherwise to do this.

Your help is greatly appreciated

Reason for this is we no longer have the "3rd party overlay"
program..license has expired..therefore I need a manual method than an
automatic method that once was used 5 years ago.

Gil
poddys
2006-02-01 15:30:36 UTC
Permalink
Slightly off topic, but if you are using Outlook Express or similar to
read newsgroups you should be able to download older postings -
provided of course that your news provider retains them for that long.

However, you still have to download the messages to do that.

The simplest way to search for threads is to go to
http://www.groups.google.com. You can search any group and still
subscribe to groups, plus you can mark topics so that google will
highlight them to you when new replies are posted. Best of you can
search for postings going back more than 5 years, so if someone has
asked the same question chances are you can easily find it.

Hope this helps...
James Perkins
2006-02-01 17:13:38 UTC
Permalink
I am sure this type of thread appears before, but my PC only allows me to
download last '500' threads...so if you can bear with me.
I am trying to load an image from my PC (1-bit PCX company logo) to the
AS/400 to be added to the overlay file which is library/file.
I see our old logo in the file as a logo.mbr of the library/file.
Is there a method either ftp or otherwise to do this.
Your help is greatly appreciated
Reason for this is we no longer have the "3rd party overlay"
program..license has expired..therefore I need a manual method than an
automatic method that once was used 5 years ago.
Gil
Here is the way I think I've done this in the past. I use word and put my
logo where I would like to see it. I then save it as a PRN. After that I use
AFP Viewer to open it up and save it as an overlay. Create a PF on the
AS/400 and FTP the overlay file to the PF. From there use the CRTOVL command
to create the new overlay.

It's been a while since I have done this, but I think it's correct.

James R. Perkins
Drew Dekreon
2006-02-06 23:54:15 UTC
Permalink
Post by Gilbert Noetzel
I am sure this type of thread appears before, but my PC only allows me
to download last '500' threads...so if you can bear with me.
I am trying to load an image from my PC (1-bit PCX company logo) to the
AS/400 to be added to the overlay file which is library/file.
I see our old logo in the file as a logo.mbr of the library/file.
Is there a method either ftp or otherwise to do this.
Your help is greatly appreciated
Reason for this is we no longer have the "3rd party overlay"
program..license has expired..therefore I need a manual method than an
automatic method that once was used 5 years ago.
Gil
Cookbook for putting graphics on the as400 & using them. I've used this
to create both segments and overlays successfully:

1. Install the AFP printer driver that comes with CA or CA Express
2. Create a printer that prints to a file
3. Using your favorite Windows application, Word does nicely, print your
signature via the AFP printer driver. Make sure to set up the print
driver to create a Page Segment, disable compression (some older
versions of PSF may barf on compressed page segments). (Note that in the
Print Dialog for Word there is a check mark that says Print to File. *DO
NOT* check this, instead make sure your AFP printer is attached to the
port FILE:) Make sure to set page settings with 0 top and left margins.

4. After you print, your page segment data will be stored on your local
PC. Using FTP, upload this PC file with binary transfer to a flat AS/400
physical file created with LVLCHK(*NO) and RCDLEN(80)

5. You are now ready to create the page segment object on your AS/400.
Use the CRTPAGSEG command. Page segment names may be no longer than 8
characters.

6. Now, in your DDS you may use the PAGSEG keyword to specify the name
of you page segment and the position on the page you want it to print.
You must specify DEVTYPE(*AFPDS) when you create the printer file.

To print an *AFPDS spool files you must have a license for PSF/400. If
you don't, you can use Host Print Transfer and the IBM PJL driver to
print to an IP attached LPD printer or print server.

If you cannot modify your print file DDS, follow all the instruction 1-4
above but substitute Overlay where you see Page segment. Use the CRTOVL
command to create the overlay. and use the CHGPRTF or OVRPRTF to specify
that your overlay is to print on every page of the printer file.

Continue reading on narkive:
Loading...