9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: west9@worldnet.att.net
To: 9fans@cse.psu.edu
Subject: Re: [9fans] man -t cat|lp takes 4min
Date: Thu, 12 May 2005 17:38:48 -0400	[thread overview]
Message-ID: <2354fe60cfb08fe6e362d4a37fe4ae4b@yourdomain.dom> (raw)

>Try  -dstdout >/tmp/cat.ps
>cat /tmp/cat.ps >/dev/lpt1data

Here are the print times for some cases:

Base case, about 500 char plain text: 25 sec

Problem case:  man -t cat|lp : 4 minutes ; But printer light starts blinking a
 few secs after <cr>

Alt case:  man -t cat>/tmp/cat.ps;cat /tmp/cat.ps>/dev/lpt1data: 40 sec., but
 printing is in times font, which is native to the printer. 
 cat /tmp/cat.ps|page yields the man page in the usual man font.

>I wonder if lp is waiting for something to time out.  You might try
>`lp -D' and see if that tells you anything.

 I used the -D option and didn't see any trouble, but that might not mean much,
 given my level. I don't even know how to capture it easily, given the number of apostrophes it contains.

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

Thanks to all,

 -Tom


             reply	other threads:[~2005-05-12 21:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-12 21:38 west9 [this message]
2005-05-13  9:43 ` C H Forsyth
  -- 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=2354fe60cfb08fe6e362d4a37fe4ae4b@yourdomain.dom \
    --to=west9@worldnet.att.net \
    --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).