Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 04-12-2005, 01:38 AM   #1
LQ Newbie
Registered: Mar 2005
Location: Saffaland
Distribution: Slackware
Posts: 12

Rep: Reputation: 0
Printing Nightmare : Cups on Slackware

I really hope some one can help on this one because it is driving me batty.

I am developing or rather rewriting an application to run on linux (the original was DOS based, written in Clipper). Outside of my control, the chosen language has been FlagShip, a unix based system, which runs a large percentage of Clipper Code.

Anyway, started off on Red Hat 9, but for a number of reasons, it was decided to change to Slackware 10. This has been working well until my current showstopper.

The FlagShip Printing System is simple, as i understand it, based around lpd. I was able to set up CUPS on Red Hat to emulate LPD (CUPS-LPD, launched from XINETD) and all way well.

On my Slackware box, however, (after I enabled the parallel port) I was able to install a local DOT MATRIX printer, with a RAW print queue, and send it a test page.

BUT, when I attempt the following : lp -d locdot /etc/passwd

I get the following errors :

Status Information, attempt 1 of 3:
sending job 'root@thebitch+666' locdot @localhost
connecting to 'localhost', attempt 1
cannot open connection to localhost - No such file or directory
Make sure the remote host supports the LPD protocol
Waiting 10 seconds before retry

Problem is, I am not even aiming at a remote host - this attempts and fails 3 times - bang I am stumped.

I imagine there is some stupid, arcane file that I have to alter, but i simply have no idea where to look. So if anyone can point me in the right direction, I would be eternally grateful.
Old 04-13-2005, 11:14 AM   #2
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
When you installed slack did you do the default install that installs everything? If so you'll need to remove the lprng stuff and just use cups, like so
Old 04-13-2005, 06:02 PM   #3
LQ Newbie
Registered: Mar 2005
Location: Saffaland
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks Andrew

I did simply recreate the symbolic links as advised by another helpful fella, and voila, problem solved, but another has reared its ugly head.

I have configured cupsd.conf to the best of my ability, but somehow, the server will not allow remote connections. I have set up a valid BrowseAddress and the print queue is visible from remote machines... but upon actually sending jobs to it, they "vanish"

I suspect that I have to configure something in cupsd.conf on the server to permit connections, but I cannot fathom what.

I tried Listen ServerIP:631 , but that just seemed to break cups....

Any ideas


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
CUPS Printing on Slackware daleman Slackware - Installation 4 04-05-2008 02:10 PM
Printing to a cups samba server on slackware from windows computers Jared Lewis Linux - Networking 1 06-10-2005 02:55 PM
Network Printing, CUPS, Slackware 9.1, Xante Printer Conpen2000 Linux - Newbie 0 01-12-2004 09:36 PM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM
Cups printing from networked Slackware machine dickkniep Linux - Software 0 05-25-2003 04:27 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration