Questions tagged [enscript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
35 views

Does enscript support underline for texts

I need to print some portion of input text data with an underline. We are currently using Perl script to generate the text file and the 'enscript' & 'ps2pdf' to generate the PDF files of generated ...
1
vote
1answer
42 views

Enscript: How to use a different font?

I downloaded the font RobotoMono-Regular.ttf here, converted it to RobotoMono-Regular.afm with this tool and copied this file to /usr/local/share/enscript/afm where other .afm files reside. In there ...
1
vote
1answer
42 views

Text vertical alignment in Enscript

Is there any option for vertical text alignment within a line in Enscript? I have to align the text in the vertical middle of the background. The text script: push (@parts_section_array, sprintf(...
0
votes
1answer
83 views

Does enscript support multiple font on same file

My requirement is to print some portion of input in one font( can also be of different size,bold,bg etc) & remaining with another. Is it possible?
0
votes
1answer
119 views

enscript installation - can't find its profile

I have just built an installed enscript {1-6-6} from the tarball. When I try to run it I get: enscript-1.6.6$ bin/enscript -v -Eperl --output=doprint.ps ../doprint.pl AFM: scanning path... AFM: ...
0
votes
1answer
82 views

How can I make `enscript` block till the printer finishes its job?

The following command will create a pdf file under ~/PDF/: enscript -B -P PDF bloom.c I want to move the output pdf file here ...
6
votes
1answer
876 views

How shall I generate a pdf file instead of a ps file using enscript?

I was wondering why the following generates a ps file not a pdf file? How can I make it generate a pdf file? Thanks. $ enscript -B -PPDF code/bloom.c -o bloom.pdf [ 2 pages * 1 copy ] left in bloom....
0
votes
1answer
518 views

Combining enscript, find, iconv and ps2pdf

I'm trying to write a small bash script that'll convert source files in a directory to a .pdf. The steps are these Locate files with find execute iconv on the files converting the character encoding ...
5
votes
1answer
2k views

How to handle accents with enscript?

I cannot figure out how to handle accents with enscript when converting a txt into a pdf: echo "élisée" | enscript -o - -X <encoding> | ps2pdf - output.pdf I tried all possible encoding but ...
2
votes
1answer
331 views

How do I process text before I hand it over to enscript? (Or how do I print UTF8 Mutt messages to PDF?) [duplicate]

I'm trying to use enscript to print PDFs from Mutt, and hitting character encoding issues with curly quotes. So that an email with text like this: “very dirty” we’re Comes out as: â\200\...
7
votes
2answers
868 views

How to convert ęąśćżńł TXT to PDF with enscript?

I have problem converting a file to PDF. I create the file with echo ęąśćżńł > text and convert: enscript -O text -o - | ps2pdf - out.pdf However, out.pdf has an encoding problem:
1
vote
0answers
180 views

Using enscript, need first line to be of different font size

I'm using enscript piped to ps2pdf to convert text files to pdf. The content of the file is the result of an SQL query with column names serving as header. I'm already using -B to eliminate default ...
4
votes
1answer
3k views

Specifying font with enscript

I've read the man page for enscript but cannot find the answer to this problem. I am trying to print using enscript with a downloaded AFM file but I can't get it to work. I keep getting the following ...