LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-28-2009, 11:02 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
How to setup HP printer


Hi folks,

Fedora 12 64bit
HP Deskjet 5740


$ yum list cups
Code:
Loaded plugins: presto, refresh-packagekit
adobe-linux-i386                                         |  951 B     00:00     
rpmfusion-free-updates                                   | 3.3 kB     00:00     
rpmfusion-nonfree-updates                                | 3.3 kB     00:00     
updates/metalink                                         | 6.2 kB     00:00     
ftp://ftp.chu.edu.tw/linux/Fedora/linux/releases/updates/12/x86_64/repodata/repomd.xml: [Errno 14] FTP Error 550 : ftp://ftp.chu.edu.tw/linux/Fedora/linux/releases/updates/12/x86_64/repodata/repomd.xml 
Trying other mirror.
updates                                                  | 4.4 kB     00:00     
Installed Packages
cups.x86_64                       1:1.4.2-7.fc12                        @updates
Available Packages
cups.x86_64                       1:1.4.2-20.fc12                       updates

On printing following problem encountered;

1)
Page shrunk to half page

2)
A red bar of about 5x20mm enlarged to taking up half page, with colour changing to black colour

3)
Fast draft not working, speed similar to normal printing


I have been fiddling around and could not sort out the problem.

Printer Test Page is OK without problem
Code:
Printer Name   Deskjet-5700
Make and Model   HP Deskjet 5700, hpcups 3.9.8
Driver Neme   hp-deskjet_5700
Driver Version   hpcups 3.9.8

Please advise how to fix the problem. TIA


B.R.
satimis
 
Old 12-29-2009, 01:32 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I found that I needed to have HPLIP installed when I upgraded to CUPS 1.4. Also, I use the Gutenprint drivers. I don't remember all the combinations I have tried, but this works.
 
Old 12-29-2009, 04:02 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,366

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
http://localhost:631 and configure
 
Old 12-29-2009, 04:23 AM   #4
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by pixellany View Post
I found that I needed to have HPLIP installed when I upgraded to CUPS 1.4. Also, I use the Gutenprint drivers. I don't remember all the combinations I have tried, but this works.
Hi pixellany,

$ yum list hplip
Code:
Loaded plugins: presto, refresh-packagekit
Installed Packages
hplip.x86_64                             3.9.8-21.fc12                             @fedora

$ yum list cups
Code:
Loaded plugins: presto, refresh-packagekit
Installed Packages
cups.x86_64                            1:1.4.2-20.fc12                            @updates

Whether you meant;
gutenprint-cups-5.2.4-2.fc11 RPM for x86_64
http://www.rpmfind.net/linux/RPM/fed...11.x86_64.html


But gutenprint is running on the box

$ yum list gutenprint
Code:
Loaded plugins: presto, refresh-packagekit
Installed Packages
gutenprint.x86_64                           5.2.4-7.fc12                           @fedora
Available Packages
gutenprint.i686                             5.2.4-7.fc12                           fedora
Whether they are same package? TIA


B.R.
satimis
 
Old 12-29-2009, 04:35 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by business_kid View Post
http://localhost:631 and configure
Hi business_kid,

I'm NOT allowed to modify it.

Code:
Modify Printer Deskjet-5700 Error

Error:

    Forbidden
How to obtain permission. Whether on console login as root and run "firefox" to start the browser as root?


B.R.
satimis
 
Old 12-29-2009, 04:47 AM   #6
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

If you connect to cups using http and encountering permission errors, there should be a link on the top of the page to redirect you to the https administration part of cups. All changes have to be done through https, which, if configure correctly will prompt you for user/password combination.

The above only applies if you have set up cups correctly in the cupsd.conf file. As an example my cupsd.conf:
Code:
LogLevel warning
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Disable printer sharing and shared printers.
Browsing Off
DefaultAuthType Basic
<Location />
  Allow localhost
  Allow 172.25.2.*
  Allow 172.25.128.200
  # Allow remote administration...
  Order allow,deny
  Allow all
</Location>
<Location /admin>
  Allow localhost
  Allow 172.25.128.200
  Allow all
  # Allow remote administration...
  Order allow,deny
  Allow all
</Location>
<Location /admin/conf>
  AuthType Default
  Require user @SYSTEM
  Allow localhost
  Allow 172.25.128.200
  Allow all
  # Allow remote access to the configuration files...
  Order allow,deny
  Allow all
</Location>
<Policy default>
  <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
  <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
  </Limit>
  <Limit All>
    Order deny,allow
  </Limit>
</Policy>
which only allows changing configuration from the static IP on my laptop. Hope this helps you out.

Kind regards,

Eric
 
Old 12-29-2009, 04:48 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Of course after changing configuration, restart cups.

Kind regards,

Eric
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
'Printer Models' section of CUPS printer setup blank. hacker supreme Linux - Software 4 07-04-2007 01:58 PM
Help with printer setup! Frank Soranno *BSD 1 10-04-2006 02:45 PM
Printer setup - printer is on Windows server fawnridge Linux - Hardware 1 04-26-2006 09:39 AM
Printer Setup sakkie Slackware 1 10-17-2004 01:51 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration