Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Slackware - Installation This forum is for the discussion of installation issues with Slackware.


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

Rep: Reputation: 0
CUPS Printing on Slackware

This is not STRICTLY an installation issue, but it certainly is hampering my installation effort.

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-12-2005, 08:35 PM   #2
Registered: May 2004
Location: United States
Distribution: Slackware 10.0
Posts: 72

Rep: Reputation: 15
is /usr/bin/lp pointing to /usr/bin/lp-cups?
Old 04-13-2005, 08:14 AM   #3
LQ Newbie
Registered: Mar 2005
Location: Saffaland
Distribution: Slackware
Posts: 12

Original Poster
Rep: Reputation: 0
thanking you kindly sir, you nailed it - i also needed to change lpr -> lpr-cups,

but once I had, voila, thrings sprung gleefully from the printing device.

And I have licked the local printing problem - but now I cannot connect to a remote printer - I have tried all I can but CUPS seems adamant that I should not be able to do a simple maping to a remote printer. Well to be fair, it stumps me - It asks for a server, which I think I know the obvious answer to, & a print queue - the default being "/print/queue1" which apparently doesnt work. So how do I know what the print queue should be?

The Web interface (localhost:631) is no more helpful, it requires a URI, how should I know what that should be??

Sheeesh, why on earth does it all have to be so ridiculously complicated? Please help?!
Old 04-05-2008, 02:08 PM   #4
LQ Newbie
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
Another question

I've had a same problem on Mandrake 9.1 using clip-1.2.
This post helped me a lot so I figured to post a question here.

After changing the pointing target printing works. But, it only prints AFTER exiting the application.

Can anyone help me with this? I've tried everything in code, it closes the connection and in DOS that works.

Thanks in advance.
Old 04-05-2008, 02:10 PM   #5
LQ Newbie
Registered: Apr 2008
Posts: 3

Rep: Reputation: 0
Forgot to mention:
Printer is EPSON LX 300 and installed drivers are for standard 9pin printer.


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
Printing to a cups samba server on slackware from windows computers Jared Lewis Linux - Networking 1 06-10-2005 02:55 PM
Printing Nightmare : Cups on Slackware daleman Linux - Software 2 04-13-2005 06:02 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 - Distributions > Slackware > Slackware - Installation

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