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

Re: HPLASERJET PRINTING



Try naming your declare sections as follows:

Declare-Printer default-hp

Declare-Layout default

And then in the body of the program have the following command before any
printing is done:

use-printer-type hp

John L. Kellogg
MITI Technical Support Manager






Allan Geetter wrote:
>
> I am trying to create a report that will be printed on a HP Laserjet
> printer in LANDSCAPE.  I set up a DECLARE-PRINTER and DECLARE-LAYOUT as
> follows:
>
> Begin-Setup
>  Declare-Printer HP-PRINTER
>   FONT-TYPE=PROPORTIONAL
>   FONT=4
>   SYMBOL-SET=12U
>   Type=HPLASERJET
>   END-DECLARE
>
>  DECLARE-LAYOUT HP-LAND
>   PAPER-SIZE=(11,8.5)
>   ORIENTATION=LANDSCAPE
> !  LINE-WIDTH=11
> !  PAGE-DEPTH=8.5
>    MAX-COLUMNS=133
>    MAX-LINES=60
>   END-DECLARE
>
> When I run the job and print the output file, the output looks as
> follows:
>     22-Oct-1996 09:46        UNIVERSITY of HARTFORD
>                               OFFICE of the REGISTRARge 1
>      COLLEGE 06  : College of EngineeringST REPORT
>      LEVEL   01  : UndergraduateUM CURRENT-CREDIT-HOURS:
>      FOR TERM 1996-10      MINIMUM GPA-CREDIT-HOURS:     14.00
>
> ===========================================================================
>      =========================================================GE
>      049-92-6365JOAbd. Wahib, Khairul Nazri [SZFRDNLST]  College of
> Engineering
>      GRAD.-STATUShanical Engi-------FULL COURSE NUMBER------
> --------HOU
>      RS--------         COLLEGE            SUBJ  CRSE  CALL#  GRADE
> ATTP.  EARN
>      ED  GPT-PTS  RPT  INSTRUCTOR
>                         College of Enginee ME    341   48726   B
> 3.00    3.0
>      0
>            9.00
>
>                        Lahey
>                         College of Enginee ME    470   53502   D+
> 3.00    3.0
>
> The report continues to come out as protrait.  What am I doing wrong or
> can't this be done?  The report is intended to be printed on an HP5/P.
>
> When I look at the .lis file, I do not see any escape codes which I
> thought would be generated by SQR to be sent to the printer.
>
> Allan Geetter
> University of Hartford
> West Hartford, CT 06117
> geetter@uhavax.hartford.edu
> (860)768-4889 (voice)
> (860)768-4907 (FAX)