home *** CD-ROM | disk | FTP | other *** search
- ; SOURCE.PRT
- ; Copyright Rick Maddy 1992, 1993
-
- ; 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.
-
- ; Version 1.3 to 1.4
- ; - Changed 10 high to Bold, 12 high to Italic, and comp high to Other.
-
-
- ; 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 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@
- bold on: [27](s3B
- bold off: [27](s0B
- italic on: [27](s1S
- italic off: [27](s0S
- other on:
- other off:
- 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
- bold on: [27]E
- bold off: [27]F
- italic on: [27]4
- italic off: [27]5
- other on:
- other off:
- 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
- bold on: [27]E
- bold off: [27]F
- italic on: [27]4
- italic off: [27]5
- other on:
- other off:
- 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
- bold on: [27]E
- bold off: [27]F
- italic on: [27]4
- italic off: [27]5
- other on:
- other off:
- init :
- reset :
- portrait:
- landscape:
- 6 lpi : [27]A[12][27]2
- 8 lpi : [27]0
- end
-
- ;===========================================================================
-
- ; Definition for a Canon LBP Laser printer.
- ; 'Other' is inverse print.
-
- 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
- bold on: [27][91]1m
- bold off: [27][91]21m
- italic on: [27][91]3m
- italic off: [27][91]23m
- other on: [27][91]7m
- other 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:
- bold on:
- bold off:
- italic on:
- italic off:
- other on:
- other 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
- bold on: [27][91]1m
- bold off: [27][91]0m
- italic on:
- italic off:
- other on:
- other off:
- init : [27][91]2J
- reset :
- portrait:
- landscape:
- 6 lpi :
- 8 lpi :
- end
-
- ;===========================================================================
-