LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   printer setup from Centos 5 to Vista home prem. on a headless centos pc (https://www.linuxquestions.org/questions/red-hat-31/printer-setup-from-centos-5-to-vista-home-prem-on-a-headless-centos-pc-626826/)

ncsuapex 03-09-2008 01:13 PM

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

Lenard 03-10-2008 07:38 AM

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.

ncsuapex 03-10-2008 08:10 AM

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.

Lenard 03-10-2008 08:31 AM

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

ncsuapex 03-10-2008 08:44 AM

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.

Lenard 03-10-2008 10:36 AM

Then try: system-config-printer

ncsuapex 03-10-2008 11:40 AM

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.


All times are GMT -5. The time now is 11:10 PM.