* Re: [9fans] HP-PSC usb printer
@ 2006-02-23 16:09 givanes
0 siblings, 0 replies; 3+ messages in thread
From: givanes @ 2006-02-23 16:09 UTC (permalink / raw)
To: 9fans
Yes.Sorry, this post explain it.
But as i'm a newbie, Is there a good way to surround the problem ?
How could i know if the psc1210's line in /sys/lib/lp/devices is correct ?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] HP-PSC usb printer
2006-02-23 15:08 givanes
@ 2006-02-23 15:38 ` C H Forsyth
0 siblings, 0 replies; 3+ messages in thread
From: C H Forsyth @ 2006-02-23 15:38 UTC (permalink / raw)
To: 9fans
> bind /dev/usb0/1/ep3data /n/lp: inconsistent mount
it's not saying /n/lp doesn't exist, but that you're trying to
mount a file (ep3data) on a directory (/n/lp)
>plan9% touch /n/lp
>touch: /n/lp: cannot create: '/n/lp' file already exists
not only does it already exist, but i suspect it is a directory
i'm not sure it needs it in /n/lp anyway, since you've specified
the ep3data file name in the entry in /sys/lib/devices
^ permalink raw reply [flat|nested] 3+ messages in thread
* [9fans] HP-PSC usb printer
@ 2006-02-23 15:08 givanes
2006-02-23 15:38 ` C H Forsyth
0 siblings, 1 reply; 3+ messages in thread
From: givanes @ 2006-02-23 15:08 UTC (permalink / raw)
To: 9fans
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-23 16:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-23 16:09 [9fans] HP-PSC usb printer givanes
-- strict thread matches above, loose matches on Subject: below --
2006-02-23 15:08 givanes
2006-02-23 15:38 ` C H Forsyth
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).