![](/images/new-backgrounds/1146581/146581171x1.webp)
Translating Host Spool Files:
The PRTXTOPC Command
The PRTXTOPC command translates host spool files that reside on an AS/400 print queue, prior to transferring them to a PC. After the file is translated, use the FROM3XB command (with no translation) to transfer the print file to the PC.
Before you transfer the file to the PC, you must change the file from a spool file to a physical file. To do this, use the AS/400 command CPYSPLF. You can run CPYSPLF independent of the PRTXTOPC command, or within the PRTXTOPC command.
If you run CPYSPLF independently, enter *TRANSLATE in the ACTION parameter on the PRTXTOPC prompt screen. To run CPYSPLF within the PRTXTOPC command, enter *COPYPRT in the ACTION parameter.
Figure 6-4 The PRTXTPC prompt screen
Copyprt spool file - PC/XLT: (PRTXTOPC)
Type choices, press Enter. |
|
| |
PC data file for use by TOPC: . |
| Name | |
Library name: | . . . . . . . . | *LIBL | Name, *LIBL |
PCDATA member name: | *FILE | Name, *FILE | |
Action to perform: |
| *COPYPRT, *TRANSLATE | |
Spool file name: | . . . . . . . . | QPRINT | Name |
Spool file number: | *LAST | ||
Job name or * for current job: | * | Name, * | |
User name: . . | . . . . . . . . |
| Name, ' ' |
Job number: . | . . . . . . . . |
| |
Name of "COPYSPLF" on host: . . | PCPRINT | Name | |
Library name: | . . . . . . . . | *LIBL | Name, *LIBL |
COPYFILE member name: | *FILE | Name, *FILE | |
Control character: | *FCFC | *FCFC, *PRTCTL, *NONE | |
PAGE SIZE Length | 066 | ||
"PAGE WINDOW"... | FROM column: . . | 001 | |
TO column: . . . | . . . . . . . . | 132 |
More...
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display F24=More keys
ETU400 User Guide 011603 |