Re: cups 1.2 - no output



Rainer Heesen wrote:
root@desktop ~# echo test > /dev/ulpt0
bash: /dev/ulpt0: Device busy

so I think it is not a cups problem, but what kind of program make the usb
device busy?

It can't be any other program if fstat is not reporting anything. I've
been reading on the usb printer standard, and the ulpt code. I found
that it will return 'device busy' (EBUSY) in one more condition other
than that it is in use by another program. It will first do a soft reset
on the printer, telling it to forget everything about previous request
and/or errors. Then it'll wait for the printer to set it's state to
Selected (ie. online). If the printer doesn't set its state to online
FreeBSD will return EBUSY (device busy).

You can try running your kernel in verbose mode ('boot -v' from the
loader), and if this is the case you'll see series of messages on the
console like:
ulpt_open: waiting a while
...

To get your printer working again, maybe you can unplug, powercycle (ie.
hard reset) your printer. And then try /dev/unlpt0. (No reset) 'echo
test > /dev/unlpt0' is an effective test.

Maybe your printer sets the online bit correctly if it doesn't receive
the reset.
And otherwise if you can confirm that the printer is not online, then
maybe you can manually tell it to get online or power up. (By pushing an
eventual 'power up'/'online' button on the printer itself)


Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: Password replication - Active Directory - Server 2003
    ... > Windows Platform Support Team ... > Please note you'll need to strip ".online" from my email address to email ... >> get a remote user who needs a password reset. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Church told to hang own fire panel
    ... reset a trouble condition. ... or can't find one online even though all manufacturers have them available. ... all of our customers are calling him for tech advise. ...
    (alt.security.alarms)
  • RE: SBS 2003 stand, useage report file
    ... for example if i want to reset userXXX's stats(emails sent/received,time ... > Thanks for letting us know that my information is helpful to you. ... > Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • Re: 2003 Corolla cat converter
    ... I did find one online ... that lists for 1100 but sells for 341. ... A little while after replacing, ... came on again and he reset it for me saying that the systems are very ...
    (alt.autos.toyota)