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

Re: Time Cards



Louie,

Here are some snippets of SQR code that I have used to rotate text.
The printer-type is declared as an hp printer.  I used escape sequences to do 
the rotation.

Good Luck!

Stephen Wowelko
Information Systems
Syracuse University


. . . .
Declare-Report Letter-A
    layout=Portrait-Layout
    printer-type=hp
end-declare
. . . .
encode '<27>&a90P' into $rotatefont
Print-Direct Nolf Printer = hp $rotatefont    ! rotate text 90 degrees

print ' SAMPLE PRINT  90 DEGREES' (+2,46)
. . . .
encode '<27>&a0P' into $rotatefont
Print-Direct Nolf Printer = hp $rotatefont  ! rotate text  back to 0 degrees

alter-printer point-size=12 font=4
print '  ROTATED BACK TO 0 degrees  ' (+3,1)
. . . .



>>> Louie.Fogle@CEDAR.COM 03/20/02 07:40PM >>>
Hello,

We want to print time cards with an SQR program.  The program should print
the name at the top of the card in portriat.  Then it should print other
information on the side of the card in landscape.  Can this be done with an
SQR?  If anyone has done this, please e-mail me the SQR at
Cedar-lf@ci.huntsville.al.us.

Louie