9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Akshat Kumar <akumar@mail.nanosouffle.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] printing over usb
Date: Mon,  5 Jul 2010 23:16:29 -0700	[thread overview]
Message-ID: <AANLkTimi9ORzuDAEfh6RNLtqon4JymEbaG38iPDSHNC_@mail.gmail.com> (raw)
In-Reply-To: <e5a88f3397e5c8ee26ea6a8cac9cc3de@kw.quanstro.net>

I made a post about this not too long ago.

However, the problem is in the fact that
with a port listening for data to print directly,
anything and everything that comes in, gets
printed. Beware of portscanners, etc..

A better method would be to setup a proper
LPR port (lpdaemon) such as in
/rc/bin/service/tcp515 - however, I could not
get this to ever work, because I need the
data to be processed by hpijs, and something
goes wrong between the data coming in and
being sent to lp via lpdaemon. I don't know
what (ideas? see my previous post about this).


Best,
ak

On Mon, Jul 5, 2010 at 6:11 PM, erik quanstrom <quanstro@quanstro.net> wrote:
> you can also print through lp(1) in this way.  i believe
> the JetDirect example in /sys/lib/lp/devices is the right
> template.
>
> - erik
>
>



  reply	other threads:[~2010-07-06  6:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-03 18:31 James Chapman
2010-07-03 21:08 ` franciscojose ballesteros
2010-07-03 21:31   ` James Chapman
2010-07-05 22:23     ` James Chapman
2010-07-06  1:11       ` erik quanstrom
2010-07-06  6:16         ` Akshat Kumar [this message]
2010-07-06  8:02       ` Francisco J Ballesteros

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=AANLkTimi9ORzuDAEfh6RNLtqon4JymEbaG38iPDSHNC_@mail.gmail.com \
    --to=akumar@mail.nanosouffle.net \
    --cc=9fans@9fans.net \
    /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).