LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 04-12-2005, 02:47 AM   #1
daleman
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, 09:35 PM   #2
herbc
Member
 
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, 09:14 AM   #3
daleman
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, 03:08 PM   #4
markopadjen
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, 03:10 PM   #5
markopadjen
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.
 
  


Reply


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 03:55 PM
Printing Nightmare : Cups on Slackware daleman Linux - Software 2 04-13-2005 07:02 PM
Network Printing, CUPS, Slackware 9.1, Xante Printer Conpen2000 Linux - Newbie 0 01-12-2004 10:36 PM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 04:27 PM
Cups printing from networked Slackware machine dickkniep Linux - Software 0 05-25-2003 05:27 PM


All times are GMT -5. The time now is 08:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration