LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-08-2006, 09:57 PM   #1
southsibling
Member
 
Registered: Jun 2003
Location: Harford County, Maryland
Distribution: Mandrake 10.1
Posts: 162

Rep: Reputation: 30
bash command 'enscript'


Attempted to print out a python source file as 'pretty-print', i.e., in the highlighted colors that my Vim editor provides. Using my Mandrake 10.1 terminal, I entered:

'enscript -Epython <filename>.py | lpr'

The results were pretty dismal. Got nothing in color...only black lettering (some bold and some regular print) and all that ran over top of itself (i.e., text printed atop other text).

So, where did I go wrong?

Oh, yea...the first line of the script (ASCII text) file is the required 'hash-bang' announcer:

#!/usr/bin/python
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
use of special escapes with enscript gato Linux - Software 5 12-06-2011 03:13 AM
bash: <command name> command not found smash Programming 5 03-13-2006 08:48 AM
The ! bash command. How do I use it? funkynesh Linux - Newbie 2 10-12-2005 08:36 PM
enscript: How can I define the printout left margin cigarstub Linux - Software 1 09-18-2005 08:22 PM
bash command help bobdinkel Linux - Newbie 20 07-17-2003 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration