home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
back2roots/padua
/
padua.7z
/
padua
/
misc
/
pr.lzh
/
README
< prev
Wrap
Text File
|
1990-04-18
|
5KB
|
146 lines
******************************************************************
pr - Unix like Printer Support Tool for AMIGA PRT: ( V1.3c )
16.03.90 Peter Decker
******************************************************************
pr
is a little program like the Unix
pr
command.
pr
is very useful in pipes so you may prepare the output
of your programs without loading
Preferences
.
Before each file is printed a requester appears to control
the printeroptions.
Of course it is no unique program. Most of the features you may
know from outher useful programs like UNIX
cat
or
AMIGADOS
type
.
For real Intuition-programmers this program may not be
a good example for using Intuition features.
Usage:
======
Usage: pr ? : To get these informations
pr [Options] [<filename> ...]
Options: [-f] [-n] [-h | -H] [-s] [-d] [-e] [-L]
[-w <width>] [-l <lines>] [-b <bottom>]
[-t <top>] [-o <output>]
Flags:
-o <output> : print to file <output>
This may be PRT:
-l <lines> : number of lines per page
-t <top> : number of top-blank-lines
-b <bottom> : number of bottom-blank-lines
-w <width> : number of columns
-f : (force) do not open requester
-n : numbered lines
-h : print a fileheader
containing date filename pagenr
-H : bold fileheader like above
-s : singlepage Mode
The page is 8 lines shorter because
of the paperout signal
-e : Elite on
-L : NLQ on (default is draft)
-d : show defaults (for tests only)
Without <filename> pr will print stdin.
Without <output> pr will print to stdout.
Examples:
=========
A standalone call may be:
* prompt> pr -o PRT: -h myfile.c myfile.h
Print myfile.c and myfile.h with a header to PRT: device.
* prompt> pr -o PRT: -b 6 american.doc
Print american.doc (66 Lines on a German PageFormat DIN A4).
If you use a Shell which supports a <|> sign for pipes
you can list your zoo-archiv with linenumbers.
* prompt> zoo -list archiv.zoo | pr -n -o PRT:
German Paperformats:
====================
DIN <lines> <width>
==========================================
A4 Portraet l=72 w=76 (default)
A5 Portraet l=50 w=56
A5 Landscape l=36 w=76
Known Bugs:
===========
If you use MyMenu (i do) you will see that it disappears
after pr was active.
This is not a bug of pr.
This is a missing MyMenu feature to control the Workbenchmenu
after Preferences had been changed.
Missing features:
=================
If you use pr from WorkBench it doesn't make a GURU
but it will not get any Parameters.
The Requester doesn't support all Printer-Options so
you have to change this Options with Preferences.
pr does'nt support patterns yet.
pr isn't resident, i have to learn how to make programs
resident.
Subject for Discussion:
=======================
Is it good to give the paperformat in numbers.
Wouldn't it be better to use the real papersize
in cm or inches.
Acknowledgements:
=================
I would like to thank those people:
AmigaDOS Resource Project
- for the arp.library and the commands
Matt Dillon
- for all the great D* -Tools
Computer Club RWTH-Aachen
- for getting knowledge of this Tools
- for help and hints : Stefan Becker
and Andreas Harrenberg
***********************************************************
This program is FREEWARE Programm.
This program may not be distributed without the permission
of the author.
This program cannot be sold for profit or included with any
commercial program without consent of the author.
Bugs ,corrections and suggestions desired.
Sourcecode available under
Internet :dec@cip-s01.informatik.rwth-aachen.de
:dec@suntex.dfv.e-technik.rwth-aachen.de
UUCP :dec@cip-s01.uucp
Thanks, Peter Decker
***********************************************************