[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Printing with bold
Hi Glenn,
When I have changed to the HP printer definition I usually add in a
'Declare-Printer' statement as well. I have attached some sample code below
which is working fine for me. HTH..Glenn Coulter
Begin-Setup
#Include 'setupdb.sqc'
#define PRINTER_TYPE HPLASERJET
Declare-Printer HP-definition
Type={PRINTER_TYPE}
Font=5
Point-Size=12
Pitch=17
Symbol-Set=0U ! ASCII symbol set
End-Declare
Declare-Layout default
Orientation=Portrait
Top-Margin= .4
Left-Margin=.40 !gmc from .6
Max-Lines=63
Max-Columns=130
Char-Width=7.2
Line-Height=12 ! 72/printer_point-size
End-Declare
End-Setup
.
.
. (print logic example from the main program)
!***'Total'
print $BEN1-TOTAL (+2,1) bold
print '$' (+0,#ccol5)
let #col = #ccol5+1
Graphic (+0,#col,8) horz-line {NORM_LNSIZE} ! Horizontal line.
-----Original Message-----
From: Ackerson, Glenn [mailto:Glenn.Ackerson@UNCO.EDU]
Sent: Tuesday, July 03, 2001 1:28 PM
To: SQR-USERS@list.iex.net
Subject: Printing with bold
Hi group,
I've been looking through the archives to see if I could figure out why I
can get the underline command to work fine, but not the bold command. I'm
running an SQR report using the standard Peoplesoft "setenv.sqc" parameters,
and I did notice that the default for the printer definition in this sqc is
"#define PRINTER_TYPE LINEPRINTER." Based on a message in the archives, I
tried changing the #define statement to the "#define PRINTER_TYPE
HPLASERJET" instead, but I'm still getting the same result - underlines work
fine, bold text doesn't print as bold. Any suggestions? Thanks in advance
for your response. If you do respond, if you wouldn't mind cc'ing your
response to me directly, I would get the response sooner (I get messages in
digest mode.) Thanks!
Cheers,
Glenn Ackerson
**************************************************
Glenn Ackerson
Information Technology Professional III
Internet Address: Glenn.Ackerson@Unco.edu
University of Northern Colorado
Information Technology
Carter Hall Greeley, CO 80639