LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Configuring HP LaserJet 1018 printer in slc 4 (https://www.linuxquestions.org/questions/linux-newbie-8/configuring-hp-laserjet-1018-printer-in-slc-4-a-800473/)

biplabbijay 04-06-2010 09:47 PM

Configuring HP LaserJet 1018 printer in slc 4
 
Hi I am using Scientific Linux 4.6. I want to configure HP LaserJet 1018 printer. How to configure it ? which driver is required for this purpose. Can anybody help me ? Thanks in advance.

Tinkster 04-06-2010 10:05 PM

Let me google this for you ... the first hit is your answer.

chrism01 04-07-2010 12:07 AM

I've used this for my HP1020 http://foo2zjs.rkkda.com/ and it works fine. Model 1018 is also listed.

biplabbijay 04-07-2010 05:02 AM

Thanks to both of you. I have successfully i installed foo2zjs, after that i have configured the printer as given in that foo2zjs site and make it as default printer. Now in the print option of any document i can see LaserJet 1018 option but when i try to print it , nothing is printed out.The print job is paused.I could not find out what is the problem can anybody please help me in this problem ?

Tinkster 04-07-2010 12:38 PM

What does the webinterface say about the printer?

You can always bump up the log level, restart cups
and have a look at the cups error_log.


Cheers,
Tink

biplabbijay 04-07-2010 11:15 PM

Code:

What does the webinterface say about the printer?
I could not follow this statement. How to do this ?

Code:

You can always bump up the log level, restart cups
and have a look at the cups error_log.

How to bump up the log level ? How to restart cups ?

Besides when i restart the computer i see this statement while booting:

Code:

drivers/usb/usblpc.c:usblp0: failed reading printer status.
What does it mean ?

Tinkster 04-08-2010 12:02 AM

Quote:

Originally Posted by biplabbijay (Post 3928180)
Code:

What does the webinterface say about the printer?
I could not follow this statement. How to do this ?

Commonly you point your browser at



Quote:

Originally Posted by biplabbijay (Post 3928180)
Code:

You can always bump up the log level, restart cups
and have a look at the cups error_log.

How to bump up the log level ? How to restart cups ?

locate cups.conf, find the line
LogLevel xxxx
and change xxx to debug

Restart: service cups restart (or similar).



Quote:

Originally Posted by biplabbijay (Post 3928180)
Besides when i restart the computer i see this statement while booting:

Code:

drivers/usb/usblpc.c:usblp0: failed reading printer status.
What does it mean ?

No idea - never came across that; have you asked google?

biplabbijay 04-08-2010 11:26 PM

Thank you verymuch Tinkster and sorry for the late reply.I found that file in

Code:

./etc/dbus-1/system.d/cups.conf
here. i am sending you the file contents.

Code:


<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
  <!-- Only root can send this message -->
  <policy user="root">
    <allow send_interface="com.redhat.PrinterSpooler"/>
  </policy>

  <!-- Allow any connection to receive the message -->
  <policy context="default">
    <allow receive_interface="com.redhat.PrinterSpooler"/>
  </policy>
</busconfig>

The line

Code:

ocate cups.conf, find the line
LogLevel xxxx
and change xxx to debug

is not there. Am i looking into the right file ?
what to do next ? Please help me.

biplabbijay 04-11-2010 11:32 PM

Thank you verymuch Tinkster and sorry for the late reply.I found that file in

Code:

./etc/dbus-1/system.d/cups.conf
here. i am sending you the file contents.

Code:


<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
  <!-- Only root can send this message -->
  <policy user="root">
    <allow send_interface="com.redhat.PrinterSpooler"/>
  </policy>

  <!-- Allow any connection to receive the message -->
  <policy context="default">
    <allow receive_interface="com.redhat.PrinterSpooler"/>
  </policy>
</busconfig>

The line

Code:

ocate cups.conf, find the line
LogLevel xxxx
and change xxx to debug

is not there. Am i looking into the right file ?
what to do next ? Please help me.

Tinkster 04-12-2010 12:28 AM

My apologies - the files name is actually cupsd.conf, not cups.conf.

biplabbijay 04-12-2010 06:40 AM

Thanks Tinkster .the Problem is solved. But i don't have to modify cupsd.conf. Only i have to install the hot plug.
Thank you verymuch.

Biplab.


All times are GMT -5. The time now is 03:45 PM.