[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] Color and older PS printers
From: |
Ralph Corderoy |
Subject: |
Re: [Groff] Color and older PS printers |
Date: |
Fri, 25 Oct 2002 23:22:15 +0100 |
Hi,
Werner wrote:
> > As Ted later pointed out, the PostScript now being generated by
> > grops assumes an interpreter that can cope with setgray, etc., i.e.
> > Level 2.
>
> This is not fully correct. `setgray' and `setrgbcolor' are level 1.
Sorry, you're absolutely right.
Mike Bishop wrote:
> As Ted suggested, and Stewart Russell's script proved, the QMS is a
> Level 1 printer.
>
> The "ps2ps" suggestion from Ralph Corderoy looked like it should work
> (and shame on me for not thinking of it). However, the printer still
> fails with files processed by ps2ps /regardless/ of the language level
> chosen (ghostscript 6.53).
It might be worth adding the printing of `revision', an integer giving
the interpreter's revision, to Stewart's PostScript program.
$ diff -u 02-sizetest.ps.orig 02-sizetest.ps
--- 02-sizetest.ps.orig Fri Oct 25 23:17:18 2002
+++ 02-sizetest.ps Fri Oct 25 23:18:50 2002
@@ -79,6 +79,8 @@
1
} ifelse
str cvs show
+llx 5 mm add lly height add ptsize 4 mul sub moveto
+(Revision: ) show revision str cvs show
showpage
This might help people who know about the QMS printer and firmware
deduce what the problem is. Obviously, the simplest test-case possible
would help the GhostScript or QMS folks.
Cheers,
Ralph.