Questions tagged [enscript]

Enscript is a program that can convert source code files into PostScript files.

The enscript program can convert numerous types of computer languages from their source files into syntax-highlighted PostScript.

20 questions
0
votes
1 answer

Windows convert text file to postscript and print

In Windows how can I use RedMon EE , Ghostscript, GSview , Nenscript for Windows to convert a text file to postcript and redirect it to a printer . Something like to configure "RPT1: Redirected Port" with the values C:\Program…
famedoro
  • 1,223
  • 2
  • 17
  • 41
0
votes
0 answers

replace or remove text on file PDF with sed, dont'work

replace or remove text on file PDF with sed Good evening, i'm testing with the bash script for to replace text with new text on file PDF, i've resolved with the file exported from file txt to file PDF. But i've downloaded the file PDF on internet…
0
votes
2 answers

Convert all files of a specified extension within a directory to pdf, recursively for all sub-directories

I'm using the following code (from this answer) to convert all CPP files in the current directory to a file named code.pdf and it works well: find . -name "*.cpp" -print0 | xargs -0 enscript -Ecpp -MLetter -fCourier8 -o - | ps2pdf - code.pdf I…
binarez
  • 779
  • 1
  • 8
  • 17
0
votes
1 answer

PDF generated in Linux does not open in Windows - using enscript

My professor and I both use Linux to run some CFD codes, but both our PDF outputs from enscript do not open on Windows (which the TA uses to correct my assignment). The pdf's open without a problem in Linux however (my prof uses native Fedora and I…
-1
votes
1 answer

enscript under macOS - specify location of afm files?

Under macOS (Monterey), I'm trying to print text files with a specified font, unlike lpr which uses Monaco, and unlike nenscript (which I was able to build for macOS) which uses only Courier. The enscript command can do this, and can be installed…
emendelson
  • 416
  • 5
  • 18
1
2