home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
new
/
util
/
cli
/
parex
/
s
/
parex.pxs
Wrap
Text File
|
1994-02-17
|
3KB
|
71 lines
; PARex v3.x EXAMPLE DEFAULT SCRIPT < PARex.pxs > (stored in 'S:' directory)
; ~~~~~~~~~~
; Updated: 22-Nov-93
; Purpose: This script contains some example replace data.
;
; PARex, Copyright ©1991-1993, Chris P. Vandierendonck, All Rights Reserved.
; ###########################################################################
MODE WORDLIST
; This mode will set each word of the source file on a line of its own.
; The replace data is very basic, and can be optimized very easily.
REPL " " BY "\n"
REPL ", " BY "\n"
REPL "; " BY "\n"
REPL ". " BY "\n"
REPL "? " BY "\n"
REPL "! " BY "\n"
REPL "(" BY "\n"
REPL ")" BY "\n"
REPL "[" BY "\n"
REPL "]" BY "\n"
REPL "{" BY "\n"
REPL "}" BY "\n"
; ###########################################################################
MODE PRINTRAW
; This mode will convert the AmigaDOS printer control sequences to the
; printer specific commands.
; The replace data contains the most basic control sequences. The raw
; printer commands are those of the StarLC24-10 printer and the HPIIIP
; laserprinter (PCL5).
; To use raw commands you must start PARex with the following arguments :
; -> StarLC24-10 : 'PARex MODE PRINTRAW'
; -> HPIIIP : 'PARex MODE PRINTRAW WHEN HP'
REPL \ec BY \e@ OR \eE WHEN HP ; init/reset printer
REPL \e[0m BY \e5\eF\e-0\e_0\eT OR \e&d@\e(sbS WHEN HP ; reset to normal char set
REPL \e[1m BY \eE OR \e(s5B WHEN HP ; bold on
REPL \e[22m BY \eF OR \e(sB WHEN HP ; bold off
REPL \e[3m BY \e4 OR \e(s1S WHEN HP ; italic on
REPL \e[23m BY \e5 OR \e(sS WHEN HP ; italic off
REPL \e[4m BY \e-1 OR \e&dD WHEN HP ; underline on
REPL \e[24m BY \e-0 OR \e&d@ WHEN HP ; underline off
REPL \e[0w BY \eh0 OR \e(s10h1T WHEN HP ; normal pitch
REPL \e[2w BY \eM OR \e(s12h2T WHEN HP ; elite on
REPL \e[1w BY \eP OR \e(s10h1T WHEN HP ; elite off
REPL \e[4w BY \cO OR \e(s15H WHEN HP ; condensed on
REPL \e[3w BY \cR OR \e(s10H WHEN HP ; condensed off
REPL \e[6w BY \eW1 OR "" WHEN HP ; enlarged on
REPL \e[5w BY \eW0 OR "" WHEN HP ; enlarged off
REPL \e[2\"z BY \ex1 OR \e(s2Q WHEN HP ; NLQ on
REPL \e[1\"z BY \ex0 OR \e(s1Q WHEN HP ; NLQ off (draft)
REPL \e[4\"z BY \eG OR \e(s3B WHEN HP ; doublestrike on
REPL \e[3\"z BY \eH OR \e(sB WHEN HP ; doublestrike off
REPL \e[6\"z BY \eq2 OR \e(s7B WHEN HP ; shadow on
REPL \e[5\"z BY \eq0 OR \e(sB WHEN HP ; shadow off
REPL \e[2v BY \eS0 OR "" WHEN HP ; superscript on
REPL \e[1v BY \eT OR "" WHEN HP ; superscript off
REPL \e[4v BY \eS1 OR "" WHEN HP ; subscript on
REPL \e[3v BY \eT OR "" WHEN HP ; subscript off
REPL \e[0v BY \eT OR "" WHEN HP ; normalize the line
REPL \e[2p BY \ep1 OR \e(s1P WHEN HP ; proportional characters on
REPL \e[1p BY \ep0 OR \e(sP WHEN HP ; proportional characters off