9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: C H Forsyth <forsyth@vitanuova.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] man -t cat|lp takes 4min
Date: Fri, 13 May 2005 10:43:23 +0100	[thread overview]
Message-ID: <d050d229ae072b1651d0c6188badff43@vitanuova.com> (raw)
In-Reply-To: <2354fe60cfb08fe6e362d4a37fe4ae4b@yourdomain.dom>

>>Alt case:  man -t cat>/tmp/cat.ps;cat /tmp/cat.ps>/dev/lpt1data: 40 sec., but

surely that produces a copy of the ditroff not postscript?
did you leave out `|lp -d stdout' in that?

>>Could it be that the fonts are being sent/requested unnecessarily?

lp -d stdout won't include the Lucida fonts, but
lp direct to a printer will add them if needed (which they probably are).
they look to be about 740k bytes.
devlpt sets the parallel port to its original 1980s mode.
it will be slow.
given all that, 4 minutes seems not too surprising.
short of revamping devlpt, i'd suggest you print several pages at once,
make sure it has plenty of paper, and take yourself out for lunch.

(it's not too bad with usb.)


  reply	other threads:[~2005-05-13  9:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12 21:38 west9
2005-05-13  9:43 ` C H Forsyth [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-05-11 14:52 west9
2005-05-11 23:20 ` boyd, rounin
2005-05-11 23:35 ` Russ Cox
2005-05-12  1:59 ` geoff
2005-05-12  6:20   ` Bruce Ellis
2005-05-12  6:26     ` Russ Cox
2005-05-12  6:29       ` Bruce Ellis
2005-05-12 17:53         ` Jack Johnson
2005-05-13  8:24           ` Bruce Ellis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d050d229ae072b1651d0c6188badff43@vitanuova.com \
    --to=forsyth@vitanuova.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).