+ Reply to Thread
Results 1 to 3 of 3

Thread: Print a Picture in AFP

  1. #1
    Guest.Visitor Guest

    Default Print a Picture in AFP

    Make sure when you're creating the output that you specify "Overlay" as the output type on the AFP printer driver.

  2. #2
    Guest.Visitor Guest

    Default Print a Picture in AFP

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

  3. #3
    Guest.Visitor Guest

    Default Print a Picture in AFP

    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

+ Reply to Thread

Similar Threads

  1. Get a Clear Picture of Your Database
    By Guest.Visitor in forum General
    Replies: 3
    Last Post: 05-26-2006, 06:34 AM
  2. Display a picture thru AS400 session
    By David Abramowitz in forum RPG
    Replies: 10
    Last Post: 02-14-2006, 03:02 PM
  3. Picture attachment on email
    By Guest.Visitor in forum RPG
    Replies: 0
    Last Post: 05-14-2004, 11:02 AM
  4. Write Picture to IFS from RPG
    By Guest.Visitor in forum RPG
    Replies: 0
    Last Post: 03-01-2002, 10:25 AM
  5. Host print transform to print IPDS print files on ASCII printer
    By Guest.Visitor in forum Application Software
    Replies: 1
    Last Post: 05-31-2000, 09:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts