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

[sqr-users] Printing on Lexmark Lineprinter



We have a Lexmark lineprinter queue on UNIX.  We have custom sized timecards 
that we want to print the employee's name, department, and payenddt.  
Unfortunately, we are unable to get the one line of data to appear on the 
custom sized fan-fold form in the right location.  It appears to be treating 
the output as 8.5 x 11 paper.  In addition, the escape codes are appearing on 
the printed output of the file.  Listed below is our attempt at the SQR logic.  
Please let me know if you have any suggestions, thanks.
 
 
 Declare-Printer THIS_REPORT
  Type=LINEPRINTER
  init-string=<27>E<27>(0N<27>&l8D<27>&l0E<27>&l25F
    !             |    |      |       |       |
    !             |    |      |       |        --> 25 text lines
    !             |    |      |        --> top margin = 0 lines
    !             |    |       --> 8 lines per inch
    !             |     --> ISO 8859-1 symbol set
    !              --> Reset
 End-Declare
 
  Declare-Layout THIS_REPORT
      Paper-size=(8.5,3.17)
      Orientation=Portrait
      Top-Margin= .1
      Left-Margin=.1
      Max-Lines=25
      Max-Columns=130
      Char-Width=7.2
      Line-Height=9 
  End-Declare
 
  Declare-Report THIS_REPORT
      Printer-Type=LINEPRINTER
      LayOut=THIS_REPORT
  End-Declare
End-Setup

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users