Skip to main content

Questions tagged [enscript]

1 vote
1 answer
142 views

I am trying to create with enscript a PDF source code listing of this Python script: import numpy as np def f1(x): return x * x * np.sin(x) however I am getting this output: I am using this ...
Arrigo's user avatar
  • 111
-1 votes
1 answer
118 views

I want to apply Gnu enscript on a large collection of files (every file tracked by git in the current Linux kernel). I have just for the hell of it. However, I've tried various things to pass those ...
Leland Kilborn's user avatar
-1 votes
1 answer
3k views

this guy says enscript worked 'like a charm': http://www.dry-lab.org/blog/2018/numbering-pages-of-a-pdf but it wiped my pdf - producing page numbers on blank pages id rather use something like pdfsam: ...
neverdimed's user avatar
0 votes
0 answers
405 views

I have one pdf file where text have been formatted in tables, boxes, background colours. I tried to convert my text file to pdf with boxes, tables and background colours with enscript. I got success ...
Kalpesh Bhoj's user avatar
0 votes
0 answers
181 views

I have large database in text format.I convert them in particular format using awk. While using awk i have added escape sequence ^ for formatting in enscript like bgcolor,font,color etc. Then i ...
Kalpesh Bhoj's user avatar
0 votes
1 answer
460 views

I'm using enscript to produce a pdf file. I wish to include a header that contains the filename, like that enscript --header='$n' ... file.py | ps2pdf - file.pdf Every page of the resulted pdf ...
Jona's user avatar
  • 101
1 vote
1 answer
346 views

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 ...
Suhail Abdul Gafoor's user avatar
3 votes
1 answer
2k views

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 ...
mathlete's user avatar
  • 490
1 vote
1 answer
595 views

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(...
Suhail Abdul Gafoor's user avatar
1 vote
1 answer
778 views

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?
mathewsnjoy's user avatar
0 votes
1 answer
784 views

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: ...
BernieC's user avatar
0 votes
1 answer
189 views

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 ...
Tim's user avatar
  • 107k
10 votes
1 answer
5k views

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....
Tim's user avatar
  • 107k
0 votes
1 answer
1k views

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 ...
ndx's user avatar
  • 23
8 votes
1 answer
4k views

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 ...
user123456's user avatar
  • 5,288

15 30 50 per page