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

Re: Printing in Landscape in Dot Matrix and Line printers.



Makhari,

> We are having some difficulty printing a report landscape from the
> Unix server on a dot matrix and a line printer.  The orientation of
> the report in the begin-setup section does not seem to make any
> difference on the server (it always prints portrait).  In windows it
> does print both portrait and landscape but not in Unix.
>
> Please try and give us some help in this regard. If you can test any
> report or have worked on such a problem  mail us a solution we
> would be grateful.

Try this little test program.  It works fine on my unix box:

begin-setup
declare-layout default
   orientation=landscape
end-declare
end-setup

begin-program
do main
end-program

begin-procedure main
move 1 to #i
while #i <= 90
   print #i (1,1) edit 888
   print '*' (1,99)
   next-listing
   add 1 to #i
end-while
end-procedure

Ray
----------------------------------------------------------------------
Ray Ontko       |  Ray Ontko & Co  |  "Time for a new signature line."
rayo@ontko.com  |  Richmond, In    |  See us at http://www.ontko.com/