LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-13-2015, 10:12 AM   #1
baconisbetter
LQ Newbie
 
Registered: Aug 2012
Posts: 26

Rep: Reputation: Disabled
Printer setup


I've got a rhel 5 that has no X installed so I'm not able to get into the cups webui. I add printers with lpadmin. I'll admit, linux printing is not a strength of mine.

To add a printer I use
Code:
lpadmin -p <name> -E -v socket://<ip address>:9100 -P <path to ppd>
If I don't have the ppd file we try not specifying one

Code:
lpadmin -p <name> -E -v socket://<ip address>:9100
If this doesn't work I use the text only ppd, which so far has not failed me.

Code:
lpadmin -p <name> -E -v socket://<ip address>:9100 -P usr/share/cups/model/textonly.ppd

We now have office jet pro 8600's in the mix. I can't find a ppd that works, so I use the textonly.pdd. This is fine until we try to resize text. If we print using 'lp' the use a switch of '-o cpi=15' it seems this switch is ignored. My test machine is centos 6, and I notice in the cups setup that I can choose an 8600. I've found in /usr/share/ppd/HP/ there is a hp-officejet_pro_8000_enterprise_a811a-ps.ppd.gz

My questions are:
1. should I quit messing around and configure the cups webui to be accessible from anywhere?
2. Should I copy over this ppd for the 8600 and test it? are these ppd.gz's unzipped and used during a cups webui install?
3. Is there a universal hp ppd that supports the "-o cpi=N" switch that I just haven't found?
4.For some reason in the back of my head I remember reading that restarting cups removes all printers and re-adds them, rebuilding the printers.conf file. Is this even true? Is there any danger of losing a printer restarting cups?
5. Any other general printing advice would be appreciated.
 
Old 03-13-2015, 10:19 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
And you have no browser on any other machine to drive the cups configuration on this one?
You could change /etc/cups/cupsd.conf

Code:
# Only listen for connections from the local machine.
Listen localhost:631
to

Code:
# Listen on all interfaces (temporary)
Listen 0.0.0.0:631
 
1 members found this post helpful.
Old 03-13-2015, 10:40 AM   #3
baconisbetter
LQ Newbie
 
Registered: Aug 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
so your opinion "yes to question 1"

Am I coo coo for thinking restarting cups can cause me to lose printers? (question 4). I'm not sure where I got that. I feel like I'm taking crazy pills.

Last edited by baconisbetter; 03-13-2015 at 11:14 AM.
 
Old 03-13-2015, 11:12 AM   #4
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by baconisbetter View Post
so your opinion "yes to question 1"

I'm I coo coo for thinking restarting cuos can cause me to lose printers? (question 4). I'm not sure where I got that. I feel like I'm taking crazy pills.
At least 60% of the time restarting cups has never lost me printers.
 
1 members found this post helpful.
Old 03-13-2015, 11:15 AM   #5
baconisbetter
LQ Newbie
 
Registered: Aug 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by linosaurusroot View Post
At least 60% of the time restarting cups has never lost me printers.
I love it.
 
  


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
hp-setup and network printer or hpcups and system-config-printer ToK Linux - Software 3 03-27-2019 09:47 PM
'Printer Models' section of CUPS printer setup blank. hacker supreme Linux - Software 4 07-04-2007 01:58 PM
Printer setup - printer is on Windows server fawnridge Linux - Hardware 1 04-26-2006 09:39 AM
Printer setup jmdlcar Slackware 4 03-29-2004 05:47 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:20 PM.

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