Re: [gentoo-user] cups printing problems
Hi Kathy, I put the ppd file in: /usr/share/cups/model/HP-DeskJet_420C-hpijs.ppd I believe that is what the directions said to do. Still don't have a device to select from in the dropdown combo box. Thanks Again, Harlan... On Saturday 22 November 2003 03:23 pm, Kathy Wills wrote: I what directory did you save the ppd file? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Hi Kathy, I have stopped and restarted the cupsd before and after every change. I have the parport compiled into the kernel, not as a separate module, but I can certainly try that. Here is a section of my /etc/log/cups/error_log file after stopping and starting cupsd: I [25/Nov/2003:10:45:01 -0600] Listening to c0a80114:631 I [25/Nov/2003:10:45:01 -0600] Loaded configuration file /etc/cups/cupsd.conf I [25/Nov/2003:10:45:01 -0600] Configured for up to 100 clients. I [25/Nov/2003:10:45:01 -0600] Allowing up to 100 client connections per host. I [25/Nov/2003:10:45:01 -0600] Full reload is required. I [25/Nov/2003:10:45:21 -0600] LoadPPDs: Read /etc/cups/ppds.dat, 2771 PPDs... I [25/Nov/2003:10:46:06 -0600] LoadPPDs: No new or changed PPDs... I [25/Nov/2003:10:46:06 -0600] Full reload complete. I [25/Nov/2003:10:48:31 -0600] Started /usr/lib/cups/cgi-bin/printers.cgi (pid =5151) E [25/Nov/2003:10:48:31 -0600] [CGI] CUPS-Get-Printers request failed - server-e rror-internal-error (500) I [25/Nov/2003:10:48:51 -0600] Started /usr/lib/cups/cgi-bin/admin.cgi (pid=51 58) As far as I know, I have all the latest foomatic scripts in place, according to the installation instructions. I'm open to suggestions. Thanks again for your help. Harlan... On Wednesday 19 November 2003 03:15 am, Kathy Wills wrote: Harlan wrote: Well, I re-installed (emerged in gentoo parlance) gimp-print, foomatic (and related packages) with newer versions. I still have the same problems with the command-line foomatic-configure. When I try to use the web admin tools with cups (Add Printer), I cannot select the device. I put in the name I want, click on the Continue button, the Device dropdown is empty - no device choices. In the cups-doc.html that Kathy suggested, 5. Configure CUPS. says to basically use the Add Printer with a web browser and follow the directions, which I have done. Any ideas on how to get a device to be recognized? I do have /dev/lp0 and I can cat a text file to it. Thanks, Harlan... Did you do /etc/init.d/cupsd stop then /etc/init.d/cupsd start after doing your upgrades? Is the parport module loaded? Do you have any error messages regarding this in /var/log/cups? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Harlan wrote: Hi Kathy, I put the ppd file in: /usr/share/cups/model/HP-DeskJet_420C-hpijs.ppd I believe that is what the directions said to do. Still don't have a device to select from in the dropdown combo box. Thanks Again, Harlan... I read in another of your posts that you had stop/start cupsd, however, I ran into the same problem when setting up my printer. After stopping cupsd I decided to check with top to see if in fact cupsd had been halted, it had not. I then k with 9 cupsd then I restarted cups and my printer appeared in the selection drop_down. Just a thought : ) -- Ted Ozolins(VE7TVO) Westbank, B. C -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: [POSSIBLE SPAM]:Re: [gentoo-user] cups printing problems
Hi Ted, I have run into this now and again. I do check if the daemon actually stops, usually I do ps -elf |grep cups. Thanks for your suggestion. Harlan... On Tuesday 25 November 2003 11:06 am, Ted Ozolins wrote: I read in another of your posts that you had stop/start cupsd, however, I ran into the same problem when setting up my printer. After stopping cupsd I decided to check with top to see if in fact cupsd had been halted, it had not. I then k with 9 cupsd then I restarted cups and my printer appeared in the selection drop_down. Just a thought : ) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Harlan wrote: Hi Kathy, I have stopped and restarted the cupsd before and after every change. I have the parport compiled into the kernel, not as a separate module, but I can certainly try that. Here is a section of my /etc/log/cups/error_log file after stopping and starting cupsd: I [25/Nov/2003:10:45:01 -0600] Listening to c0a80114:631 I [25/Nov/2003:10:45:01 -0600] Loaded configuration file /etc/cups/cupsd.conf I [25/Nov/2003:10:45:01 -0600] Configured for up to 100 clients. I [25/Nov/2003:10:45:01 -0600] Allowing up to 100 client connections per host. I [25/Nov/2003:10:45:01 -0600] Full reload is required. I [25/Nov/2003:10:45:21 -0600] LoadPPDs: Read /etc/cups/ppds.dat, 2771 PPDs... I [25/Nov/2003:10:46:06 -0600] LoadPPDs: No new or changed PPDs... I [25/Nov/2003:10:46:06 -0600] Full reload complete. I [25/Nov/2003:10:48:31 -0600] Started /usr/lib/cups/cgi-bin/printers.cgi (pid =5151) E [25/Nov/2003:10:48:31 -0600] [CGI] CUPS-Get-Printers request failed - server-e rror-internal-error (500) I [25/Nov/2003:10:48:51 -0600] Started /usr/lib/cups/cgi-bin/admin.cgi (pid=51 58) As far as I know, I have all the latest foomatic scripts in place, according to the installation instructions. I'm open to suggestions. Thanks again for your help. Harlan... I'm fresh out of ideas. Check this out and see if can get some help http://www.linuxprinting.org/kpfeifle/LinuxKongress2002/Tutorial/VII.cups-help/VII.cups-help.html -- Kathy Wills + + Genealogy Web Site: http://www.kathywillsfamily.com + + + + Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 + + -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Hi Kathy, Thanks for trying to help. On Wednesday 19 November 2003 03:15 am, Kathy Wills wrote: Did you do /etc/init.d/cupsd stop then /etc/init.d/cupsd start after doing your upgrades? Yes, several times in fact. I even rebooted the computer, making sure the printer was connected and turned on before turning on the computer again. The printer recognized the POST from the computer and reset itself. Is the parport module loaded? I have it directly compiled into the kernel. I'm using devfs, which does find a reason to create /dev/lp0; to which I can cat a text file to. Do you have any error messages regarding this in /var/log/cups? I did have one Allow in the wrong place, corrected it, still no joy. After I restarted the computer, I went back into the web browser, using the Add Printer wizard, I can enter the queue name, but when I click on Continue, I still do NOT get any devices listed in the Device drop-down box. When I looked in /dev I had /dev/lp0 - printers/0 I changed the link to be /dev/lp0 - /dev/printers/0 I restarted the cupsd daemon, still with no joy. Any other ideas? Thanks, Harlan... -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Yes I did. I just checked, I have version 1.4.1. Thanks for the suggestion. Harlan... On Wednesday 19 November 2003 01:01 am, Jean Magnan de Bornier wrote: Le 11/18/03 Harlan [EMAIL PROTECTED] a écrit notamment: Just one more idea: have you emerged hpijs as needed? Thank you for your reply. I tried -L /dev/lp0 and -L file:/dev/lp0 Still no joy. Thanks, Harlan... On Monday 17 November 2003 11:24 am, Jean Magnan de Bornier wrote: Le 11/16/03 Harlan [EMAIL PROTECTED] a écrit notamment: Here is what I have tried: bash-2.05b# grep 420C /usr/share/foomatic/db/source/printer/* /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml:printer id=printer/HP-DeskJet_420C /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml: modelDeskJet 420C/model bash-2.05b# grep HP-DeskJet_420C /usr/share/foomatic/db/source/driver/* /usr/share/foomatic/db/source/driver/cdj500.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- /usr/share/foomatic/db/source/driver/hpijs.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- bash-2.05b# foomatic-configure -s cups -p HP-DeskJet_420C -c file:/dev/lp0 -n HP420C -d hpijs lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! From the foomatic-configure FM it seems that the c option is for a remote printer (connect), and L would be the printer's address. Can you try it with L? cheers, -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Harlan wrote: Well, I re-installed (emerged in gentoo parlance) gimp-print, foomatic (and related packages) with newer versions. I still have the same problems with the command-line foomatic-configure. When I try to use the web admin tools with cups (Add Printer), I cannot select the device. I put in the name I want, click on the Continue button, the Device dropdown is empty - no device choices. In the cups-doc.html that Kathy suggested, 5. Configure CUPS. says to basically use the Add Printer with a web browser and follow the directions, which I have done. Any ideas on how to get a device to be recognized? I do have /dev/lp0 and I can cat a text file to it. Thanks, Harlan... Did you do /etc/init.d/cupsd stop then /etc/init.d/cupsd start after doing your upgrades? Is the parport module loaded? Do you have any error messages regarding this in /var/log/cups? -- Kathy Wills + + Genealogy Web Site: http://www.kathywillsfamily.com + + + + Summit Group Web Site: http://www.tsginfo.com/index.php?rc=VW4374 + + -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Thank you for replying. /dev/lp0 - printers/0 Thanks, Harlan... On Monday 17 November 2003 11:20 am, Rex Young wrote: Hello Everyone, Here is what I have tried: bash-2.05b# grep 420C /usr/share/foomatic/db/source/printer/* /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml:printer id=printer/HP-DeskJet_420C /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml: modelDeskJet 420C/model bash-2.05b# grep HP-DeskJet_420C /usr/share/foomatic/db/source/driver/* /usr/share/foomatic/db/source/driver/cdj500.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- /usr/share/foomatic/db/source/driver/hpijs.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- bash-2.05b# foomatic-configure -s cups -p HP-DeskJet_420C -c file:/dev/lp0 -n HP420C -d hpijs lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! I have tried the device both with and without the file:, same results. Thanks, Harlan... You said in an earlier e-mail that you didn't see any devices in the printer setup in cups. does /dev/lp0 exist? try: ls /dev | grep lp -rex -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Thank you for replying. I did, and still do, have the cupsd running. I do start it they way you suggest. I have even stopped it and restarted it several times. Still no joy. Thanks, Harlan... On Monday 17 November 2003 12:55 pm, [EMAIL PROTECTED] wrote: On Mon, Nov 17, 2003 at 11:11:51AM -0600, Harlan wrote: Hello Everyone, bash-2.05b# foomatic-configure -s cups -p HP-DeskJet_420C -c file:/dev/lp0 -n HP420C -d hpijs lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! I have tried the device both with and without the file:, same results. I think that, you need to start the daemon cupsd: /etc/init.d/cupsd start -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Thank you for your reply. I tried -L /dev/lp0 and -L file:/dev/lp0 Still no joy. Thanks, Harlan... On Monday 17 November 2003 11:24 am, Jean Magnan de Bornier wrote: Le 11/16/03 Harlan [EMAIL PROTECTED] a écrit notamment: Here is what I have tried: bash-2.05b# grep 420C /usr/share/foomatic/db/source/printer/* /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml:printer id=printer/HP-DeskJet_420C /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml: modelDeskJet 420C/model bash-2.05b# grep HP-DeskJet_420C /usr/share/foomatic/db/source/driver/* /usr/share/foomatic/db/source/driver/cdj500.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- /usr/share/foomatic/db/source/driver/hpijs.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- bash-2.05b# foomatic-configure -s cups -p HP-DeskJet_420C -c file:/dev/lp0 -n HP420C -d hpijs lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! From the foomatic-configure FM it seems that the c option is for a remote printer (connect), and L would be the printer's address. Can you try it with L? cheers, -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Hi Kathy, Thank you for replying. I am downloading and installing the latest version of gimp-print, which found a newer version of foomatic programs. I did already have the ppd file for my HP printer installed. I will take a little while for the compiles to work; my print server is a slow computer. Thanks, Harlan... On Tuesday 18 November 2003 05:56 am, Kathy Wills wrote: Harlan wrote: Thank you for replying. I did, and still do, have the cupsd running. I do start it they way you suggest. I have even stopped it and restarted it several times. Still no joy. Thanks, Harlan... I don't have a HP Printer. To get my Canon printer working., I had to emerge gimp-print then download the recommended ppd file for my printer and follow the directions at http://www.linuxprinting.org to set it up. You'll find the ppd for your printer here http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_420C and the setup instructions here http://www.linuxprinting.org/cups-doc.html -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Well, I re-installed (emerged in gentoo parlance) gimp-print, foomatic (and related packages) with newer versions. I still have the same problems with the command-line foomatic-configure. When I try to use the web admin tools with cups (Add Printer), I cannot select the device. I put in the name I want, click on the Continue button, the Device dropdown is empty - no device choices. In the cups-doc.html that Kathy suggested, 5. Configure CUPS. says to basically use the Add Printer with a web browser and follow the directions, which I have done. Any ideas on how to get a device to be recognized? I do have /dev/lp0 and I can cat a text file to it. Thanks, Harlan... On Tuesday 18 November 2003 12:44 pm, Harlan wrote: Hi Kathy, Thank you for replying. I am downloading and installing the latest version of gimp-print, which found a newer version of foomatic programs. I did already have the ppd file for my HP printer installed. I will take a little while for the compiles to work; my print server is a slow computer. Thanks, Harlan... On Tuesday 18 November 2003 05:56 am, Kathy Wills wrote: Harlan wrote: Thank you for replying. I did, and still do, have the cupsd running. I do start it they way you suggest. I have even stopped it and restarted it several times. Still no joy. Thanks, Harlan... I don't have a HP Printer. To get my Canon printer working., I had to emerge gimp-print then download the recommended ppd file for my printer and follow the directions at http://www.linuxprinting.org to set it up. You'll find the ppd for your printer here http://www.linuxprinting.org/show_printer.cgi?recnum=HP-DeskJet_420C and the setup instructions here http://www.linuxprinting.org/cups-doc.html -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
RE: [gentoo-user] cups printing problems
Hello Everyone, Here is what I have tried: bash-2.05b# grep 420C /usr/share/foomatic/db/source/printer/* /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml:printer id=printer/HP-DeskJet_420C /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml: modelDeskJet 420C/model bash-2.05b# grep HP-DeskJet_420C /usr/share/foomatic/db/source/driver/* /usr/share/foomatic/db/source/driver/cdj500.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- /usr/share/foomatic/db/source/driver/hpijs.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- bash-2.05b# foomatic-configure -s cups -p HP-DeskJet_420C -c file:/dev/lp0 -n HP420C -d hpijs lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! I have tried the device both with and without the file:, same results. Thanks, Harlan... You said in an earlier e-mail that you didn't see any devices in the printer setup in cups. does /dev/lp0 exist? try: ls /dev | grep lp -rex -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
On Mon, Nov 17, 2003 at 11:11:51AM -0600, Harlan wrote: Hello Everyone, bash-2.05b# foomatic-configure -s cups -p HP-DeskJet_420C -c file:/dev/lp0 -n HP420C -d hpijs lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! I have tried the device both with and without the file:, same results. I think that, you need to start the daemon cupsd: /etc/init.d/cupsd start -- Mvh. Harry Jensen / DK-2990 Nivå ** gentoo GNU/Linux ** -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Le 11/16/03 Harlan [EMAIL PROTECTED] a écrit notamment: Here is what I have tried: bash-2.05b# grep 420C /usr/share/foomatic/db/source/printer/* /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml:printer id=printer/HP-DeskJet_420C /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml: modelDeskJet 420C/model bash-2.05b# grep HP-DeskJet_420C /usr/share/foomatic/db/source/driver/* /usr/share/foomatic/db/source/driver/cdj500.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- /usr/share/foomatic/db/source/driver/hpijs.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- bash-2.05b# foomatic-configure -s cups -p HP-DeskJet_420C -c file:/dev/lp0 -n HP420C -d hpijs lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! From the foomatic-configure FM it seems that the c option is for a remote printer (connect), and L would be the printer's address. Can you try it with L? cheers, -- Jean Magnan de Bornier 3 Cours Victor Hugo, 13980 Alleins France Tel: 04 90 59 33 94Port: 06 09 17 35 87 mèl: jm.bornier*at*free.fr -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
I forgot to mention that I am running cups v 1.1.19-r1, on gentoo 2.4.20-gentoo-r5. On Sunday 16 November 2003 12:57 pm, Harlan wrote: I am trying to get printing across multiple Gentoo systems. I am able to connect to my print server from another computer. I cannot setup the print device. I need to specify the parallel port (I have a DeskJet 420C), but in the printer add portion of the admin web page, I don't have any devices listed? I've tried editing the printer.conf file, but when I run foomatic-configure, I just get errors about an invalid line. When I try running foomatic-configure, per documentation, I get an error: lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! As far as I can tell, there is no existing HP420C queue left over from previous tries. Any ideas??? I really do need to have this running. I can't print anything at all right now! Thanks, Harlan... -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Le 11/16/03 Harlan [EMAIL PROTECTED] a écrit notamment: I am trying to get printing across multiple Gentoo systems. I am able to connect to my print server from another computer. I cannot setup the print device. I need to specify the parallel port (I have a DeskJet 420C), but in the printer add portion of the admin web page, I don't have any devices listed? I've tried editing the printer.conf file, but when I run foomatic-configure, I just get errors about an invalid line. When I try running foomatic-configure, per documentation, I get an error: lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! As far as I can tell, there is no existing HP420C queue left over from previous tries. Have you tried to configure with this command taken from the printing-howto: # foomatic-configure -s cups -p $printer_model_number -c $print_device_path -n queue name -d driver ? If so (I tried that too), you should remove the queue and just give a name (here according to my interpretation foomatic believes you are referring to something named queue): # foomatic-configure -s cups -p $printer_model_number -c $print_device_path -n name -d driver should work, name is what you want to call your printer HTH -- Jean Magnan de Bornier 3 Cours Victor Hugo, 13980 Alleins France Tel: 04 90 59 33 94Port: 06 09 17 35 87 mèl: jm.bornier*at*free.fr -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] cups printing problems
Here is what I have tried: bash-2.05b# grep 420C /usr/share/foomatic/db/source/printer/* /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml:printer id=printer/HP-DeskJet_420C /usr/share/foomatic/db/source/printer/HP-DeskJet_420C.xml: modelDeskJet 420C/model bash-2.05b# grep HP-DeskJet_420C /usr/share/foomatic/db/source/driver/* /usr/share/foomatic/db/source/driver/cdj500.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- /usr/share/foomatic/db/source/driver/hpijs.xml: idprinter/HP-DeskJet_420C/id!-- HP DeskJet 420C -- bash-2.05b# foomatic-configure -s cups -p HP-DeskJet_420C -c file:/dev/lp0 -n HP420C -d hpijs lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! I have tried the device both with and without the file:, same results. Thanks, Harlan... On Sunday 16 November 2003 01:26 pm, Jean Magnan de Bornier wrote: Le 11/16/03 Harlan [EMAIL PROTECTED] a écrit notamment: I am trying to get printing across multiple Gentoo systems. I am able to connect to my print server from another computer. I cannot setup the print device. I need to specify the parallel port (I have a DeskJet 420C), but in the printer add portion of the admin web page, I don't have any devices listed? I've tried editing the printer.conf file, but when I run foomatic-configure, I just get errors about an invalid line. When I try running foomatic-configure, per documentation, I get an error: lpadmin: Unable to connect to server: Connection refused Could not set up/change the queue HP420C! As far as I can tell, there is no existing HP420C queue left over from previous tries. Have you tried to configure with this command taken from the printing-howto: # foomatic-configure -s cups -p $printer_model_number -c $print_device_path -n queue name -d driver ? If so (I tried that too), you should remove the queue and just give a name (here according to my interpretation foomatic believes you are referring to something named queue): # foomatic-configure -s cups -p $printer_model_number -c $print_device_path -n name -d driver should work, name is what you want to call your printer HTH -- [EMAIL PROTECTED] mailing list