Questions tagged [enscript]
The enscript tag has no summary.
                19 questions
            
            
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                142
            
            views
        
        
            
            
        Print error using enscript with Consolas TrueType font
                    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 ...
                
            
       
        
            
                -1
            
            votes
        
        
            
                1
            
            answer
        
        
            
                118
            
            views
        
        
            
            
            
        How can I apply enscript to upwards of 60k files?
                    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 ...
                
            
       
        
            
                -1
            
            votes
        
        
            
                1
            
            answer
        
        
            
                3k
            
            views
        
        
            
            
            
        add page numbers to pdf
                    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: ...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                400
            
            views
        
        
            
            
        Is it possible to convert a pdf file to post script, then to text for see codes used in post script?
                    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 ...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                177
            
            views
        
        
            
            
        Add border arond text in pdf
                    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 ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                456
            
            views
        
        
            
        How to include header only for the first page using enscript
                    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 ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                339
            
            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 ...
                
            
       
        
            
                3
            
            votes
        
        
            
                1
            
            answer
        
        
            
                2k
            
            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
        
        
            
                1
            
            answer
        
        
            
                590
            
            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(...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                765
            
            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
        
        
            
                1
            
            answer
        
        
            
                778
            
            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
        
        
            
                1
            
            answer
        
        
            
                183
            
            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                                                                        
...
                
            
       
        
            
                10
            
            votes
        
        
            
                1
            
            answer
        
        
            
                5k
            
            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
        
        
            
                1
            
            answer
        
        
            
                1k
            
            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 ...
                
            
       
        
            
                8
            
            votes
        
        
            
                1
            
            answer
        
        
            
                4k
            
            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 ...
                
            
       
         
         
         
        