home *** CD-ROM | disk | FTP | other *** search
/ Oakland CPM Archive / oakcpm.iso / cpm / list / chrs.lbr / CHRS.DZC / CHRS.DOC
Text File  |  1986-12-07  |  2KB  |  25 lines

  1.   The  program  CHRS.COM sends a command string to  the  printer.  
  2. The  command  string  is  entered on the  CP/M  command  line  as 
  3. follows:  chrs 0f                  ==>compressed on
  4.           chrs 1b 34               ==>italics on
  5.           chrs 1b 2d 01            ==>underline on
  6.           chrs 1b 40               ==>codes off/reset TOF
  7.           chrs 1b 47               ==>double strike on
  8.           chrs 1b 45               ==>emphasized on
  9.           chrs 1b 57 01            ==>double width on
  10.           chrs 1b 43 #lines        ==>form length by # lines
  11.           chrs 1b 43 00 #inches    ==>form length by # inches
  12.           chrs 1b 55 01            ==>unidirectional on
  13.           chrs 1b 4e #lines(opt.)  ==>SOP # lines (13 default)
  14.           chrs 1b 38               ==>disable paper out sensor
  15.           chrs 1b 30               ==>sets 1/8" line spacing
  16.  
  17. NOTE:   The  above  examples  are supposed to be  good  for  most 
  18. printers that emulate the Epson control commands and they work on 
  19. my  Epson MX-100 with Graftrax Plus.   Letters may be entered  on 
  20. the command line in either upper- or lowercase.
  21. REMEMBER:  You're sending HEX commands to the printer.  If you're
  22. telling it that the form length is 51 lines (8 1/2"), the proper
  23. hex code is 33, not 51 (51 would tell the printer that your form
  24. is 81 lines, or 13 1/2", long).  Hex commands are the same as 
  25. decimal commands thru 9; after 9, they go their separate ways.