9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Lucas James <Lucas.James@ldjcs.com.au>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] Ideas for an printer filesystem
Date: Sat,  1 Dec 2007 09:40:39 +1100	[thread overview]
Message-ID: <200712010940.39305.Lucas.James@ldjcs.com.au> (raw)
In-Reply-To: <68631093-437F-4904-A7CB-8ADB71B3A580@kix.in>

On Sat, 1 Dec 2007 03:46:46 Anant Narayanan wrote:
> How about simply:
>
> $ echo "print <printing-options> <printer-options>" > /printers/ctl
> $ cat myfile > /printers/data
>
> Skipping either the printing/printer options while writing to ctl
> will result in default options being applied.
>
> --
> Anant

That's only good for single machine/single user setup.  

If you have more than one person/program trying to print to different 
printers/options, you would get mixed results.  Picture a second print job 
starting in between the write to /printers/ctl and /printers/data, and you'll 
see the difficulties in keeping it all together.

Lucas

-- 
Modern man is the missing link between apes and human beings.


  reply	other threads:[~2007-11-30 22:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-06 23:56 Enrico Weigelt
2007-09-07  8:44 ` Francisco J Ballesteros
2007-09-07 10:08   ` erik quanstrom
2007-09-07 10:17     ` Francisco J Ballesteros
2007-09-07 10:54       ` erik quanstrom
2007-11-30  7:19         ` Aki Nyrhinen
2007-11-30  3:37       ` Enrico Weigelt
2007-11-30  9:42         ` Francisco J Ballesteros
2007-11-30 12:32           ` Enrico Weigelt
2007-11-30 13:06             ` Rodolfo =?unknown-8bit?Q?Garc=EDa?=
2007-11-30 13:38               ` Enrico Weigelt
2007-11-30 16:56                 ` Rodolfo =?unknown-8bit?Q?Garc=EDa?=
2007-11-30 16:46             ` Anant Narayanan
2007-11-30 22:40               ` Lucas James [this message]
2007-12-01  4:42 ` ron minnich
2007-12-01  4:54   ` Bruce Ellis
2007-12-11 13:30     ` roger peppe
2007-12-11 20:36       ` 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=200712010940.39305.Lucas.James@ldjcs.com.au \
    --to=lucas.james@ldjcs.com.au \
    --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).