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

Re: Using 'Alter-Printer' with Different Fonts



with an HP III or later, execute the Print Fonts listing from the dashboard
of the HP

In the rightmost column of this listing will be the character string to
produce this font.
(you must plug in the point size - start off with 10 or so to see if it's too
big or too small and then adjust accordingly.)

Create a string variable for each font you want to use and ENCODE it with this
setup string. usint <27> where the HP string calls for Esc.
Name these stringssomething like $BigFont, $Bigitalics  and $Vanilla etc.

I usually use WRITE rather than PRINT... so when you want to switch Fonts
Use WRITE 2 from $BigFont    !to set it to the big font.
                             $FooBar    !what I want printed in the big font
                             $vanilla     !to put it back again

Now if you want to print columns in proportional fonts, that requires direct
cursor addressing on the HP  which is another topic.
Hope this helps

Norman Dolph