9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: givanes@gmail.com
To: 9fans@cse.psu.edu
Subject: [9fans] HP-PSC usb printer
Date: Thu, 23 Feb 2006 16:08:30 +0100	[thread overview]
Message-ID: <60807f92b8385d18ed42160b931f6ef5@yourdomain.dom> (raw)

Hi,

I've got a HP-PSC1210 printer.
I read some 9fans's archives too understand how to use it, beyond the wiki's pages.
So i test different ways.

plan9% usbstart

i add this line to /sys/lib/devices : 
psc1210		gnot	-	/dev/usb0/2/ep3data	-	gsijs!PSC+1210	generic	nospool	-	-	-	-

(gnot is my machine's name)

helped with this output:
plan9% cat /dev/usb0/1/status
Enabled 0x00ccff
 0 0x00ccff        147 bytes         23 blocks
 1 0x00ccff          0 bytes          0 blocks
 2 0x00ccff          0 bytes          0 blocks
 3 0x020107          0 bytes          0 blocks
 4 0x020107          0 bytes          0 blocks
 5 0x00d4ff          0 bytes          0 blocks
 6 0x00d4ff          0 bytes          0 blocks

plan9% echo -n 'ep 3 bulk w 64 32' > /dev/usb0/1/ctl
plan9% bind /dev/usb0/1/ep3data /n/lp
bind /dev/usb0/1/ep3data /n/lp: inconsistent mount

As i read, i tried to create an empty file:
plan9% touch /n/lp
touch: /n/lp: cannot create: '/n/lp' file already exists
??

Even if this doesn't work, i tested 'lp':
plan9% lp -dpsc1210 readme.rio 
AFPL Ghostscript 8.53: **** Could not open the file  .
AFPL Ghostscript 8.53: Unrecoverable error, exit code 1
cat: can't open /tmp/gsp622: '/tmp/gsp622' file does not exist
rm: /tmp/gsp622: '/tmp/gsp622' file does not exist


So i'd like to know how i can resolve this.
Which man or doc could be usefull?

Thanks.

gabriel


             reply	other threads:[~2006-02-23 15:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23 15:08 givanes [this message]
2006-02-23 15:38 ` C H Forsyth
2006-02-23 16:09 givanes

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=60807f92b8385d18ed42160b931f6ef5@yourdomain.dom \
    --to=givanes@gmail.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).