9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] /sys/lib/troff/font/devpost ?
@ 2001-12-12 13:43 Fco.J.Ballesteros
  0 siblings, 0 replies; 8+ messages in thread
From: Fco.J.Ballesteros @ 2001-12-12 13:43 UTC (permalink / raw)
  To: 9fans


I would like to use unicode with troff to print on a regular ps printer,
I tried with troff -ms -muni, but characters like á é ñ are not defined.
Since my printer does not use unicode, anyone could send me a pointer
to a place where to get these files? That way I could use -Tpost.
Or is there a better way?

thanks

PS: Already tried google, no luck.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] /sys/lib/troff/font/devpost ?
@ 2001-12-12 17:10 Fco.J.Ballesteros
  0 siblings, 0 replies; 8+ messages in thread
From: Fco.J.Ballesteros @ 2001-12-12 17:10 UTC (permalink / raw)
  To: 9fans

The characters appear on page, and now
(see my previous mail) they work on the printer too.
Thanks a lot for your help.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] /sys/lib/troff/font/devpost ?
@ 2001-12-12 17:07 Russ Cox
  0 siblings, 0 replies; 8+ messages in thread
From: Russ Cox @ 2001-12-12 17:07 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

If the characters appear correctly when
previewing with page(1), then there is a way
to get them to the printer.  If not, then I'm
confused.

Using LucidaSans fonts should be okay.

Russ

[-- Attachment #2: Type: message/rfc822, Size: 3055 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 66 bytes --]

still no á é ⁱ... in the printer.
Any other idea?

thanks

[-- Attachment #2.1.2: Type: message/rfc822, Size: 1382 bytes --]

From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] /sys/lib/troff/font/devpost ?
Date: Wed, 12 Dec 2001 08:48:39 -0500
Message-ID: <20011212134840.83E8819A1C@mail.cse.psu.edu>

Just use the unicode device (not -Tpost) and then run the result through

aux/download -f -H/sys/lib/postscript/font -mfontmap -r/sys/lib/postscript/font/lw+

to pick up the extra fonts your printer needs.

Russ

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] /sys/lib/troff/font/devpost ?
@ 2001-12-12 15:44 Fco.J.Ballesteros
  0 siblings, 0 replies; 8+ messages in thread
From: Fco.J.Ballesteros @ 2001-12-12 15:44 UTC (permalink / raw)
  To: 9fans

the default fonts work like a charm. In my previous attempt, download seemed to
have problems because I was forcing LucidaSans fonts.

I'm sorry to bother you all but I'm a troff novice.
It impressive, this is the first time I wrote a document in troff
(other than manual pages) and I think I already prefer it to LaTeX
(no flame wars please).

thanks.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] /sys/lib/troff/font/devpost ?
@ 2001-12-12 14:07 rob pike
  0 siblings, 0 replies; 8+ messages in thread
From: rob pike @ 2001-12-12 14:07 UTC (permalink / raw)
  To: 9fans

What troff font are you using in the document?
	troff ... | grep '^x '
Look those up in /sys/lib/troff/font and make sure
you see the corresponding fonts in the postscript
output
	troff ... | lp -dstdout | grep DocumentFonts



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] /sys/lib/troff/font/devpost ?
@ 2001-12-12 14:02 Fco.J.Ballesteros
  0 siblings, 0 replies; 8+ messages in thread
From: Fco.J.Ballesteros @ 2001-12-12 14:02 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

still no á é ⁱ... in the printer.
Any other idea?

thanks

[-- Attachment #2: Type: message/rfc822, Size: 1382 bytes --]

From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] /sys/lib/troff/font/devpost ?
Date: Wed, 12 Dec 2001 08:48:39 -0500
Message-ID: <20011212134840.83E8819A1C@mail.cse.psu.edu>

Just use the unicode device (not -Tpost) and then run the result through

aux/download -f -H/sys/lib/postscript/font -mfontmap -r/sys/lib/postscript/font/lw+

to pick up the extra fonts your printer needs.

Russ

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] /sys/lib/troff/font/devpost ?
@ 2001-12-12 13:51 rob pike
  0 siblings, 0 replies; 8+ messages in thread
From: rob pike @ 2001-12-12 13:51 UTC (permalink / raw)
  To: 9fans

> Just use the unicode device (not -Tpost) and then run the result through
The device name is "utf":

rob% troff
.fl
x T utf
x res 720 1 1
x init
V0
p1
...



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] /sys/lib/troff/font/devpost ?
@ 2001-12-12 13:48 Russ Cox
  0 siblings, 0 replies; 8+ messages in thread
From: Russ Cox @ 2001-12-12 13:48 UTC (permalink / raw)
  To: 9fans

Just use the unicode device (not -Tpost) and then run the result through

aux/download -f -H/sys/lib/postscript/font -mfontmap -r/sys/lib/postscript/font/lw+

to pick up the extra fonts your printer needs.

Russ


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-12-12 17:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-12 13:43 [9fans] /sys/lib/troff/font/devpost ? Fco.J.Ballesteros
2001-12-12 13:48 Russ Cox
2001-12-12 13:51 rob pike
2001-12-12 14:02 Fco.J.Ballesteros
2001-12-12 14:07 rob pike
2001-12-12 15:44 Fco.J.Ballesteros
2001-12-12 17:07 Russ Cox
2001-12-12 17:10 Fco.J.Ballesteros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).