LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 03-09-2008, 02:13 PM   #1
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 43
printer setup from Centos 5 to Vista home prem. on a headless centos pc


I'm trying to access a printer that is connected by USB to a Vista home premium PC through the network. I can print to it from my other linux pc(slackware) and I can mount samba shares from both linux PCs to the vista PC so I know they can communicate with each other.

printer is a hp1315xi all in one

The problem is when I try to install the hplip drivers on my centos 5 box I get this error.
http://hplip.sourceforge.net/downloads.html



Quote:
INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 6 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
error: This installer cannot install this dependency for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

Quote:
yum list gcc
Loading "installonlyn" plugin
Setting up repositories
Reading repository metadata in from local files
Installed Packages
gcc.i386 4.1.2-14.el5 installed

what version of gcc do I need installed?


whenI try to install it using the tarball I get this

checking for jpeg_set_defaults in -ljpeg... no
configure: error: "cannot find libjpeg support"

# yum list | grep libjpeg
libjpeg.i386 6b-37 installed
libjpeg-devel.i386 6b-37 base

Last edited by ncsuapex; 03-09-2008 at 02:24 PM. Reason: libjpeg
 
Old 03-10-2008, 08:38 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
First check if the hpijs rpm package is installed or not; rpm -qa 'hp*'

If not then as root from the virtual terminal or xterm session type: yum install hplip hpijs

The printer is supported by the standard hpijs rpm package for CentOS.
 
Old 03-10-2008, 09:10 AM   #3
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Original Poster
Rep: Reputation: 43
Lenard!

Hey good buddy. Long time no help! haha

rpm -qa 'hp*'
hpijs-1.6.7-4.1.el5.3

yum list | grep hpijs
hpijs.i386 1:1.6.7-4.1.el5.3 installed


btw.. I never did get approved for centos forum. that is why I'm posting here.
 
Old 03-10-2008, 09:31 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Well since it is installed then all you need to do is open any browser and goto http://127.0.0.1:631 to configure. It might be a good idea to grab the PPD file from Linux Foundation OpenPrinting;

http://openprinting.org/show_printer...otoSmart_P1315
 
Old 03-10-2008, 09:44 AM   #5
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Original Poster
Rep: Reputation: 43
I can't do the localhost:631 option..


headless = no CRT, no keyboard no mouse. I can only access it via SSH


and I dont believe I installed any of the GUI/X11 packages because I planned to only connect to it via SSH.
 
Old 03-10-2008, 11:36 AM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
Then try: system-config-printer
 
Old 03-10-2008, 12:40 PM   #7
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Original Poster
Rep: Reputation: 43
system-config-printer
system-config-printer: could not open display
This is a graphical application and requires DISPLAY to be set.



figured that would happen...


I need to put this on the back burner for now. The Vista PC the printer is connected to took a dump and I had to restore it back to a previous config. I'm not going to mess with sharing the printer till I figure out why it kept crashing.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installing Centos without formatting current Vista NTFS partition jimble Linux - Distributions 1 02-29-2008 03:38 PM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 04:41 AM
LXer: CentOS announces CentOS 5 i386 Live CD LXer Syndicated Linux News 0 07-11-2007 08:01 AM
CentOS 5: how to keep /home during new install? shjrgray Red Hat 4 05-29-2007 12:11 PM
update centos 4 rc1 to centos 4 trou yum? maxut cAos 2 03-04-2005 03:36 AM


All times are GMT -5. The time now is 12:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration