home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 5
/
ctrom5b.zip
/
ctrom5b
/
DOS
/
PRINTER
/
HPPRT_21
/
DEMHPPRT.DOC
next >
Wrap
Text File
|
1994-12-19
|
9KB
|
268 lines
HPPRT 2.1 - 19 December 1994 (c) 1994 George Clijsen
===========================================================================
-+- UN-REGISTERED COPY OF HPPRT -+-
HPPRT printer program -----------------------------------------------------
HPPRT is a shareware program to print text files on a HP Laserjet printer.
It is tested with a HP Laserjet 2,3 and 4 with A4 paper format.
DESCRIPTION ---------------------------------------------------------------
HPPRT is a Shareware product. It is available through Users Groups,
Bulletin Boards, etc. You have the opportunity to try the program at
no charge to see if it meets your needs. If you continue to use the
program after evaluation, please complete the registration form at the
end of this document and send it with a registration fee of $10 to:
Note, it is also possible to obtain the sources to be able to run the
program on another platform. Currently a the MS-DOS and UNIX version
are supported.
Ing. G.W.J. Clijsen
Wierbeek 9
5501 EP Veldhoven
THE NETHERLANDS
BENEFITS OF REGISTRATION
1) A registered version of HPPRT which will be sent to you by E-MAIL.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! THE REGISTERED VERSION DOESN'T PRINT THE "UNREGISTERED COPY OF" !!
!! MESSAGE AT the pages. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! WHEN REGISTERING, IT IS POSSIBLE TO GIVE THE STRING TO BE PRINTED
!! AT the pages. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2) Notification of future versions of HPPRT
3) Support through E-Mail.
E-Mail addresses :
Internet: clijsen@ie.philips.nl
DISCLAIMER ----------------------------------------------------------------
The copyright owner disclaims all warranties and is not liable for
damages of any kind. By using HPPRT you agree to this.
The HPPRT command line
To see the helpscreen, just type hpprt alone, you will see something
similar like the one below:
Usage: hpprt -option filename
-p portrait mode
-l landscape mode
-m manual paper feed
-2r landscape, 2 column mode
-daten No date at pageheader
-datef File creation date at pageheader
-datec Current date at pageheader
-e do not replace ESC with
-o change output file
-h change default header
-pg3-6 only print pages 3 to 6
-tab6 change tabsize to 6 (default=8)
when you use HPPRT without any options you get the following defaults:
Paper format : landscape, 2 columns of 80 characters and 66 lines
TabSize : 8
Header : Current dat/time filename pagenumber
outputfile : C:\TMP\PRTFILE
ESC char : replaced with
pages : print all pages
DESCRIPTION OF THE OPTIONS
PAPER SELECTION
HPPRT supports 3 types op paper formats, they are portrait
landscape
landscape 2columns
C> hpprt -p myfile
The paper format is now portrait. The printarea
is now 119 characters by 98 lines.
C> hpprt -l myfile
The paper format is now landscape. The printarea
is now 170 characters by 66 lines.
C> hpprt -2r myfile
The paper format is now landscape, 2 columns. The
printarea is now 2 times 80 characters by 66 lines.
HEADER INFORMATION
Within the pageheader hpprt prints default the following information
left : current date/time
middle : filename
right : pagenumber
This information can be changed with the following options
C> hpprt -daten myfile
No date is used in the page header
C> hpprt -datef myfile
Date/time of file creation is used in the pageheader
C> hpprt -datec myfile
Current date/time is used in the pageheader
C> hpprt -h myfile
No string is printed in the middle of the pageheader
C> hpprt -hNewHeaderText myfile
C> hpprt -h"This is a new header text" myfile
C> hpprt -hnew_header_text myfile
C> hpprt -h"it's a bug" myfile
The string following -h is printed in the middle of
the pageheader
C> hpprt -daten -h myfile
This option will only print pagenumbers in the page header
ESCAPE CODE PROCESSING
If you print a document containing escape characters (ASCII character
27, or hex 1B), the escapes and following characters might be interpreted
by the HP-LASERJET as commands. This is the reason HPPRT default substitutes
the ESCAPE character by . If you really want to print ESCAPE codes you must
use the -e option which allows the use of Escape characters.
C>hpprt -e myfile
OUTPUT FILENAME
The default output filename is C:\TMP\PRTFILE. This can be overruled by using
the -o option. The string directly following the -o is now used as output
file.
C>hpprt -oprintfile myfile
TABSIZE
The default tabsize used by HPPRT is 8. This can be overruled by using
the -tab option. The number directly following -tab will be used as the
new tab size.
C>hpprt -tab4 myfile
SELECTIVE PRINTING
The default of HPPRT is printing all the pages in the given files. If you
want to print just a few pages of a document you can use the -pg option and
define what pages to be printed.
C>hpprt -pg3-6 myfile
Only print pages 3 to 6 from the myfile.
C>hpprt -pg9- myfile
print pages 9 to end from the myfile.
C>hpprt -pg-9 myfile
Print pages 1 to 9 from the myfile.
C>hpprt -pg9 myfile
Only print page 9 from the myfile.
FILENAMES
HPPRT does recognise some wildcards
C>hpprt *.c *.h
This will print all the *.c and *.h files
C>hpprt c:\DIR1\DIR2\*.c
This will print all the *.c files in the directory
C:\DIR1\DIR2
C>hpprt c:\DIR1\DIR2\drv*.c
This will print all the drv*.c files in the directory
C:\DIR1\DIR2
C>hpprt Q??.C
This will print all the Q??.C files
where ? stands for 1 character.
C>hpprt Q*.?
This will print all the Q*.? files
where ? stands for 1 character.
REGISTRATION FORM ---------------------------------------------------------
To register HPPRT, send this form with a $10 bill to:
Ing. G.W.J. Clijsen
Wierbeek 9
5501 EP Veldhoven
THE NETHERLANDS
Name : ________________________________________________________
Address : ________________________________________________________
City, State, Zip : ________________________________________________________
Country : ________________________________________________________
E-Mail address : ________________________________________________________
string : ________________________________________________________
Where did you get your copy of HPPRT ?
___________________________________________________________________________
Ideas or suggestions for future revisions of HPPRT :
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________
___________________________________________________________________________