[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Report loses formatting
Wade,
Did you get this to work? I don't see anything wrong with
the code you have here. I'm particularly surprised that it
doesn't work the same on both the server and the client.
What versions of SQR are you running on the client and on
the server? Are you sure you're running the same sqr programs
in each place?
Ray
> 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
>
----------------------------------------------------------------------
Ray Ontko | Ray Ontko & Co | "Time for a new signature line."
rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/