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

Re: Font point size & Dynamic query variables



Erin Bagozzi wrote:

> I am working on a report and I am stuck on two things.  Any help
> would be extremely appreciated.  I looked through the user-lists
> archives but I could not find an answer.
>
> 1) I want the entire report to print out in a smaller font point
> size.  Right now I am calling setup01.sqc.  I looked at the SQR
> manual and I couldn't make heads or tails of the difference
> between using a printer-init statement, declare-layout, and
> declare printer.  I tried using a Declare-printer statement
> in my SQR but I kept getting an error that I can't use that
> function when I am using printer-init.  Any help or guidance?

you can't include a peoplesoft setup sqc if you do a declare-printer because
the setup sqc contains a printer-init.

assuming you are using an HP printer, setup01.sqc sets a pitch of 16.6 cpi
which throws the printer into the line printer font. i don't think you can
change the size of that font. you can do a graphic font command to change the
font and pointsize. 'graphic font 3 4' will give you 4-point courier. if you
want to make your own setup sqc, here's a printer-init that will give you 4
point univers:

printer-init <27>E<27>(10U<27>&l0O<27>&l6D<27>&l66F<27>(s4148t0b0s4.0v1P
!            |    |       |       |       |        |
!            |    |       |       |       |         --> Univers
Font,Medium,Upright,4 Point
!            |    |       |       |        --> 66 text lines
!            |    |       |        --> 6 lines per inch
!            |    |        --> Portrait mode
!            |     --> IBM PC symbol set
!             --> Reset

page-size 66 300

Greg