home *** CD-ROM | disk | FTP | other *** search
- ; *******************************************************************
- ;
- ; Sample printer config file for CLED Version 1.2
- ; For STAR NX-1000 Colour printer. Should also be close to the
- ; requirements for most Epson compats.
- ;
- ; Written : 04/07/90 Robert Alley
- ;
- ; Notes: Semicolon (;) marks beginning of a comment
- ; All commands are in hexidecimal (base 16), if preceded
- ; by a dollar sign ($), otherwise they must be in decimal,
- ; (base 10).
- ; Codes within each command are seperated by commas
- ; All spaces except within printer name are ignored
- ; Colour commands arent listed for mono printers
- ; Codes greater than hexidecimal 80 indicate a variable
- ; value, value sent is: code - 80 + variable.
- ; The graphics on command is followed by n1 n2 m1 m2....
- ; where n1 and n2 are the high and low bytes of the number
- ; of points to follow and m1,m2... are the actual graphic
- ; bytes.
- ; *******************************************************************
-
- ; ************************* First the ID string
- CLED1.2
-
- ; ************************* Now the driver proper
- Star NX-1000 Colour ; First define the printers name, max of 40 chars
-
-
- ; ************************* Is printer colour? y=yes, n=No
- y
-
- ; Printer is colour so define the colour commands,
- ; (comment out for mono printers)
-
- $1b,$72,$00 ; Change to black
- $1b,$72,$01 ; Change to red
- $1B,$72,$02 ; Change to blue
-
- ; ************************* Line spacing
- $1b,$33,$80 ; Set line spacing to n/216 of an inch. 80 is replaced
- ; by n.
-
- ; ************************* Character spacing
- $1b,$4d ; Enter ELITE pitch, 12cpi.
-
- ; ************************* Do we have NLQ? y=Yes n=No
- y
-
- ; only define NLQ and draft if we have NLQ, otherwise comment or leave out
- $1b,$78,$31 ; Enter NLQ
- $1b,$78,$30 ; Back to draft
-
- ; ************************* Underlining
- $1b,$2d,$31 ; Underline on
- $1b,$2d,$30 ; Underline off
-
- ; ************************* Enter single density 8-bit graphics mode (60 dots per inch)
- $1b,$4b ; Graphics on
-
- ; ************************* Display a solid vertical bar in the middle of the character grid
- $1b,$74,$31,$b3,$1b,$74,$30 ; display bar (switches to IBM char set and back)
-
-