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

Fonts - Excel vs. SQR



I am trying to duplicate an Excel template using SQR.  The spreadsheet uses
Arial 6 & 14-pt font.  I'm printing to an HP Laserjet 4000 N printer.  The
device settings for the printer indicate that Helvetica will be substituted
for Arial.

My SQR contains the following:
        BEGIN-SETUP
        declare-printer hpdef
                type=hplaserjet
                symbol-set=0U     ! ASCII symbol set
                point-size=6
                font=4          !Helvetica font available in SQR for HP
LaserJet printer types
        end-declare

        declare-report default
                printer-type=hplaserjet
        end-declare

        alter-printer
                font=4
                point-size=14
        END-SETUP

        BEGIN-HEADING 1
                Print 'TEST FONT OUTPUT'        (1,5) bold
        END-HEADING

I ran the SQR from SQRW (version 4.3.2) using the -Flpt1 flag.  LPT1 is
mapped to a networked, HP printer.  Unfortunately, the letters printed from
the SQR are slightly larger & wider than what is printed from Excel.  It
does appear to be using the correct font, but the size does not match.

Does anyone have an idea why this might occur?  How can I make the output
from these 2 programs look exactly alike?

Thanks a lot.
Travis