sircharles
Registered
hi,
I thought I share this with rest of the community. I used this regularly at work to print my programme listing.
http://sir-charles.150m.com/mp-3.0.dmg
mp - POSTSCRIPT pretty printer
DESCRIPTION
The mp program reads each filename in sequence and generates
a prettified version of the contents in POSTSCRIPT format.
By default the output is sent to standard output. If you use
one of the different names, output is sent direct to the
printer.
this is how I use the command:
#!/bin/csh -f
if ( $#argv != 1) then
echo usage : print <file>
exit
endif
if (-e $1) then
# mp -a4 -s "`echo $cwd:t`:$1" < ${1} | lpr
mp -s "`echo $cwd:t`:$1" < ${1} | lpr
else
echo "Error: File not found"
endif
install and rehash
Cheers,
SC
I thought I share this with rest of the community. I used this regularly at work to print my programme listing.
http://sir-charles.150m.com/mp-3.0.dmg
mp - POSTSCRIPT pretty printer
DESCRIPTION
The mp program reads each filename in sequence and generates
a prettified version of the contents in POSTSCRIPT format.
By default the output is sent to standard output. If you use
one of the different names, output is sent direct to the
printer.
this is how I use the command:
#!/bin/csh -f
if ( $#argv != 1) then
echo usage : print <file>
exit
endif
if (-e $1) then
# mp -a4 -s "`echo $cwd:t`:$1" < ${1} | lpr
mp -s "`echo $cwd:t`:$1" < ${1} | lpr
else
echo "Error: File not found"
endif
install and rehash
Cheers,
SC