Subject: | |
From: | |
Reply To: | |
Date: | Fri, 31 Aug 2001 02:15:21 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
"Jonathan M. Backus" wrote:
>
> I have a network printer setup for native spooling. I have an environment
> file with an "<Esc>l66F" (Lines per page). I create a test file in the
> editor with 130 lines and using the PRINT command with a file equation
> (including the environment) to convert it into a spoolfile. I send it to
> the print and it works the way I expect, 66 lines of output, skip to the
> next page, and print more. I then take a simply little COBOL program that
> opens a spoolfile for output and does "WRITE PRINT-REC FROM REPORT-LINE
> AFTER 2" to it, again using a file equation (including the environment).
> When I send this to the printer it prints 67 lines, looses 3, and starts
> printing on the next page ?!?
>
> So, does anybody have a guess why? I don't (yet).
I am pretty sure that it is COBOL causing CCTL %2xx to be put in
the spoolfile records.
The network spooler by default handles the %2xx sequences via
an ESC sequence, in contrast to the serial spooler who inserts
the approriate number of CR-LFs in the output stream.
Try the NPCONFIG item serial_printer_simulation=true.
We added that in a patch quite some time (2 years?) ago,
but I cannot remember by heart in which one.
If the item does not work, or not help, I would suggest to
contact the RC.
HTH,
Goetz.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|