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

Printing multiple reports



Hi everyone,
 I am using SQRW 3.0.18.1/Oracle 7.3.4/Win NT 4.0.
  I am creating multiple reports using SQR and I have written an SQC that
declares the printer and its printer string. When I run the SQR it creates
both the .lis and the .l01 files but for some reason both files do not have
the printer control characters on their first lines which tells the printer
how to print them.

 Moreover when I try to print them from the DOS prompt they do not print
properly since the printer characters are not used by the printer.  Any
suggestions would be greatly appreciated.

Thanks.

Charu

Shown below is a part of the SQC.

declare-printer HP
  type = laserjet

#ifndef MVS
#ifndef OS400
init-string= <27>E<27>(0N<27>&l0O<27>&l8D<27>&l88F<27>(s16.66H<27>&a9L
!            |    |       |       |       |        |           |
!            |    |       |       |       |        |            --> Left
Margin
!            |    |       |       |       |         --> Line Printer font
!            |    |       |       |        --> 88 text lines
!            |    |       |        --> 8 lines per inch
!            |    |        --> Portrait mode
!            |     --> ISO 8859-1 symbol set
!             --> Reset
#endif
#endif
end-declare