[comp.lang.postscript] HPIID laser printer problem with quotes

mackey@scs.fiu.edu (02/01/91)

On most terminals and printers the backquote (`) looks like
a smaller version of the backslash (\) and the frontquote
(') looks like a smaller version of the frontslash (/).
Well sort of, and on Courier font.  This includes the AST
Turbolaser printer.

On an HPiiD, however, both quotes look like tiny versions
of the frontslash (/), the only difference being that the
backquote (`) is slightly wider on the bottom and the
frontquote (') is slightly wider on top.  At 360 points in
size, this is obvious.  At 10 points in size, one needs a
microscope to detect the difference.

Does anyone know of a decent way or even a hack to fix this
problem?  I.e., how does one make the backquote into a
mirror image of the front quote for the Courier font family
in a fairly straightforward manner?  Is it possible to
reprogram the printer?

Secondly, is it possible to reconfigure the printer so that
it also works for those filters whose source code is not
available?

A sample program which can illustrate the problem follows:

--------------------cut-here--------------------
%!
grestoreall
/Courier findfont 360 scalefont setfont
72 72 moveto (`') show showpage
grestoreall
--------------------cut-here--------------------

clewis@ferret.ocunix.on.ca (Chris Lewis) (02/03/91)

In article <2102@kluge.fiu.edu> mackey@scs.fiu.edu writes:
|On most terminals and printers the backquote (`) looks like
|a smaller version of the backslash (\) and the frontquote
|(') looks like a smaller version of the frontslash (/).

|On an HPiiD, however, both quotes look like tiny versions
|of the frontslash (/), the only difference being that the
|backquote (`) is slightly wider on the bottom and the
|frontquote (') is slightly wider on top.

|Does anyone know of a decent way or even a hack to fix this
|problem?  I.e., how does one make the backquote into a
|mirror image of the front quote for the Courier font family
|in a fairly straightforward manner?  Is it possible to
|reprogram the printer?

|Secondly, is it possible to reconfigure the printer so that
|it also works for those filters whose source code is not
|available?

I've never had a problem with these, but if you insist (;-)
here're two approaches:
	1) you could change the encoding vector in all of
	   your fonts to remap ` & ' to the accents up near
	   octal 301 and 302 (I don't have a redbook handy,
	   so I don't know their precise names - I think
	   they're probably acute and grave).  See the Blue
	   book on how to do this.
	2) insert inbetween the filters and the printer
	   another filter that converts ` & ' that occur
	   between parenthesis into \301 & \302.  You can
	   do this easily with sed.
-- 
Chris Lewis, Phone: (613) 832-0541, Internet: clewis@ferret.ocunix.on.ca
UUCP: uunet!mitel!cunews!latour!ecicrl!clewis
Moderator of the Ferret Mailing List (ferret-request@eci386)
Psroff enquiries: psroff-request@eci386, current patchlevel is *7*.