home *** CD-ROM | disk | FTP | other *** search
- ; SOURCE.PRN
- ; Copyright Rick Maddy 1992
-
- ; Changes:
-
- ; Version 1.01 to 1.1
- ; - Changed name of first printer from HPLJ to LaserJet.
-
- ; Version 1.1 to 1.2
- ; - None
-
- ; Version 1.2 to 1.3
- ; - Added the definition for the Canon Laser Printer.
-
-
- ; This is a sample printer definition file. Feel free to change any values
- ; as needed for your printer or add any new printers you may have. Do not
- ; remove any lines within a definition. If your printer does not support a
- ; feature, leave the value blank.
-
- ; Of all the codes listed, you will probably want to adjust the margins to
- ; suit your needs. The three high on and three high off commands are others
- ; you may wish to change. These specify the highlighting used for comments
- ; and keywords. All printers have defaulted to bold print. Feel free to
- ; change the codes for others such as italic or underline. The only others
- ; you will probably changes are the init and reset codes. The init should
- ; contain codes to select the proper character set (IBM), place printer in
- ; draft or NLQ, etc. The reset is sent after the file is done printing. This
- ; could be used to place the printer back to its previous settings.
-
- ; See SOURCE.DOC for more on modifying this file.
-
-
- ; Printer definition for a Hewlett Packard Laserjet.
-
- begin LaserJet
- page width: 8.5
- page length: 11
- top margin: .5
- bottom margin : .5
- left margin: .3
- right margin: .2
- top edge: .5
- bottom edge : .5
- left edge : .3
- right edge : .2
- 10 pitch : [27](s10H
- 12 pitch : [27](s12H
- compressed : [27](s16.66H
- comp size : 16.6666
- underline on: [27]&dD
- underline off: [27]&d@
- 10 high on: [27](s3B
- 10 high off: [27](s0B
- 12 high on: [27](s3B
- 12 high off : [27](s0B
- comp high on: [27]&dD
- comp high off : [27]&d@
- init : [27]E[27]&l2A[27](10U
- reset : [27]E
- portrait: [27]&l0O
- landscape: [27]&l1O
- 6 lpi : [27]&l6D
- 8 lpi : [27]&l8D
- end
-
-
- ; Definition for an Epson Dot Matrix printer.
-
- begin Epson
- page width: 8.5
- page length: 11
- top margin: .5
- bottom margin : .5
- left margin: .5
- right margin: .5
- top edge: 0
- bottom edge : 0
- left edge : 0
- right edge : 0
- 10 pitch : [27]P
- 12 pitch : [27]M
- compressed : [27]g
- comp size : 15
- underline on: [27]-1
- underline off: [27]-0
- 10 high on: [27]E
- 10 high off: [27]F
- 12 high on: [27]E
- 12 high off : [27]F
- comp high on: [27]E
- comp high off : [27]F
- init : [27]@
- reset :
- portrait:
- landscape:
- 6 lpi : [27]2
- 8 lpi : [27]0
- end
-
-
- ; Definition for an Okidata Dot Matrix printer.
-
- begin Okidata
- page width: 8.5
- page length: 11
- top margin: .5
- bottom margin : .5
- left margin: .5
- right margin: .5
- top edge: 0
- bottom edge : 0
- left edge : 0
- right edge : 0
- 10 pitch : [18]
- 12 pitch : [27]:
- compressed : [15]
- comp size : 17
- underline on: [27]-1
- underline off: [27]-0
- 10 high on: [27]E
- 10 high off: [27]F
- 12 high on: [27]E
- 12 high off : [27]F
- comp high on: [27]E
- comp high off : [27]F
- init : [24]
- reset :
- portrait:
- landscape:
- 6 lpi : [27]A[12][27]2
- 8 lpi : [27]0
- end
-
-
- ; Definition for an IBM Proprinter Dot Matrix printer.
-
- begin ProPrinter
- page width: 8.5
- page length: 11
- top margin: .5
- bottom margin : .5
- left margin: .5
- right margin: .5
- top edge: 0
- bottom edge : 0
- left edge : 0
- right edge : 0
- 10 pitch : [18]
- 12 pitch : [27]:
- compressed : [15]
- comp size : 17
- underline on: [27]-1
- underline off: [27]-0
- 10 high on: [27]E
- 10 high off: [27]F
- 12 high on: [27]E
- 12 high off : [27]F
- comp high on: [27]E
- comp high off : [27]F
- init :
- reset :
- portrait:
- landscape:
- 6 lpi : [27]A[12][27]2
- 8 lpi : [27]0
- end
-
-
- ; Definition for a Canon LBP Laser printer.
-
- begin CanonLBP
- page width: 8.5
- page length: 12.1
- top margin: .5
- bottom margin : .5
- left margin: .3
- right margin: .2
- top edge: .5
- bottom edge : .5
- left edge : .3
- right edge : .2
- 10 pitch : [27]PzNcourier10.IBML[27]\
- 12 pitch : [27]PzNelite12.IBML[27]\
- compressed : [27]PzNcourier20.IBML[27]\
- comp size : 20
- underline on: [27][91]4m
- underline off: [27][91]24m
- 10 high on: [27][91]7m
- 10 high off: [27][91]27m
- 12 high on: [27][91]7m
- 12 high off : [27][91]27m
- comp high on: [27][91]7m
- comp high off : [27][91]27m
- init :
- reset :
- portrait: [27][91]14p
- landscape: [27][91]15p
- 6 lpi : [27][91]0 L
- 8 lpi : [27][91]4 L
- end
-
-
- ; Definition for a Generic printer.
-
- begin Generic
- page width: 8.5
- page length: 11
- top margin: .5
- bottom margin : .5
- left margin: .5
- right margin: .5
- top edge: 0
- bottom edge : 0
- left edge : 0
- right edge : 0
- 10 pitch :
- 12 pitch :
- compressed :
- comp size :
- underline on:
- underline off:
- 10 high on:
- 10 high off:
- 12 high on:
- 12 high off :
- comp high on:
- comp high off :
- init :
- reset :
- portrait:
- landscape:
- 6 lpi :
- 8 lpi :
- end
-
-
- ; Definition to print to the screen - assumes ANSI.SYS loaded.
-
- begin Screen
- page width: 8
- page length: 4.166667
- top margin: 0
- bottom margin : 0
- left margin: 0
- right margin: .1
- top edge: 0
- bottom edge : 0
- left edge : 0
- right edge : .1
- 10 pitch :
- 12 pitch :
- compressed :
- comp size :
- underline on: [27][91]7m
- underline off: [27][91]0m
- 10 high on: [27][91]1m
- 10 high off: [27][91]0m
- 12 high on:
- 12 high off :
- comp high on:
- comp high off :
- init : [27][91]2J
- reset :
- portrait:
- landscape:
- 6 lpi :
- 8 lpi :
- end
-