You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

Peoplesoft sqrs

2 replies [Last post]
vasudau's picture
User offline. Last seen 10 years 33 weeks ago. Offline
Joined: 11/18/2008
Posts: 3

Hi,
how to apply the colors to sqr pdf output,
will you please give me the detailed code

Ashar's picture
User offline. Last seen 3 years 25 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: Peoplesoft sqrs

there is a set-color command in SQR. You may use that. I don't have the code though..

Thanks,

Ashar

sweety's picture
User offline. Last seen 8 years 39 weeks ago. Offline
Joined: 01/16/2009
Posts: 15
Re: Peoplesoft sqrs

SQR comes with sixteen defined colors.DECLARE-COLOR-MAP command is used to define additional colors in the BEGIN-SETUP section.

We can use defined colors directly as follows....
print 'Hello' (1,2)
foreground=('red')
background=('blue')

SET-COLOR nad GET-COLOR commands can also be used.This commands are allowed wherever the PRINT command is allowed.
The GET-COLOR command retieves the current color.
eg: get-color print-text-foreground=($color)
The SET-COLOR command sets the color.
eg:set-color print-text-foreground=(’purple’)