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

Re: Printing to HP - Trouble changing point-size in courier font



Try specifiying pitch instead of point-size for Courier.

HTH

Jon
-----Original Message-----
From: Yuri Hunter [mailto:lakef250@HOTMAIL.COM]
Sent: Monday, April 02, 2001 1:48 PM
To: SQR-USERS@list.iex.net
Subject: Printing to HP - Trouble changing point-size in courier font


Greetings to the group -

I've written an SQR report that uses Times-Roman font (different sizes with
some bold and limited use of boxes).  There are some header and footer
fields (e.g., Contact Person) that I pass as parameters to the program that
I want to print in Courier to make it plain what fields have been entered by
appearing they were "typed in."

The problem I'm having is that when I issue the alter-printer command to
change the font to Courier 10-pt, the font changes from Times-Roman to
Courier, but the size is super small (like 5-pt or less!).

I can't make the Courier point-size increase in size on the report output no
matter what value I specify in the alter-printer point-size parameter.  A
sample of my code follows:

#include 'setenv.sqc'

begin-setup
   #include 'setup02b.sqc'      !Printer specifications for HPLASERJET
end-setup

begin-footing
     alter-printer font=5 point-size=6
     print 'Contact Person:'                 (,90)    bold
     alter-printer font=3 point-size=10
     print $name                             (,107)   underline
end-footing


Platform information:

 $sqr-platform   : WINDOWS-NT
 $sqr-ver           : SQR/4.3.4/PC/Windows NT 4.0/Oracle 7.3.4/Jun 03 1999


Thanks in advance for any assistance!

  _____

Get your FREE download of MSN Explorer at http://explorer.msn.com
<http://explorer.msn.com>