
04-09-2008, 11:52 PM
|
| |
Re: form feed on print jobs end(V8.3, SCO Unix) Hi,
thank's;
F. STOCK jdanskinner@jdanskinner.com a écrit :
>3 Options I can think of:
>
>1. The SCO printer interface is tagging a ^L onto
> the print job as a normal default.
> You can customize the interface to omit the trailing ^L
> (my preferred solution.)
>
>2. Since your example shows pre-spooling the report
> to a file, you can reprocess the print file to omit
> the trailing ^L before sending it to the printer.
>
>3. Many printers have an option to not print empty
> pages, IE ^L^L. You could invistigate this for your
> particular printer.
>
>Regards...Dan.
>"Frédéric STOCK" <juramont.remove-me@club-internet.fr> wrote in message
>news:41F8A0A1.5040000@club-internet.fr...
>
>
>>Hi Peter,
>>
>>yes there are 3 ^L character in my_file, and one is at the end of the
>>file.
>>but how to continue to use the page-size function and resolve the "double
>>form feed" ?
>>why don't it appear on other printers we've got (Kyocera FS1000 (lpt),
>>HP2100TN (network), HP8100DN (network) ?
>>
>>Thank's.
>>F. STOCK
>>
>>Peter de Vries a écrit :
>>
>>
>>
>>>Frédéric STOCK wrote:
>>>
>>>
>>>
>>>
>>>>running Progress V8.3C11 under SCO unix OSR5.06, Xerox PE120i printer
>>>>(ethernet LPD connection, using SCO unix remote printer).
>>>>If I use the 'page-size' option in my progress programs, I always get an
>>>>empty blank page at the end of the print job.
>>>>let see the example:
>>>>
>>>>
>>>>
>>>
>>>
>>>>output to my_file page-size 60.
>>>>def var toto as int.
>>>>do toto = 1 to 125:
>>>>put "cpt=" toto skip.
>>>>end.
>>>>output close.
>>>>unix silent cat my-file|lp -dPE120 .
>>>>
>>>>
>>>>
>>>Check my-file for the number of CHR(12) characters (^L). If there are
>>>three, and one of them is the last character in the file, the blank
>>>page is added by the spooling system.
>>>
>>>
>>>
>>>
>>--
>>****************
>>Enlever ".remove-me" dans l'adresse.
>>Remove ".remove-me" from e-mail.
>>****************
>>
>>
>
>
>
>
--
****************
Enlever ".remove-me" dans l'adresse.
Remove ".remove-me" from e-mail.
**************** |