View Full Version : Print a Picture in AFP
Guest.Visitor
08-06-2003, 06:00 AM
Make sure when you're creating the output that you specify "Overlay" as the output type on the AFP printer driver.
Guest.Visitor
08-06-2003, 08:30 AM
I am trying to print a picture using AFP. We are on V4R4M0. I've downloaded the CA printer driver for AFP and have printed the picture to a file. Then I have put this file in a shared file folder on the IFS. I've tried to create an overlay and also a page segment and still can not get this picture to print. In my AFP application I am printing from a file and need to add this picture. I think I have tried everything I know to do. Do we need to be on a higher version??
Guest.Visitor
08-06-2003, 08:30 AM
The first thing you need to look at is the way you are printing to the file in your IFS. from the PC application choose file, print. choose the AFP Printer and look for the properties or advanced, tab or button. Look for the OUTPUT TYPE, this needs to be Overlay or Page Segment depending on what you are trying to accomplish. I only use page segments. Click the Apply button to continue. A dialog box should appear where you can key in the mapped drive for the folder in your IFS followed by a colon ':' and then the file name. This will write the file to your IFS folder. Next go to your command line on your Iseries(AS/400) and this command, CRTPF FILE(YOUR_LIB/IMGSRC)RCDLEN(8201)MAXMBRS(*NOMAX) SIZE(*NOMAX) CPYFRMPCD FROMFLR(FOLDER_NAME) TOFILE(YOUR_LIB/IMGSRC) FROMDOC(PC_FILE) TOMBR(PC_FILE) TRNTBL(*NONE) TRNFMT(*NOTEXT) CRTPAGSEG PAGSEG(YOUR_LIB/PCFILE) FILE(PF) MBR(PC_FILE) TEXT(Object Description) This will create the image in the correct OS/400 Format. You could use the AFP Utility to do this but I've never had any luck with it. Like I said earlier I don't use overlays only page segments. The following is the DDS for you printer file. The PAGSEG keyword needs these parms &PSGNAM = The name of the page segment you just created &PSGDWN = Position down the page &PSGDWN = Position Across the page (Measured using the Unit Of Measure used in PARM(command Keyword)UOM for the CRTPRTF or CHGPRTF command If you have any other question my email is LMASSIE@FUSE.NET I also found this link to an IBM web site that may help you http://www.printers.ibm.com/R5PSC.NSF/Web/wafpres
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.