home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / other / cled122s / print.drv < prev    next >
Encoding:
Text File  |  1991-05-14  |  2.4 KB  |  65 lines

  1. ; *******************************************************************
  2. ;
  3. ; Sample printer config file for CLED  Version 1.2
  4. ; For STAR NX-1000 Colour printer.  Should also be close to the
  5. ; requirements for most Epson compats.
  6. ;
  7. ; Written : 04/07/90 Robert Alley
  8. ;
  9. ; Notes:   Semicolon (;) marks beginning of a comment
  10. ;          All commands are in hexidecimal (base 16), if preceded
  11. ;           by a dollar sign ($), otherwise they must be in decimal,
  12. ;           (base 10).
  13. ;          Codes within each command are seperated by commas
  14. ;          All spaces except within printer name are ignored
  15. ;          Colour commands arent listed for mono printers
  16. ;          Codes greater than hexidecimal 80 indicate a variable 
  17. ;           value, value sent is:  code - 80 + variable.  
  18. ;          The graphics on command is followed by n1 n2 m1 m2....
  19. ;           where n1 and n2 are the high and low bytes of the number
  20. ;           of points to follow and m1,m2... are the actual graphic
  21. ;           bytes.
  22. ; *******************************************************************
  23.  
  24. ; *************************   First the ID string
  25. CLED1.2
  26.  
  27. ; *************************   Now the driver proper
  28. Star NX-1000 Colour  ; First define the printers name, max of 40 chars
  29.  
  30.  
  31. ; *************************   Is printer colour? y=yes, n=No
  32. y
  33.  
  34. ; Printer is colour so define the colour commands,
  35. ; (comment out for mono printers)
  36.  
  37. $1b,$72,$00          ; Change to black
  38. $1b,$72,$01          ; Change to red
  39. $1B,$72,$02          ; Change to blue
  40.  
  41. ; *************************   Line spacing
  42. $1b,$33,$80          ; Set line spacing to n/216 of an inch.  80 is replaced
  43.                   ; by n.
  44.                   
  45. ; *************************   Character spacing
  46. $1b,$4d             ; Enter ELITE pitch, 12cpi.
  47.  
  48. ; *************************   Do we have NLQ?  y=Yes n=No
  49. y
  50.  
  51. ; only define NLQ and draft if we have NLQ, otherwise comment or leave out
  52. $1b,$78,$31          ; Enter NLQ
  53. $1b,$78,$30          ; Back to draft
  54.  
  55. ; *************************   Underlining
  56. $1b,$2d,$31          ; Underline on
  57. $1b,$2d,$30          ; Underline off
  58.  
  59. ; *************************   Enter single density 8-bit graphics mode (60 dots per inch)
  60. $1b,$4b             ; Graphics on
  61.  
  62. ; *************************   Display a solid vertical bar in the middle of the character grid
  63. $1b,$74,$31,$b3,$1b,$74,$30  ; display bar (switches to IBM char set and back)
  64.  
  65.