9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: James Chapman <james@cs.ioc.ee>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] printing over usb
Date: Tue,  6 Jul 2010 01:23:46 +0300	[thread overview]
Message-ID: <AANLkTintgKS9VnjQlfBQ01r4xsntzZFUd4S49wtg3_ef@mail.gmail.com> (raw)
In-Reply-To: <AANLkTilTvwOmGfRoA7wFHX6kQN0DqK5aAHTdnN7TjstS@mail.gmail.com>

Hi,

I 'solved' the problem by attaching the printer to my apple airport
express. Now I can print from plan9 using this neat trick I found
whilst digging in 9fans:

term% cat test.ps | telnet tcp!express.lan!9100
connected to tcp!express.lan!9100 on /net/tcp/2

I'd still like to be able to directly connect with usb. I will try
with native plan 9 instead of under vmware fusion and also try a
different printer to see if I get different results.

Is there some extra extra debugging I can enable to see what's going
on with the usb devices?

Best wishes,

James Chapman


On Sun, Jul 4, 2010 at 12:31 AM, James Chapman <james@cs.ioc.ee> wrote:
> On Sun, Jul 4, 2010 at 12:08 AM, franciscojose ballesteros
> <nemo.mbox@gmail.com> wrote:
>> Ep4.0 does not look like the place to send data. It's probably the control ep.
>> for the printer. IIRC, the driver adds a file named lp something, but I'm not
>> sure. Try to look at /dev to see if there's a file there.
>
> term% du -ah /dev | grep lp
>
> yields only this:
>
> 1k      /dev/lpt1dlr
> 1k      /dev/lpt1psr
> 0       /dev/lpt1pcr
> 0       /dev/lpt1data
>
>> Otherwise it could be something like ep4.1
>
> I don't seem to have an ep4.1:
>
> term% usb/probe
> ep1.0 roothub csp 0x000009 ports 2 uhci
> ep2.0 roothub csp 0x000009 ports 6 ehci
> ep3.0 hub csp 0x000009 ports 7 none <nil> uhci
> ep4.0 printer csp 0x030107 csp 0x010107 vid 0x03f0 did 0x1017
> Hewlett-Packard 'hp LaserJet 1300' uhci
>
> James
>



  reply	other threads:[~2010-07-05 22:23 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 [this message]
2010-07-06  1:11       ` erik quanstrom
2010-07-06  6:16         ` Akshat Kumar
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=AANLkTintgKS9VnjQlfBQ01r4xsntzZFUd4S49wtg3_ef@mail.gmail.com \
    --to=james@cs.ioc.ee \
    --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).