Hot answers tagged postscript
You can use vim. vim -c hardcopy -c quit /path/to/file This will print the file and quit immediately. By default, vim prints with syntax highlighting. If you need to print from stdout of some command, you can do this: cat some_file.c | vim -c hardcopy -c 'quit!' - If you want to save the .ps for later, you can do that by adding redirection to the ...
In general, you can use open from the terminal to open any file with its default application (see this SO question). open is Mac OS-specific. On GNU/Linux, the equivalent is usually xdg-open. Also, for your reference, you can try to find out what type of file a file really is (regardless of its extension) using the file command.
You need to tell groff which macros you want to use. In this case, you want groff -ge -me -mwww grnexmpl.me > out.ps If you want to see the picture of the circuit diagram, you'll also need grnexample.g present in the directory. I found this by running grog to guess the macros, and then added the www macro, since I could see there was HTML in the ...
You could use the open source software Calibre (http://calibre-ebook.com). It is available for OSX, Windows, and Linux. Input Formats: CBZ, CBR, CBC, CHM, DJVU, EPUB, FB2, HTML, HTMLZ, LIT, LRF, MOBI, ODT, PDF, PRC, PDB, PML, RB, RTF, SNB, TCR, TXT, TXTZ Output Formats: AZW3, EPUB, FB2, OEB, LIT, LRF, MOBI, HTMLZ, PDB, PML, RB, PDF, RTF, SNB, ...
In my experience the better way to manipulate PDF is via Inkscape. If the PDF is well structured (not true everytime...) you can select the elements and manipulate them, like zooming or changing the font size: (This example is from a not-so-well-behaved PDF, though).
There are several programs that pretty-print various programming languages to Postscript, which don't require any third-party software to run: a2ps enscript trueprint If you are willing to go via LaTeX, you have more options. Going via LaTeX is mostly useful if you want to include code and something else in the same document; otherwise it's overkill. ...
This is the pseudo solution I used, now. My editor didn't seem to care whether to receive eps or tiff files, so I rendered all svgs with the target resolution and size, as it was impossible to get a decent result with eps files (as noted in the comments this is due to technical limitations of the eps format). This can be done by opening the svg directly in ...
Cedilla is a text-to-postscript converter, similar to enscript and a2ps, with good Unicode support but a lot fewer configuration possibilities. I don't think Cedilla can to multi-column. If you want fine control over the formatting, you can use LaTeX. LaTeX's support for going beyond 8 bits is a bit problematic, but tools now exist to typeset Chinese fairly ...
Files with the .eps extension are usually encapsulated postscript. You can view them with gv: gv t-0.8.eps Or with your favorite PDF viewer: evince t-0.8.eps Or even with an image editor gimp t-0.8.eps
If it is some non-postscript printer, you are out of luck. PostScript is a page description language, which describes curves by curves. The raw input to the printer is most probably some raster format. In the best case you'll get a pixelated rendering of the image. Or ir might be some somewhat higher level language, but Im' not aware of any reverse ...
According to this page, the default paper size is read from the PAGE environment variable. But for on-screen viewing of manpages, have you considered something like man2html?
Only top voted, non community-wiki answers of a minimum length are eligible