ILE C/C++ Programmer's Guide


Using Printer Files

A printer device file can be accessed with a program-described file (specify SRCFILE(*NONE) on the CRTPRTF command) or with an externally described file. The object type is *FILE. The ADTS/400: Advanced Printer Function manual contains information on printer files.

Program-described files allow First Character Forms Control (FCFC). To use this, include the First Character Forms Control code in the first position of each data record in the printer file. You must use a printer stream file and the fwrite() function.

To work with externally described printer files, use one of:


[ Top of Page | Previous Page | Next Page | Table of Contents ]