LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2009, 09:34 AM   #1
Gary_Menegon
Member
 
Registered: Jun 2004
Location: Joliet, Illinois
Distribution: slackware
Posts: 38

Rep: Reputation: 15
Adding a printer


--------------------------------------------------------------------------------

I have used the command lpadmin -p laserjetV -m laserjet.ppd -V parallel -D "HP laserjet V" -L "office 502" successfully, however when I do a lpstat I still get the error message printer 'laserjetV@localhost' - cannot open connection - no such file or directory make sure the remote host supports the lpd protocol. I get a similar error regardless of what type of printer I try to add. What am I forgetting? Does someone know what is causing this error message?

Thankyou,
Gary
__________________
Gary A. Menegon
 
Old 08-27-2009, 05:57 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
1. check your /etc/hosts file. make sure there is a line which reads something like:
127.0.0.1 localhost mycomputer (or whatever you named your computer when you installed Linux). Without that line, the system may not recognize "localhost", but it may recognize "mycomputer". I've tripped myself up with that oversight a few times.

2. Which distro are you using? most distros have service management utilities. find out which utilities your distro uses for printer management, and use that to try to add a printer.

3. If you are using the CUPS prining system, use a browser and enter the url http://localhost:631 to get into the CUPS management utilities. use that to add a printer.

As a side note: with CUPS, you can have one physical printer, but you can set up several virtual printers depending on the printing tasks you most commonly need. each virtual is configured and named for the particular task. then, when you need to print something, select the appropriate virtual printer.
 
  


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
Adding a Printer wnkltd Linux - Newbie 3 03-16-2007 05:43 PM
CUPS: adding a printer isn't enough maloncu Linux - Hardware 0 09-12-2005 09:40 AM
I need help adding a printer rehuntley Linux - Newbie 3 09-11-2005 07:43 PM
Adding a printer krackerroot Linux - Networking 1 10-12-2003 01:14 PM
adding a printer Schizo265 Linux - Hardware 2 12-01-2002 04:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:13 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