[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Centering text



In SQR the center command center the text regarding the number of
caracter per line you have declared in your report.
To determine this value sqr use the PITCH value in the
declare-printer
or
alter-printer section


and the value you setup in your

declare-layout section

regarding your page size.

increase or decrease this value it depend of what you get or you can
calculate it if you know the value from your font propertie.

Franck,


Kristy_Engelkes@RSMI.COM wrote:
>
> I am using SQR v4.3.4 with PeopleSoft and SQLServer 7.0.  I am executing a
> PeopleSoft-delivered report that we customized.  It includes setup32.sqc and
> stdhdgtr.sqc, for those familiar with PeopleSoft.
>
> My problem is that the ReportTitle does not print centered on the report,
> although the stdhrgtr.sqc prints the title with the center command.  I am using
>
> lineprinter so it should not have anything to do with a proportional font being
>
> used.  I also looked in the archives but did not find any solutions for this.
>
> The heading print statements in stdhdgtr.sqc, which we have not customized, are
>
> as follows (I marked the line that is not centering with an asterick):
>
>   print '            '    (1,1)
>   print $stdhdg_co_nm     ()          center
>   print $stdhdg_rep_id    (+1,1)
>   print $ReportID         (0,+2)
> * print $ReportTitle      ()          center
>   let #RptCol = {ColR} - 2
>   print $stdhdg_page_no   (0,#RptCol)
>   print #page-count       (0,+2)      edit 88888888
>   print $stdhdg_run_dt    (+1,#RptCol)
>   print $ReportDate       (0,+1)
>   print $stdhdg_run_tm    (+1,#RptCol)
>   print $ReportTime       (0,+1)
>
> Has anyone else experienced this?  Any help or advice would be appreciated.
>
> Kristy Engelkes
> RSM McGladrey
begin:          vcard
fn:             Franck Masson
n:              ;Franck Masson
adr;dom:        Le capitol;;55 av. des champs Pierreux;Nanterre;92000;;
email;internet: franck.masson@brio.com
tel;work:       33 1 55 69 36 00
tel;fax:        33 1 47 25 02 59
tel;home:       Mobile : 33 6 84 80 17 05
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard