From mboxrd@z Thu Jan 1 00:00:00 1970 From: franciscojose ballesteros In-Reply-To: Mime-Version: 1.0 (iPad Mail 7B367) References: Date: Sat, 3 Jul 2010 23:08:06 +0200 Message-ID: <-1335283861020491921@unknownmsgid> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] printing over usb Topicbox-Message-UUID: 3c80da7a-ead6-11e9-9d60-3106f5b1d025 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. Otherwise it could be something like ep4.1 On Jul 3, 2010, at 8:31 PM, James Chapman wrote: > Hi, > > I would like to use my hp laserjet 1300 postscript printer with plan9. > I'm running plan9 under vmware fusion on a macbook and the printer is > connected via usb. > > I checked that the printer is visible: > > 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 uhci > ep4.0 printer csp 0x030107 csp 0x010107 vid 0x03f0 did 0x1017 > Hewlett-Packard 'hp LaserJet 1300' uhci > > I added the following line to /sys/lib/lp/devices: > > laserjet1300 - - /dev/usb/ep4.0/data - post+nohead generic nospool - - - - > > Then I tried to print something: > > term% lp -dlaserjet1300 /sys/doc/utf.ps > cat: write error copying : request timed out > > Can somebody tell me what I'm doing wrong? > > Best wishes, > > James Chapman >