[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Footing question
i've had similar problems. fwiw, i don't use max-lines. i just use
top-margin and bottom-margin, scooching the bottom-margin up until i
don't have the problem.
Greg
Darwin Anderson wrote:
> I have the following footing. When I use the
> delivered 'setup01a.sqc' (code below) it prints as expected,
> at the bottom of each page.
>
> But, when I try to use the attached Declare-Printer and
> Declare-Layout code the footing appears at the bottom of the
> first page. On every subsequent page, appears at the TOP
> of an otherwise blank page. It looked like the top to bottom
> page size was whacked out causing the footing to wrap to
> a new page ( the Max-lines command).
>
> I have varied the max-lines from 40 to 60 without any change
> in results.
>
> +++++++++++++++ footing section code +++++++++++++
>
> BEGIN-FOOTING 2
>
> IF $report_end = 'N'
> PRINT 'PAC Contribution Report continues' (2) Center
> ELSE
> PRINT 'END OF PAC Contribution Report (AL_PACrp)'
> (2) Center
> END-IF
>
> END-FOOTING
>
> ++++++++++ Setup section code +++++++++++++++++
>
> BEGIN-SETUP
> THIS STMT PRODUCES CORRECT FOOTINGS
>
> #INCLUDE 'setup01a.sqc'
>
> +++++++++++++++++++++++++++++++++++++++++++
>
> THIS STMT PRODUCES INCORRECT FOOTINGS
>
> DECLARE-PRINTER HP-DEFINITION ! enlarged font
> TYPE=HP
> FONT=3
> PITCH=10
> END-DECLARE
>
> DECLARE-LAYOUT DEFAULT_PORTRAIT ! portrait
> PAPER-SIZE=(8.5, 11.0)
> LEFT-MARGIN=0.5
> RIGHT-MARGIN=0.5
> MAX-LINES=52
> ORIENTATION=PORTRAIT ! 75 columns for printing
> END-DECLARE
>
> END-SETUP
> +++++++++++++++++++++++++++++++++++++++++
>
> I'm running on SYBASE 11.0.2.1
> SQRW 3.0.13.2
>
> all advice greatly appreciated
> TIA
> Darwin Anderson
> dander03@avis.com