Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Cups And Command-line (lpr) Printing, CUPS and command-line (LPR) printing
robjacox
post Mar 24 2004, 10:48 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 14-March 04
Member No.: 2,580



I have installed a local HP DeskJet and networked (via SAMBA) HP LaserJet using CUPS. I have been successful in configuring the printers using Easy Software Product's web-based GUI and KDE 3.1's Print Manager.

However, I am unable to print from the command line using LPR filename like I understand I should be able to do. Because of that, I cannot print from OpenOffice, which appears to use the LPR command to print.


Here is the result of the "lpstat" command:

[rjacox] ~: lpstat
Printer 'laserjet@localhost' - cannot open connection - Connection refused
Make sure the remote host supports the LPD protocol and accepts connections from this host and from non-privileged (>1023) ports

And here is the results of an "lpr" command:

[rjacox] ~: lpr test_document
Status Information, attempt 1 of 3:
sending job 'rjacox@localhost+19' to laserjet@localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - Connection refused
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports
Waiting 10 seconds before retry

I can print from the command line using KDE's "kprinter filename" command, and most X applications.

My hostname in /etc/HOSTNAME is "localhost.bendbroadband.com", and everything else seems to work except command-line printing.

This has been a real bugger for me, as I plan on spending quite a bit of time not in "X", one of the reasons I am switching to Linux!

Thanks in advance.

Rob
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th October 2017 - 03:33 PM