PRINTRAN\PRINTRAN.HLP  ·  HLP  ·  8.6 KB  ·  1989-09-15  ·  from PCPlus_Personal-Productivity-Pack_Disk-1_Jun-1990
                      Printer Control Code Translator
                 Version 0.41 (c) J. C. Mansfield. 1/9/89

                            **** WARNING ****

If examining this file with an editor or debugger, do not make any changes
or any attempt to save it. If any modifications are made to this file it
may not function correctly with PRINTRAN. If the message "PRINTRAN.HLP
corrupted" appears, then a new copy must be obtained from the original
disk.

α00
                      No additional help available
α01
At the time PRINTRAN became resident, it was necessary to reserve some extra
memory to store the data that the resident program uses to perform
translations. The amount that was reserved was sufficient to hold the first
translation table, with a small margin for increase in size. The size of
resident memory cannot be increased subsequently.

To increase the available memory, reboot the PC and take account of the
following suggestions the first time PRINTRAN is run.

In order to reserve the maximum possible amount of memory (approx. 64k), use
the "large" switch, i.e.  "PRINTRAN <filename> /large"

A method which is more economical with memory, is to first load the largest
available translation file that you wish to use, which will reserve an amount
of memory that is just sufficient. After this, you may then replace the
translation by a smaller one,  or remove it by using  "PRINTRAN /off"
α02
PRINTRAN must be invoked using:

             PRINTRAN <filename>

If you wish to remove an existing translation without specifying a new one,
use:

             PRINTRAN /off
α03
The file specified in the command line could not be found.

Remember:    (a)  A file extension (e.g. ".TRA") must be specified
             (b)  If the file is on a different drive, the drive letter
                  must be specified
             (c)  If the file is not in the current directory of the selected
                  drive, then the directory must be specified by either
                  starting from the current directory, or by starting from the
                  root directory by preceding the path name with "\"


             PRINTRAN <filename>

     <filename> = [<drive>:][<path name>\]<filename>.<extension>
α04

                      No additional help available
α05
It was impossible to read the entire translation file due to insufficient
memory being available. This is most probably due to the fact that the PC's
memory is very nearly full.
 
It could also be that a file which is not a translation file has been
selected, and there is insufficient room for it in memory.

>>> Check that you have selected the correct translation file <<<
α06
                      No additional help available
α07
This means that a control code was found immediately following a "~". The
most probable cause is a line ending with "~".

The permissible tilde sequences are:
          ~@ or ~`       Null character (Ascii code = 0)

          ~A ... ~Z      Corresponding control code
          ~a ... ~z      Corresponding control code
          ~[             Escape (Ascii code 27)
          ~\             Ascii code 28
          ~]             Ascii code 29
          ~^             Ascii code 30
          ~_             Ascii code 31
          ~$hh           Ascii value given by hex value hh
          ~ddd           Ascii value given by decimal value ddd
          ~c             where  "c" is any text character not accounted  for
                         above,  returns  the  character,  with any  special
                         significance removed.  Of particular use are ~~ and
                         ~space.
α08
The end of a line was found without a delimiter, as defined in the third
line of the file.

>>> Check that you have not forgotten to put a delimiter at the start of
    of a comment line

>>> Check that the delimiter is not preceded by "~", which removes
    its normal significance.
α09
In the line indicated, there are two delimiters (as specified in line 3 of
the file).

Only one delimiter is allowed per line, which separates the input match
string from the output translation string.

>>> Ensure that any characters in either string which are the same as the
    delimiter are preceded by "~" to remove their special significance.
α10
The list of translations must be followed by a line, in which the first
significant character is the file terminator (as specified in line 2 of the
file).

>>> Check that the file terminator has been defined correctly in line 2

>>> Check that a file terminator has been placed after the last translation

>>> Ensure that it is the first character on the line (other than tabs or
    spaces).
α11
When starting to process the translation file, PRINTRAN checks for the
presence of the word "TRANSLATE" at the start. This may be in upper or
lower case but all letters must have the same case.

>>> Make sure that the word "TRANSLATE" is on line 1 of the file and that
    there are no leading spaces, tabs or other control characters to the
    left of it.
α12
The characters specified on lines 2 & 3 for file terminator and delimiter
are the same.

>>> It is easiest to alter the file terminator, but don't forget to alter
    the file terminator at the end of the file as well.
α13
Two identical input match strings are not allowed, since the resident
program cannot determine which string to use. Also, no input string must
match the leading part of any other input string.

An input string is the string to the left of the delimiter in a
translation line.

A match is determined purely by the sequence of ascii codes in each input
match string; the "match" rule cannot be circumvented by defining strings
in different ways: "~[A" is identical to "~$1B~$41" and to "~027~065"

Examples of forbidden pairs: (Cat - Catch) (Mouse - Mo) (~065 - A)
Examples of allowed pairs:   (Money - Honey)  (Bin - Ben)  (Erase - UnErase)

>>> Place the whole of the line indicated above at the beginning of the
    file as the first translation and run PRINTRAN again. This will now
    indicate the line which matches this one.α14 No translations were found.

If you wish to cancel all existing translations, use:

             PRINTRAN /off
α15
When defining an ascii value in decimal using ~, the three characters
following "~" must be in the range "0" to "9"; no other characters or
spaces are allowed.

>>> Make sure there are three decimal digits immediately following "~"

>>> Make sure you haven't omitted the "$" from a hexadecimal ascii code
    definition

>>> Decimal digits must not be preceded by "~" for any other reason
α16
Ascii characters can only have values in the range 0 - 255

>>> Check the decimal value given by the three characters following "~"
α17
When defining an ascii value in hexadecimal there must be two hexadecimal
digits following "~$". Each digit must be a digit in the range "0" to "9" or
a letter in the range "A" to "F" or "a" to "f".

>>> Make certain there are two hexadecimal digits immediately following "~$"

>>> "$" may not immediately follow "~" for any other reason.
α18
PRINTRAN ran out of memory while it was scanning the source file.

>>> Make sure you have at least 64k of memory free before running PRINTRAN

However, it is more likely that your translation file is too large or
complicated

>>> If file too big - Sorry! - Use a smaller file. I have found the space
    available to mere mortals such as myself has been quite sufficient!
α19
/ON & /OFF perform opposite functions, and therefore cannot be used
together.
α20
>>> Before using /ON, a translation must be successfully loaded. To do this,
    use:

             PRINTRAN <filename>
α21
This error occurred because /ON was specified when the current translation
was already turned on. You need take no further action since the
translation is now working.
α22
It is not possible to turn the current translation on because it is
incomplete. This is because the last attempt at installing a translation
was interrupted, probably by Control-C or Control-Break.

>>> Before using /ON again, a translation must be reloaded. To do this, use:

             PRINTRAN <filename>
α23
This error occurred because /OFF was specified when there was no translation
installed or in effect. No further action need be taken since translation is
not taking place.
α24
This error occurred because /OFF was specified when the current translation
was already turned off. You need take no further action since translation is
not taking place.
αEND Ω"\!¿ f╢5α^ s▀g/╜%╗ÆΩ
▒
,	±dº╒NI