AS/400 Printer files programming

895 pts.
AS/400 printing

is there any way to desing brand new printer file interactively like we do in SDA for display file/subfiles?

I've not designed any brand new printer file for RPG so far ...

please help..



Software/Hardware used:

Answer Wiki

Thanks. We'll let you know when a new response is added.

Like SDA … RLU but you probably won’t like it.


and google AS/400 RLU


yes – many programers don’t use RLU – they just code their pritner files directly.
The printed output tends to get way complicated and this tool isn’t all that sophisicated.
Of course we all cut and past from old printer files where we can.


this might be a good example

Discuss This Question: 4  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Nutangujar
    Thanks Phil.. Is it better to directly write DDS/layout than to use RLU... I'm completely new to this area... Thanks, Nutan
    895 pointsBadges:
  • Nutangujar
    Thanks Phil.. that makes life easier.
    895 pointsBadges:
  • Yorkshireman
    The answer is.... It all depends.. There are people here who still write internal described printer files. Tools like 2e, Lansa, Magic and so on provide a higher level. RLU is the IBM approach - clunky and quirky My own favoured approach leans towards Phils comment - first write yourself some clean, understandable, well structured DDS for a printer file. Include in it the keywords you may only use 'sometimes' give it a structure for Header, Sub header, body text, sub footer, footer, end of report. Provide standard totals fields for .number of records and so on - comment out a whole load of that stuff Use it as your template for any printer files. Even at the cost of doing a bunch of moves in the code from your database fields to your standard fields exsr print total printtotal begsr Eval PrtTotal = Total Eval Col1 = ABCDE Eval Col2 = DEFGH write total ensdr - that kind of thing But then , I still normally use 2e, so I never have to care about all this frothy detail of getting presentation stuff together - the database design is the thing - all else should flow from it on auto pilot.
    6,085 pointsBadges:
  • pdraebel
    Strangely no one mentioned the Options in CODE 400 or using WDSC. The options for designing Printer files are pretty much like designing a screen and you get an instant look at how the printout will look like.
    7,545 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: