I used to yast to set up my hp laserjet 2100 on a fresh install of opensuse 11.4. Everything appeared fine until I went to print a test page. It prints out several blank pages before stopping. I did some googling, and it appears I may have an issue with localhost starting at boot up.
When I go to http://127.0.0.1:631 I see the cupsd webpage. However, when I ping that same address I get:
ping: unknown host http://127.0.0.1:631
The error log from /var/log/cups/error_log is as follows:
E [14/Apr/2011:22:48:10 -0400] [CGI] Unable to scan "@LOCAL"!
E [15/Apr/2011:15:38:23 -0400] Unable to bind socket for address ::1:631 - Cannot assign requested address.
E [15/Apr/2011:15:48:14 -0400] Unable to bind socket for address ::1:631 - Cannot assign requested address.
E [16/Apr/2011:08:09:16 -0400] Unable to bind socket for address ::1:631 - Cannot assign requested address.
E [16/Apr/2011:10:52:38 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [16/Apr/2011:10:56:46 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
E [16/Apr/2011:11:33:11 -0400] [cups-driverd] Bad driver information file "/usr/share/cups/drv/sample.drv"!
I don’t know what to do to get cups and ping to find the localhost cupsd port to get things working properly. If anyone could offer suggestions, I would greatly appreciate it.
So did you use hplip to configure your printer? You can use cups after the printer driver is installed, but not sure what you get with cups alone, but perhaps it just does not work. I use the following command to setup my HP Printer in KDE:
Alt-F2 (Or menu Run Command)
kdesu hp-setup
I then configure my hp printer. Then, after it is configured, I use cups to setup its options, such as default page size:
desktop-launch http://localhost:631/
Thank You,
On 2011-04-16 18:36, Maxwell4000 wrote:
> When I go to http://127.0.0.1:631 I see the cupsd webpage. However,
> when I ping that same address I get:
>
> Code:
> --------------------
> ping: unknown host http://127.0.0.1:631
> --------------------
You can not ping a port.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
On 2011-04-16 21:36, jdmcdaniel3 wrote:
> So did you use hplip to configure your printer? You can use cups after
> the printer driver is installed, but not sure what you get with cups
> alone,
Yes, you can, at least for standard models.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
On 04/16/2011 02:50 PM, Carlos E. R. wrote:
> On 2011-04-16 21:36, jdmcdaniel3 wrote:
>> So did you use hplip to configure your printer? You can use cups after
>> the printer driver is installed, but not sure what you get with cups
>> alone,
>
> Yes, you can, at least for standard models.
I have an HP Laserjet 2200 connected through a JetDirect network card. I never
use hplip.
When you select a driver for the device, I find that the PCL drivers are
generally a lot faster than the Postscript versions.
I had previously setup the printing using yast>hardware>printer. I went back and deleted that setup and tried the hp-setup option that was suggested. That caused the printer to print out control codes on page 1 and then burned through several more blank pages before I had to manually stop the printer.
I then went back to yast, and deleted that setup and tried one of the drivers listed there even though it was not marked as recommended. Apparently, I got lucky. It now prints a single test page instead of churning out blank pages.
Thanks everyone for their suggestions.
I appreciate everyone’s help.
And in case it helps anyone else with the same problem, the driver I selected from the list was marked hpijs.
On 2011-04-16 22:22, Larry Finger wrote:
> When you select a driver for the device, I find that the PCL drivers are
> generally a lot faster than the Postscript versions.
In linux all applications print as postscript, which can be sent directly
to the printer. Then the printer has to process that postscript, for which
it needs cpu and memory. Printer memory is expensive, so they can be slow
if the page is complex, or even not print at all.
Printing to PCL means converting from ps to pcl in the computer, but then
less processing in the printer.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)