Re: Interactive Port
On Wednesday 01 September 2010 09:57:15 per...@pluto.rain.com wrote: Rem P Roberti remeg...@comcast.net wrote: Brother! Muttprint is now working fine. The problem: the printer was offline! Now, before you go accusing me of being a complete dufus, let me say that I had no way of knowing that that condition existed. The printer itself indicated that it was online---no problem. What happened is that somehow, and I'm not sure what caused this, the printer became disengaged from its usb port. I'd call it a bug in the printer that it continues to indicate online when it has lost its connection to its host (unless it also has a network connection, and in that case I imagine you'd be using the network instead of USB). ... The only way that I could get it talking again to usb was by doing a reboot. Now _that_ sounds like a possible bug in the USB subsystem, since USB is supposed to be completely hot-pluggable and should not need a reboot to get itself straightened out after a mishap. Cc-ing usb@ list. One question which will surely arise is, which FreeBSD version are you using? The USB stack was completely rewritten in 8.0. If the USB application does not close the /dev/XXX handles, it will block the enumeration of new USB devices on that bus. Also see usbconfig -d X.Y reset --HPS ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interactive Port
Rem P Roberti remeg...@comcast.net wrote: Brother! Muttprint is now working fine. The problem: the printer was offline! Now, before you go accusing me of being a complete dufus, let me say that I had no way of knowing that that condition existed. The printer itself indicated that it was online---no problem. What happened is that somehow, and I'm not sure what caused this, the printer became disengaged from its usb port. I'd call it a bug in the printer that it continues to indicate online when it has lost its connection to its host (unless it also has a network connection, and in that case I imagine you'd be using the network instead of USB). ... The only way that I could get it talking again to usb was by doing a reboot. Now _that_ sounds like a possible bug in the USB subsystem, since USB is supposed to be completely hot-pluggable and should not need a reboot to get itself straightened out after a mishap. Cc-ing usb@ list. One question which will surely arise is, which FreeBSD version are you using? The USB stack was completely rewritten in 8.0. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interactive Port
Rem P Roberti remeg...@comcast.net writes: In attempting to install /usr/ports/print/dvips I got the error message that dvips is an interactive port, and I can't remember how to handle that. Could I please get a heads up there. Thank you. Just install it without BATCH. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interactive Port
On 2010.08.31 12:34:21 -0700, Rem P Roberti wrote: In attempting to install /usr/ports/print/dvips I got the error message that dvips is an interactive port, and I can't remember how to handle that. Could I please get a heads up there. Thank you. OK...I commented out the 'batch' entry in make.conf. Now I get this error message: === dvips-5.76 conflicts with installed package(s): teTeX-base-3.0_20 teTeX-texmf-3.0_6 The whole problem is that I am trying to get muttprint to work, and my understanding is that it is dependent on teTeX for its operation. But when I tried to print I got an error message telling me that the print operation needs to see dvips. So I'm not exactly sure what is going on here. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interactive Port
Hi Rem, On 8/31/10 3:34 PM, Rem P Roberti wrote: In attempting to install /usr/ports/print/dvips I got the error message that dvips is an interactive port, and I can't remember how to handle that. Could I please get a heads up there. Thank you. I suspect you have BATCH=yes in /etc/make.conf; if so, comment out that line and run make(1) again. Cheers, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interactive Port
On 8/31/10 3:39 PM, Rem P Roberti wrote: On 2010.08.31 12:34:21 -0700, Rem P Roberti wrote: In attempting to install /usr/ports/print/dvips I got the error message that dvips is an interactive port, and I can't remember how to handle that. Could I please get a heads up there. Thank you. OK...I commented out the 'batch' entry in make.conf. Now I get this error message: === dvips-5.76 conflicts with installed package(s): teTeX-base-3.0_20 teTeX-texmf-3.0_6 The whole problem is that I am trying to get muttprint to work, and my understanding is that it is dependent on teTeX for its operation. But when I tried to print I got an error message telling me that the print operation needs to see dvips. So I'm not exactly sure what is going on here. Looking at the Makefile for the port, all teTeX ports conflict with dvips. Deinstalling teTeX-* from your system will allow this port to build/install; I'm not familiar enough with muttprint enough to be of much more help with it though. Cheers, -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interactive Port
On Tue, Aug 31, 2010 at 12:39:35PM -0700, Rem P Roberti wrote: On 2010.08.31 12:34:21 -0700, Rem P Roberti wrote: In attempting to install /usr/ports/print/dvips I got the error message that dvips is an interactive port, and I can't remember how to handle that. Could I please get a heads up there. Thank you. OK...I commented out the 'batch' entry in make.conf. Now I get this error message: === dvips-5.76 conflicts with installed package(s): teTeX-base-3.0_20 teTeX-texmf-3.0_6 The whole problem is that I am trying to get muttprint to work, and my understanding is that it is dependent on teTeX for its operation. But when I tried to print I got an error message telling me that the print operation needs to see dvips. So I'm not exactly sure what is going on here. teTeX comes with dvips IIRC, which is why you're getting the error. For printing from mutt, I use the following in ~/.muttrc set print_command=a2ps -1 ~/mail.ps; gv ~/mail.ps Obviously, that views the postcript file first then I print from gv. gv a2ps are in ports. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interactive Port
On Tue, 31 Aug 2010 23:54:28 +0100, Frank Shute fr...@shute.org.uk wrote: For printing from mutt, I use the following in ~/.muttrc set print_command=a2ps -1 ~/mail.ps; gv ~/mail.ps Obviously, that views the postcript file first then I print from gv. What about lpr ~/mail.ps instead of gv ~/mail.ps? This would actually send the output PS to the default printer queue, causing the message to be printed. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interactive Port
On 2010.09.01 01:11:46 +0200, Polytropon wrote: On Tue, 31 Aug 2010 23:54:28 +0100, Frank Shute fr...@shute.org.uk wrote: For printing from mutt, I use the following in ~/.muttrc set print_command=a2ps -1 ~/mail.ps; gv ~/mail.ps Obviously, that views the postcript file first then I print from gv. What about lpr ~/mail.ps instead of gv ~/mail.ps? This would actually send the output PS to the default printer queue, causing the message to be printed. Nothing is working, regardless of whether I try to print from Muttprint, or with Frank's setup. In either case I get this error message: Press any key to continue...cannot remove path when cwd is /tmp/muttprint-GOauzJ for /tmp/muttprint-GOauzJ: at /usr/local/lib/perl5/5.10.1/File/Temp.pm line 902 I'm beginning to wonder if this doesn't have something to do with the fact that my printer is installed via CUPS. There may need to me a special parameter set up in .muttprintrc. But so far I haven't found any info on it. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interactive Port
Brother! Muttprint is now working fine. The problem: the printer was offline! Now, before you go accusing me of being a complete dufus, let me say that I had no way of knowing that that condition existed. The printer itself indicated that it was online---no problem. What happened is that somehow, and I'm not sure what caused this, the printer became disengaged from its usb port. Weird. I noticed that this had happened when I tried to print from another program without success. The only way that I could get it talking again to usb was by doing a reboot. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Interactive Port
On Wed, Sep 01, 2010 at 01:11:46AM +0200, Polytropon wrote: On Tue, 31 Aug 2010 23:54:28 +0100, Frank Shute fr...@shute.org.uk wrote: For printing from mutt, I use the following in ~/.muttrc set print_command=a2ps -1 ~/mail.ps; gv ~/mail.ps Obviously, that views the postcript file first then I print from gv. What about lpr ~/mail.ps instead of gv ~/mail.ps? This would actually send the output PS to the default printer queue, causing the message to be printed. I like to view it first. Make sure there are no orphaned/widowed paragraphs etc. If so, then I might cat it to plain ascii, edit it then run it through a2ps. Works for me! Not often that I print email. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org