AminetAminet
Search:
84450 packages online
About
Recent
Browse
Search
Upload
Setup
Services

text/print/cha_willprint.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Insert hex codes into text
Author:Claude Heiland-Allen <claude.heiland-allen at lincoln.oxford.ac.uk>
Uploader:Claude Heiland-Allen <claude heiland-allen lincoln oxford ac uk>
Type:text/print
Version:1.1 (2000.01.20)
Requires:AmigaOS v37
Architecture:m68k-amigaos
Date:2001-11-01
Download:http://aminet.net/text/print/cha_willprint.lha - View contents
Readme:http://aminet.net/text/print/cha_willprint.readme
Downloads:3753

$VER: cha_willprint.readme 1.2 (2001.10.30) Claude Heiland-Allen

I knocked up this little utility for Will on the Amiga-Hacks
mailing list, so he could send hex in text.  Hi Will!

Usage: cha_willprint <inputfile >outputfile
Example: cha_willprint <cha_willprint.example >PAR:

File format:  you put a hex code in between <...> in your
text (upper or lower case, must be two digits), and the
output will contain that hex code.  This means that you
can't use < and > in the text itself, but you can use the
codes <3C> and <3E> respectively.  Check out the example
text.

Notes:
  - you can abort with control-C if you're getting scared
  - no error messages: check the return code in the shell
    (0 is good, not 0 is bad)
  - if you use Amiga escape codes and send the output to
    PRT: it should be more hardware independent than using
    printer escape codes and sending the output to PAR:,
    but then special printer commands are much longer, and
    you need a driver for the printer

Future:
  - standard ANSI codes (perhaps like <#bold> ... <#\bold>)
  - no new version will appear if no-one wants it

Contents:
    cha_willprint/.build                    make file
    cha_willprint/.distribution             distribution script
    cha_willprint/cha_willprint             the program
    cha_willprint/cha_willprint.e           E source code
    cha_willprint/cha_willprint.example     example text
    cha_willprint/cha_willprint.out         example output
    cha_willprint/cha_willprint.readme      this file


Contents of text/print/cha_willprint.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  149     334  44.6% -lh5- 435b Jan 20  2000 cha_willprint/.build
[generic]                  176     341  51.6% -lh5- b54b Jan 20  2000 cha_willprint/.distribution
[generic]                  853    1816  47.0% -lh5- b5bf Jan 20  2000 cha_willprint/cha_willprint
[generic]                  727    1509  48.2% -lh5- 8533 Jan 20  2000 cha_willprint/cha_willprint.e
[generic]                  167     212  78.8% -lh5- 24f5 Jan 20  2000 cha_willprint/cha_willprint.example
[generic]                  153     195  78.5% -lh5- 3a36 Jan 20  2000 cha_willprint/cha_willprint.out
[generic]                  803    1772  45.3% -lh5- bf5a Jan 20  2000 cha_willprint/cha_willprint.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         7 files    3028    6179  49.0%            Nov  1  2001

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>