[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



Thanks, Jon.  That did the trick.

However, instead of replacing point-size, I added pitch as follows:                          

    alter-printer font=3 point-size=8 pitch=15      

I found a calculation for pitch on the archive as follows:      120/pitch=point-size

Does this seem appropriate? 

FINAL QUESTION:  Adding the pitch to just the one alter-printer stmt above affected all other 26 alter-printer stmts that changed font to courier.  The pitch was not impacted for other alter-printer stmts where font was Times-Roman but the alter-printer stmts that changed font to Courier were changed as if the pitch parm were used.  Why would only adding pitch parm to the one alter-printer stmt affect all the other courier stmts?  Is this expected?

>From: Jon Alsager

>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: Re: Printing to HP - Trouble changing point-size in courier font
>Date: Tue, 3 Apr 2001 08:15:22 -0600
>
>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
>


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