IBM Support

PK89352: EGL1408E Can not find printer ?printer? when trying to run headl ess print job

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    - Operating System: Microsoft Windows
      - Product name: Rational Business Developer 7.5.1.2
    Description of problem:
    EGL1408E Can not find printer ?printer? when trying to run headl
    ess print job
    
    Step to reproduce:
    1) Enable Capability EGL Developer ? EGL Text UI
    2) Create a new EGL ? EGL Project and click Next. Select General
     Project
    and click Next. Select Target Runtime Platform 'Java'. Click Fin
    ish.
    3) File ? New, EGL ? Form Group and click Next. Specify package
    maps,
    name map and click Next.
    
    4) Within map.egl switch to Source tab. Enter: validationBypassK
    eys = [pf2], helpKey = pf1, pfKeyEquate = yes}
    form Form1 type printForm
    
      { FormSize = [24, 80], Position = [1, 2]}
    
      * {fieldLen = 36, Position = [2, 19], value = 'This is a test
    form'};
      * {fieldLen = 27, Position = [5, 18], value = '1. Create the p
    rogram'};
    
      * {fieldLen = 27, Position = [6, 18], value = '2. Create the p
    rint form'};
    
      * {fieldLen = 36, Position = [7, 18], value = '3. Create the r
    esource association '};
    
      * {fieldLen = 37, Position = [8, 18], value = '4. Test the Rep
    ort'};
    end
    
    5) File ? New, EGL ? Program. Specify package programs and name
    Prog.
    Add beneath package statement:
    
    import maps.*;
    
    Add beneath variableName:
    
    use printForm;
    
    Add within main():
    
    ConverseVar.printerAssociation = 'MyJob01:Printer';
    
    print Form1;
    
    close Form1;
    
    print Form1;
    
    close Form1;
    
    print Form1;
    
    Remove the following line:
    msgTablePrefix = 'msgT',
    6) Generate the code
    7) Add to JavaSource/rununit.properties:
    vgj.ra.printer.systemName=d:/test.txt
    vgj.ra.printer.fileType=seqws
    vgj.ra.printer.replace=0
    vgj.ra.printer.conversionTable=
    vgj.ra.printer.text=0
    vgj.ra.printer.formFeedOnClose=1
    8) Run JavaSource\programs\Prog.java as Java application
    Result:
    EGL1408E Printer 'Printer                                     '
    was not found.
    These printers are available:
    ...
    EGL0002I The error occurred in Prog processing the main function
    .
    
    Workaround:
    None
    

Local fix

Problem summary

  • Incorrect function
    

Problem conclusion

  • Incorrect function
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK89352

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-06-19

  • Closed date

    2009-11-09

  • Last modified date

    2009-11-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R751 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
09 November 2009