To convert a text file to postscript format is easy with groff:
groff -Tps file >file.ps But what if the input file is utf-8 (with non English characters in it)? How can you specify the encoding to groff or do you have to pipe the file through some other command?
I put my hands on gfxboot that uses Postscript for it's scripts. I'm absolutely new to Postscript, but I got the point and almost did everything I wanted, but I stumbled upon one thing, I need to convert string to upper case. The script contains /tolower function, but I do not get how it works.
I have a Postscript file that I can't print because it has too many fonts for my printer (a LaserJet 5M with 14MB memory). I might be able to display it a page at a time and do a screen capture of each page, but that gets pretty tedious and also has the problem that the pages get cluttered up with control information.
Our department has used Xerox Phaser printers (e.g. 4510) for many years - these printers are full Adobe Postscript printers. The newer models (e.g. Phaser 5550) of the same printers are much more expensive now (approx. $3500) and there are fewer printers with True Adobe Postscript. In your view, is it necessary nowadays to have a true Adobe Postscript printer?
I am trying to print to a Konica Minolta DiALTA di1611 printer from a linux desktop. There are not linux drivers available. I read that I can create the ppd file needed if the printer is a postscript printer.
So, is a 1611 a postscript printer? How do I find that out?
I have a string, something like en_US, fr_FR, ru_RU, etc. I need to extract the last two capital letters after the underscore. As you understand there's a fixed number of characters everywhere, so it is probably possible to extract the last two chars.
This is a gfxboot script so it's not Postscript Level 2 and 'search' operator doesn't work.