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

Report loses formatting



I have created a report that is printed on a LP.  When this report is
ran from the server and prints, the line spacing and formating do not
appear.  When the report is ran on the client to a file, the formatting
does seen to work.


begin-setup
declare-printer LP
  TYPE=LINEPRINTER
end-declare
declare-layout line_printer
  PAPER-SIZE=(14,11)
  ORIENTATION=LANDSCAPE
end-declare
declare-report time_sheets
  layout=line_printer
  printer-type=lineprinter
end-declare
end-setup

<< sqr code>>

begin-procedure Print-Time-Sheet
  PRINT $pt_paygroup            (+3,1)
  PRINT $pt_emplid              (,6)
  PRINT $pt_name                (,13)
  PRINT $pt_reg_temp            (,37)
  PRINT $pt_full_part_time      (,39)
  PRINT $pt_benefit_program     (,41)
  ADD 1 TO #num_emp_prt
  if #num_emp_ort > 23
     do begin-new-page
  end-if
end-procedure

The Print-time-sheet procedure where each line is printed at +3 is not
happening.  Each row of the report is printed +1 and the colunm
placement parms are ignored.

Is there anyone out there that can shed a bit on light on this?

Thanks

henry_wade@tempe.gov