home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_100 / 145_01 / matrix < prev    next >
Text File  |  1979-12-31  |  512b  |  23 lines

  1. .. FOR MX-80 PRINTER WITH GRAFTRAX INSTALLED
  2. ..
  3. .WH HEX 1B 32 . ; 6 lines/inch is standard
  4. .fr 2 hex 1b 33 12 . ; 18/216" = halfline spacing
  5. .LS 1
  6. .RM 60
  7. .OW 60
  8. .he //THE MIDDLE/PAGE #/
  9. .FO /PAGE #//BOTTOM/
  10. .sc #
  11. .fi
  12.     An involved example of the use of printer controls
  13. would be to create a 3 by 3 matrix:
  14. .sp 1
  15. MATRIX = ^+^+^(|1#2#3|^)^-^-|4#5#6|^)^-^-|7#8#9|^+^+
  16.  
  17. .nf
  18. which should produce (with a half-spacing) printer:
  19.  
  20.          |1 2 3|
  21. MATRIX = |4 5 6|
  22.          |7 8 9|
  23.