Re: I don't understand CUPS any more
Tim Waugh wrote: Now I've disabled the firewall on both machines. The printer was set as sharing on both machines. The point is you don't need to set up a printer on the laptop. If you have everything configured right it will appear there automatically. Thanks for your response. I know CUPS is meant to see printers on the LAN, but this has never worked for me. Incidentally, I tried running Fedora-10 again on the machine to which the printer is attached (I kept it on another partition) and printing worked fine. The only major difference I could see is that httpd was running on the printer-machine, and I gave http as my choice during printer setup on the laptop. But I assumed this just meant CUPS used the http protocol, not the httpd server? Is that right? I'm wondering if I have caused some confusion by install hplip on machine A, and running hp-setup there? Best to avoid hp-setup I think. I'm not at all clear of the relation (if any) between hplip and CUPS? HPLIP has several parts: hplip contains the 'hp' backend for CUPS, for low ink reporting etc This seems an attractive idea, if it works. I think I saw an option to clean the print-head, which must be good ... -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
I don't understand CUPS any more
I'm trying to set up a printer attached to machine A so that I can print from laptop B. The printer is an old HP Laserjet 5L. Both A and B are running Fedora-11. When I upgraded A from Fedora-10, I decided to use the hpijs driver (possibly foolishly?) The printer seems to work fine on machine A, to which it is attached through the parallel port. Now I am trying to setup printing from laptop B. So I go to http://localhost:631/ on the laptop, and go to AdministrationAdd Printer . I'm offered a choice between Local Printers and Other Network Printers. (Discovered Network Printers appears to be blank.) I don't know whether my printer is Local or Network? I'm going to try for NetworkAppSocket/HP JetDirect . (I have no idea what this means, but I see that the Network Printers help page says, The AppSocket protocol (sometimes also called the JetDirect protocol, owing to its origins with the HP JetDirect network interfaces) is the simplest, fastest, and generally the most reliable network protocol used for printers. I give the URI as socket:192.168.2.1:9100 , and Continue. After giving the Name, Description and Location I Continue again. I give Make: HP and Continue. I choose Model: HP Laserjet 5L Foomatic/hpijs (en) and Add Printer. I'm offered Default Printer Options, where I choose Page Size: A4 and press Set Default Options. I'm told the printer has been set up correctly. I click on MaintenancePrint Test Page but nothing comes out of the printer. I am told (on Show All Jobs) that the job is pending. There is no error listed in /var/log/cups/error_log, while /var/log/cups/access_log says POST /printers/lj HTTP/1.1 200 479 Print-Job successful-ok I see in /var/log/cups/error_log on Machine A (192.168.2.1) E [28/Jul/2009:14:45:06 +0100] Unable to bind socket for address 192.168.2.4:631 - Cannot assign requested address. E [28/Jul/2009:14:45:06 +0100] Unable to bind socket for address 192.168.2.4:9100 - Cannot assign requested address. In /etc/cups/cupsd.conf on machine A I have --- Listen *:631 Listen *:9100 --- I see that on the laptop I can say --- [...@carrie ~]$ telnet 192.168.2.1 9100 Trying 192.168.2.1... Connected to 192.168.2.1. Escape character is '^]'. ^] telnet quit Connection closed. [...@carrie ~]$ telnet 192.168.2.1 631 Trying 192.168.2.1... Connected to 192.168.2.1. Escape character is '^]'. ^] telnet quit Connection closed. --- Any enlightenment gratefully received ... -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: I don't understand CUPS any more
On 28/07/09 17:11, Timothy Murphy wrote: I'm trying to set up a printer attached to machine A so that I can print from laptop B. The printer is an old HP Laserjet 5L. Both A and B are running Fedora-11. When I upgraded A from Fedora-10, I decided to use the hpijs driver (possibly foolishly?) The printer seems to work fine on machine A, to which it is attached through the parallel port. snipped Have you the printer as shared on A -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: I don't understand CUPS any more
On Tue, 2009-07-28 at 17:11 +0100, Timothy Murphy wrote: I'm trying to set up a printer attached to machine A so that I can print from laptop B. [...] Both A and B are running Fedora-11. The way this is meant to work is: 1. On machine A, set 'Share printers connected to this system', either using System-Administration-Printing or with the CUPS web interface 2. On laptop B, adjust the firewall so that IPP UDP packets are allowed in. 3. On machine A, plug in the printer. The queue is automatically created and shared. You can do things in a different order, it just might take more time for the queue to show up on the laptop. Tim. */ signature.asc Description: This is a digitally signed message part -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: I don't understand CUPS any more
On Tue, 28 Jul 2009 17:31:47 +0100 Tim Waugh wrote: The queue is automatically created and shared. Unless, of course, you have unchecked the Show printers shared by other systems checkbox in the cups admin web interface (which I have to do here at work to prevent me from seeing a lot of printers scattered around the building I don't want to show up :-). -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: I don't understand CUPS any more
On Tue, Jul 28, 2009 at 11:31 AM, Tim Waughtwa...@redhat.com wrote: On Tue, 2009-07-28 at 17:11 +0100, Timothy Murphy wrote: I'm trying to set up a printer attached to machine A so that I can print from laptop B. [...] Both A and B are running Fedora-11. The way this is meant to work is: 1. On machine A, set 'Share printers connected to this system', either using System-Administration-Printing or with the CUPS web interface 2. On laptop B, adjust the firewall so that IPP UDP packets are allowed in. 3. On machine A, plug in the printer. The queue is automatically created and shared. You can do things in a different order, it just might take more time for the queue to show up on the laptop. Tim. As far as I know the firewall on both machines will need to be modified. I'm trying to remember this from memory but I believe there is an option for IPP and one is labeled as (Server) and one is labeled as (Client). Machine A will need the server option checked and machine B will need the client option checked. Richard -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: I don't understand CUPS any more
Tim Waugh wrote: I'm trying to set up a printer attached to machine A so that I can print from laptop B. [...] Both A and B are running Fedora-11. The way this is meant to work is: 1. On machine A, set 'Share printers connected to this system', either using System-Administration-Printing or with the CUPS web interface 2. On laptop B, adjust the firewall so that IPP UDP packets are allowed in. 3. On machine A, plug in the printer. The queue is automatically created and shared. You can do things in a different order, it just might take more time for the queue to show up on the laptop. Thanks for the response. I did have the firewalls on both machines properly set, with port 9100 (TCP and UDP) added. Now I've disabled the firewall on both machines. The printer was set as sharing on both machines. I'm wondering if I have caused some confusion by install hplip on machine A, and running hp-setup there? I'm not at all clear of the relation (if any) between hplip and CUPS? I like hplip because it recongized my Laserjet 5L, and claims it can clean the print-head. (I'm slightly sceptical of this claim ...) But I'm thinking of removing CUPS and hplip, and starting from scratch. -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: I don't understand CUPS any more
On Tue, 2009-07-28 at 12:03 -0500, Richard Shaw wrote: As far as I know the firewall on both machines will need to be modified. I'm trying to remember this from memory but I believe there is an option for IPP and one is labeled as (Server) and one is labeled as (Client). Machine A will need the server option checked and machine B will need the client option checked. Ah, of course you're right. Tim. */ signature.asc Description: This is a digitally signed message part -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: I don't understand CUPS any more
Richard Shaw wrote: As far as I know the firewall on both machines will need to be modified. I'm trying to remember this from memory but I believe there is an option for IPP and one is labeled as (Server) and one is labeled as (Client). Machine A will need the server option checked and machine B will need the client option checked. Thanks for the response. But I don't think the firewalls are the problem. I now have both disabled, but I had the appropriate settings anyway. I think if there was a firewall problem, telnet to ports 631 or 9100 would not work? -- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: I don't understand CUPS any more
On Tue, Jul 28, 2009 at 4:57 PM, Timothy Murphygayle...@eircom.net wrote: Richard Shaw wrote: As far as I know the firewall on both machines will need to be modified. I'm trying to remember this from memory but I believe there is an option for IPP and one is labeled as (Server) and one is labeled as (Client). Machine A will need the server option checked and machine B will need the client option checked. Thanks for the response. But I don't think the firewalls are the problem. I now have both disabled, but I had the appropriate settings anyway. I think if there was a firewall problem, telnet to ports 631 or 9100 would not work? I would guess not. Don't forget handy tools like wireshark in these situations, especially if your sure of your config and even if your not it might help you sniff out the problem. -- The convoluted wording of legalisms grew up around the necessity to hide from ourselves the violence we intend toward each other. Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. You have done violence to him, consumed his energy. Elaborate euphemisms may conceal your intent to kill, but behind any use of power over another the ultimate assumption remains: I feed on your energy. -Addenda to Orders in Council The Emperor Paul Muad'dib -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines