Translating Print Files

The translation commands PRTXFRMPC and PRTXTOPC translate print files. The command PRTXFROMPC translates a micro print file that was previously transferred to the host with no translation using the TO3XB command. The PRTXTOPC translates a host spool file prior to transferring the file to the micro with the FROM3XB command. Both translation commands can be run in batch mode on the host.

The only translation that is necessary when transferring print items between the host and a micro is the ASCII/EBCDIC translation. The PC format translations of *TAB, *DIF, *TEXT and *BASICS are not used to translate print files.

Mac users: Do not run the PRTXFRMPC and PRTXTOPC commands. They are intended for use only with PC-DOS.

Translating PC Print Files:

The PRTXFRMPC Command

The PRTXFRMPC command translates PC-DOS print files that were transferred to the host using the TO3XB command. After the file is translated, it is added to the AS/400 output queue. The file automatically prints when it reaches the top of the queue, unless you enter *YES in the HOLD parameter. In that case, the file remains in the output queue until you release it manually.

To run the PRTXFRMPC command, supply the name of the file to translate, the output queue to send the print file to after translation, and, optionally, printer information such as lines per inch, characters per inch, and number of copies.

Always use the translation table ATOE3, which translates print data from the micro format (ASCII) to the host format (EBCDIC).

Figure 6-3 The PRTXFRMPC prompt screen

Translate PC file to spool: (PRTXFRMPC)

Type choices, press Enter.

 

 

 

PC data file created by FROMPC

 

Name

 

Library name:

*LIBL

Name,

*LIBL

PC data member name:

*FILE

Character value, *FILE

Output queue:

 

Name

 

Library name:

*LIBL

Name,

*LIBL

Length--lines per page: . . . .

66

1-255

 

Lines per inch:

6

6, 8,

4, 9

Characters per inch:

10

10, 12, 15

Form width:

132

1-198

 

Overflow line number:

63

1-255

 

Form type:

*STD

Character value, *STD

Number of copies:

1

1-99

 

Hold spool file:

*NO

*YES,

*NO

Translation table file name: . .

TRANSLATE

Name

 

Library name:

*LIBL

Name,

*LIBL

Translation table member name:

ATOE3

Name

 

Bottom

F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys

PRTXFRMPC Example

ETU400 User Guide 011603

6-9

Page 84
Image 84
Nlynx ETU400 manual Translating Print Files, Translating PC Print Files Prtxfrmpc Command, Prtxfrmpc Example