[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Supress printing of blank last page
- Subject: Re: Supress printing of blank last page
- From: David Donnelly <Dave@ISISBIO.COM>
- Date: Fri, 23 Oct 1998 14:03:07 -0700
I've had to suppress that final formfeed. I had to use
declare-layout formfeed=no
declare-procedure before-page=printheadings
and in printheadings:
encode '<12>' into $gPageTopDirect
print-direct nolf $gPageTopDirect
This will do it for LP-type printers at least. You could probably work up a
similar thing for Postscript. Lotsa work ... wish I had a
"suppress-final-formfeed=yes" parameter.
At 08:52 PM 10/22/1998 -0500, you wrote:
>Dave,
>
>I assume that you're using -printer:hp or -printer:lp. If so,
>I don't know if there is a way to supress the final form-feed
>in the report, if that's what you're trying to supress. Right?
>
>You might get away with running the output file (.lis) through
>a post-process which strips off the final form feed. You could
>write this in SQR (using OPEN, READ, and CLOSE).
>
>Ray
>
>> Is there a command that will supress printing the last page of a report?
>> (SQR3, UNIX, Oracle)
>>
>> I have a program that performs duplex printing for certain conditions
>> (i.e., not on the back of every page), and part of the logic is to issue
>> the new-page command after printing some inter-office routing information
>> on the back of a page (this prints the information on the back of the page
>> without any headings due to a flag, and prepares the next page for the line
>> and distribution information for the next voucher). After the new-page
>> prints the routing address on the back, it prepares a "new blank page."
>> However, when there are no more records to process (from the SELECT), there
>> is no need for another page and this blank page prints upon completion of
>> the program. If I could add a command in a WRAPUP procedure to erase or
>> cancel the "current page", that would be the ticket.
>>
>> Thanks!
>>
>> Dave
>>
>>
>> n n n n
>>
>
>----------------------------------------------------------------------
>Ray Ontko | Ray Ontko & Co | "Time for a new signature line."
>rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/
>
>