35 pts.
 AS/400 printing error
How can I go to next page when I am printing from an RPG/400 program and using an externally described printer file. Scenarios are:- 1. I need to print only 2 lines in a page, and print 2 more lines in next page. 2. I am coming across overflow error CPF5004 when printing a database file. Should I use skip keyword? please someone help me out?

Software/Hardware used:
ASKED: December 12, 2008  7:11 AM
UPDATED: December 12, 2008  4:09 PM

Answer Wiki:
Hi, You should have a header and detail record in your external print file, with SKIP specified on the header and SPACE specified on the detail. Then you write your header record, write your detail lines, then another header record to take you to the next page then write more detail records. Regards, Martin Gilbert.
Last Wiki Answer Submitted:  December 12, 2008  10:43 am  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _