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

Re: HPLASERJET PRINTING



I, too, struggled with getting portrait output.  I don't know if using
HP Laserjet had anything to do with it.  I switched to postscript.  Also,
I was printing charts. I finally succeeded by using a layout with only the
orientation specified:

  DECLARE-LAYOUT chart_layout
    ORIENTATION=LANDSCAPE
  END-DECLARE

defining arguments in the print-chart and not declare-chart, and making
all position references in portrait. I think it should automatically
transpose the row and column values only if you specify orientation with no
other arguments.

  PRINT-CHART avg_hits_age_area  (1,5)    ! this is the upper left position
      DATA-ARRAY = aging_data_array
      DATA-ARRAY-ROW-COUNT = #max_age
      DATA-ARRAY-COLUMN-COUNT = 2
      LEGEND = NO
      CHART-SIZE = (75,44)                ! this is the width/depth
      TYPE = AREA
      TITLE = $title
      SUB-TITLE = $subtitle
      FILL = GRAYSCALE
      X-AXIS-LABEL = 'Age of Article in months + 1 (e.g. 1 = 0 months)'
      Y-AXIS-LABEL = 'Number of Hits'

Hope this helps!

Toni Iacobo
toni_iacobo@iacnet.com
Information Access Company

**********

Regarding:

**********

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)