Re: USB curosity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/16/2015 01:31:55 AM, Berend De Schouwer wrote:
> On Tue, 2015-12-15 at 16:14 -0800, Geoffrey Leach wrote:
> > On 12/14/2015 11:58:53 PM, Berend De Schouwer wrote:
> > > On Mon, 2015-12-14 at 11:46 -0800, Geoffrey Leach wrote:
> > > > On 12/13/2015 10:40:10 PM, Berend De Schouwer wrote:
> > > > >  
> > > > > Will "echo -en 'hello world\n\f' > /dev/usb/lp0" print?  This
> > > > > should
> > > > > print the text, with a form feed.  I assume it will block
> (wait
> > > > > forever)
> > > > 
> > > > Submitted by root, the command prints fine. dev/usb/lp0 is
> > > > character
> > > > special (180/0)
> > > 
> > > 
> > > OK, so does Cups print to usb://, parallel:// or file:// ?  What's
> > > the
> > > device URI?
> > > 
> > > You can get the device URI using 'lpstat -t' or using
> > > 'http://localhost
> > > :631/'
> > 
> > % lpstat -t
> > scheduler is running
> > system default destination: HP_LaserJet_1300
> > device for HP_LaserJet_1300: usb://HP/LaserJet%201300
> 
> You should note if Cups ever disables your printer automatically.  In
> that case you want to set the option ErrorPolicy to retry-job.  It
> means that if the printer times out (bad cable) cups will try again,
> instead of just halting permanently.  You should see 'enabled' or
> 'disabled' somewhere in 'lpstat -t'
> 
> If you have tried a different cable, you can try a different URI:
> 'lpadmin -p HP_LaserJet_1300 -v parallel://dev/usb/lp0'.  The point is
> to just try a different protocol, and hopefully different error
> tolerances.
> 
> Don't use parallel: or file: if you have more than one USB printer.
>  The print jobs can end up on the wrong printer.

I changed the error policy in CUPS and the test page printed, so that's progress. As I don't have the option of replacing the USB cable, I'm thinking of a hub. TBD there.

Thanks.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux