Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

enscript - where to download it - for Wintell & Unix 2

Status
Not open for further replies.

ernieah

Programmer
Oct 27, 2002
42
US
(1) I would like to explore the use of the
"enscript" utility program. Is it available
for Wintell, Unix, or both?

(2) Where can I download it from (URL),
and is it open-source (for Wintel), or
do I have to purchase it?

Thanx in advance

End-of-memo: Best to you..from ernieah.
I don't sell books, or work for any
publisher or computer company.
 
(1) Thanx, "vgersh99" for your voluminous, detailed, and specific instructions in reply to my questions.

(2) I'm glad you know about Google and are sharing your knowledge. Your generosity in sharing this knowledge is appreciated. I'm sure you spent a lot of your valuable time and attention in attaining this brilliant answer to my question. No doubt many others will seek you advice and help based on the obvious usefulness of it.

(3) However, I HAVE contacted GnuWin32 where I got a useful printout on "Installation and Usage". And I visited "GNU Enscript", where I got some more "info" about "enscript". I confess my ignorance at interpreting the voluminous material at these sites, and arriving at a "place" to accomplish a download with a mouse-click and (if necessary) my Visa card.

(4) I was hoping some one would help me with interpretuing some of these details.

(5) What I had HOPED to do was to find a download site, and to comply with whatever procedures it specifies to accomplish a download and installation. I would appreciate very much any spcifics you fellow users at tek-tip are willing to offer.

Thanks again to tek-tips for its existence, and to all the contributors for their questions and their answers.


End-of-memo: Best to you..from ernieah.
I don't sell books, or work for any
publisher or computer company.
 
ernieah,

If you have already visited the GNU Enscript site, then you have seen or at least been exposed to the current version release of the software.

people.ssh.fi/mtr/genscript

Just cut and paste the above URL into your browser and it will take you to the place you need to be. The GNU Enscript application is 'free' software that can be downloaded and used without warranty. I believe SCO's Skunkware add-on has a similar software suite if you happen to be using that OS.

Just go to the site, find a version to download (look under Releases), click whichever hi-lited release you want and it will start the download. It comes in a tarball so you'll need the gzip utility to uncompress it. I don't know for sure, but I believe these are binary versions, which means you should be able to follow the installation instructions to load the software and not have to worry about compiling the silly thing.

I know this doesn't answer all your questions, but it will get you out of the starting block.

Good Luck

 
(1) piperent, Thanks for your directions. They're great and got me much further along.

I even got, and printed out, a 22-page "man page" which is terrific.

(2) I succeeded in downloading, un-ziping, and "installing" the "enscript" program using the "install wizzard" (included in the download). The "install" process did NOT, however, append the location of my installed "enscript" program to my PATH "environmental variable" (for my Windows XP Home Edition), as I had expected that it would.

(3) In attempting, myself' to "add" the location of the "enscript" program to my existing PATH variable (value was shown by executing the "set<enter>" command in an MS\DOS window), I found no "ready" way to accomplish this for Windows XP Home Edition.

Apparently, there is NO "autoexec.bat" file any more, and the "autoexec.nt": file (which WAS present) did NOT spell out the value for the existing PATH, such that one could edit that line by adding one more directory to it and then save the changed file for the next "boot", (or for the next instantiation of an MS\DOS window.)

(4) As a result, I have "enscript", but I can't execute it in an MS\DOS window as I expected, since my "system" can't find the "enscript.exe" program.

Thanks again everybody\anybody, in advance, for any help you can give me with this.

End-of-memo: Best to you..from ernieah.
I don't sell books, or work for any
publisher or computer company.
 
I don't have an XP handy right now, but....... under 2K:

Control Panel -> Advanced -> Environment Variables

locate and edit 'Path' variable - add the path to your 'enscript.exe'

vlad
+----------------------------+
| #include<disclaimer.h> |
+----------------------------+
 
Thanks, vgersh99. Your suggestions are getting better and better. Thanks..

(1) I succeeded at what you said - by setting the USER's (myself) environmental PATH variable (via the CONTROL PANEL - as you pointed out) to the actual path where I had enscript.exe. (Using the UPPERMOST panel ("for USER's"), and NOT changing the lowermost panel (where the SYSTEM's environmental variables are.)

According to my "books" (on WinXP\Home), when one sets the USER'S environmenal PATH variable to some value\s, these are "appended" to the SYSTEM's PATH variable - without any RISK of overwriting the SYSTEM'S values. That worked, since the MS\DOS window can now find(and attempt to execute) the enscript.exe program; and when I issue the "set" command, I actually see the USER'S values "tacked onto" the end of the SYSTEM'S "PATH" .

(Also, examination of the SYSTEM's PATH - again via the CONTROL PANEL - shows that the SYSTEM's PATH variable has NOT been changed.)

(2) I now have a NEW problem: enscript.exe (upon execution)says: ":34: illegal option: AMFPath:" [quotes are mine].

I attempted to "set" the "AFMPath" according to the examples shown in the "comments" of the "enscript.cfg" file (in the small section pertaining to the AFMPath), as follows:

# Lookup path for the AFM files.
# AFMPath: c:/enscript/afm
# AFMpath: C:\Program Files\GnuWin32\afm
AFMPath: C:\Program Files\enscript download\en150_i\enscript\afm


(ALL my enscript stuff is in my "...\en150_i\enscript"
directory, including the "enscript.cfg" file.)


I suspect I am overlooking somthing (capitalization, spelling, puncuastion, grammar, etc.) in the "comments"
(shown above) which are examples of "how to do it".

(3) It may require a real "enscript" expert to help me with this one, since I have tried (I think) all of the possible combinations of specifying the "AFMPath".

(4) Thanks again, folks for being there..




End-of-memo: Best to you..from ernieah.
I don't sell books, or work for any
publisher or computer company.
 
Not sure if this will help, but you seem to be using AMFPath and AFMPath interchangeably in your last post (paras 2 and 3). Which is correct and are you sure that you're specifying the correct one in your initialisation attempts? Just a thought - happens all the time with this stuff!!
 
(1) Thanks, KenCunningham, for the reminder that I might be transposing, or mispelling. I will do a re-check on that, and get back to you.

(2) I DID notice, that when I attempted to enter the full path of my "afm" files (one of the line-entries in my enscript.cfg file, see above in (2), where you see the three commented example lines (supplied in the original enscript.cfg file - to guide the user) followed by my one-line "REAL" entry - without the "#"), a subsequent dialog window (where one can view these values) refused to show the endmost directory-name ("afm") of the path I THOUGHT I had entered - as if only a certain quantity of characters were acceptable for the path and as if more characters beyond that would be ignored..

It's like it accepted all my path execpt for the last three characters ("afm").

Maybe I need to MOVE my "afm" directory upward, so that the full path to it has fewer charaters. Then maybe the path would be acceptable and accepted..

Thanks again for your suggestions, and I'm soliciting any from others. Are there any "enscript" guru's out there?

Bye.





End-of-memo: Best to you..from ernieah.
I don't sell books, or work for any
publisher or computer company.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top