|
|||||||
|
|
![]() |
|
|
|
|
||
|
View Overprinting from a Green-Screen Session Hey, Ted: Sometimes when working remotely I have a printer emulation session. Other times I don't. The lack of printer support is a problem when I view reports that include underlined or highlighted (double-struck) fields. When I view such a report using the Display Spooled File (DSPSPLF) command, OS/400 sends message CPI3420 ("Overprinting not displayed.") and I cannot view all the data. Is there any way for me to view overprinting from a green-screen display session? --Mike I know where you're coming from, Mike. I've been there myself on many occasions. Yes, you can view overprinting in a green-screen session, sort of. Create a program-described database file with a record length one greater than your report. CRTPF FILE(QTEMP/SPLF) RCDLEN(133) Use the Copy Spooled File (CPYSPLF) command to copy the report to the database file. Specify CTLCHAR(*FCFC) to include forms control characters in the first position of the copied data. CPYSPLF FILE(QAD21P) TOFILE(QTEMP/SPLF) + JOB(999999/JOBUSER/JOBNAME) + SPLNBR(1) CTLCHAR(*FCFC) Use the Display Physical File Member (DSPFFM) command to view the database file. DSPPFM FILE(QTEMP/SPLF) Look for a plus sign (+) in column 1. Any record that begins with a plus sign overstrikes the previous record when printed. In the following example, the value "Joe Smith" is double-struck and the value "Lost Angeles" is underlined.
1 493 Joe Smith
+ Joe Smith
Lost Angeles
+ ______________
--Ted Related Articles See "Extract Reports from Disk Files" and the "related articles" listed at the bottom of the page.
|
Editors
Contact the Editors |
| Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved. |