Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'What Options?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
What Options?
Authored by: balthisar on Oct 29, '01 01:17:47PM

The printing tutorial I've posted gets "basic" printing to work, but, I think with a little bit of Google research and man page reading, you'll be able to figure out quite a few options. I don't know how well you'll be able to integrate them with the Mac OS, though. I imagine you could define several "virtual printers" with different print filters using the GhostScript options you want. If you're particularly good at scripting, I imagine you could write a "magic filter" that encompasses all of your options.

Now, GhostScript knows nothing about ColorSynch or other high-level, Mac OS color-matching technologies. However my hack generates PostScript code *from* the high-level OS, so the PostScript that is generated *should* reflect the color-matching done in the Mac OS. However, it's up to GhostScript to interpret this. I've found a lot of references to setting "gamma levels" in GhostScript. Once you find the correct gamma level, then what you see in the Mac OS should be what GhostScript generates. I can't guarantee that, and it's above my needs and abilities to determine if it actually works that way, but it makes perfect sense.

As per GhostScript's other abilities, try "man gs" in Google and you'll quickly get the GhostScript man page that describes all of GhostScript's parameters, including options, dpi, layout, and margins.

Finally, the DevTools are only needed to compile GhostScript under fink. There *are* other OS X pre-compiled GhostScript distributions available. Also, I now know that fink has a dselect utility that lets you manage pre-compiled binaries. I will change my instruction set to reflect this when I get a chance. This will obviate the need for the DevTools.

[ Reply to This | # ]