LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-18-2003, 04:08 AM   #1
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Rep: Reputation: 15
Printing to a remote printer


I'm trying to print a file from my Slackware 8.1 machine to a printed on the network. I've added the printed via Webmin but the test page doesn't exist. It's trying to print to localhost for some reason.

The printer is called 'aquarius' on the network. Is on IP address 168.43.16.210 and it's a HP LaserJet 1200. It used to work with 168.43.16.110 with aquarius in the printer field. (168.43.16.110 is our DNS server, accesible from within network only)

I'd rather be able to get this working using a combination of CLI and Webmin, would rather not have to go into X at all (plus it's kinda awkard to physically get to server)

If anyone can shed on light on this it'd be greatly appreciated.

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

Printing test page with command lpr -PAquarius bw\.ps ..

Status Information:
sending job 'root@intranet+648' to Aquarius@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer Aquarius@localhost
sending control file 'cfA648intranet.apps.cpio.co.uk' to Aquarius@localhost
job 'root@intranet+648' transfer to Aquarius@localhost failed
error 'ERROR TRANSFERRING DATA'
sending control file 'cfA648intranet.apps.cpio.co.uk' to Aquarius@localhost

.. command failed!

Last edited by narusegawa; 03-18-2003 at 04:12 AM.
 
Old 03-18-2003, 10:34 AM   #2
otbibb
Member
 
Registered: Oct 2002
Distribution: Slackware 8.1
Posts: 33

Rep: Reputation: 15
what does your /etc/printcap look like? I haven't used webmin. What kind of setup tools does it use?

Although it isn't the default "slack way," I've found it easier to configure remoted printing with CUPS. I print to a HP laserjet via Samba on an NT print server. With CUPS its easy as pie.

BB
 
Old 03-18-2003, 10:39 AM   #3
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I have Samba running on the machine already, so I can access files from my workstation. I know nothing of CUPS or how to get it to work.

If you think it's easier through CUPS. How do I go about doing this? If you don't mind assisting me? I have AIM/ICQ/YIM/MSN at work and home if that's easier/quicker to talk through.
 
Old 03-18-2003, 10:55 AM   #4
otbibb
Member
 
Registered: Oct 2002
Distribution: Slackware 8.1
Posts: 33

Rep: Reputation: 15
Do you have access to the extra directory for your version of Slackware? CUPS is in there, and you just install it. Then you have to turn on your http daemon (apache, I'm assuming) and point your browser to the cups administration tool (localhost:631).

If you get this far, we'll take if from there. If you don't have the slack pack for cups, you can get it from the ftp locations.

CUPS supports several different backends for connecting - ipp, samba, appletalk, etc. You'll need to figure out which one is the best option for you.

I'm on yahoo, too, if it'll be helpful.

BB
 
Old 03-18-2003, 11:13 AM   #5
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
I installed CUPS using pkgtool, a package I got from one of the linuxpackages sites.

I have apache on the machine but that's running the webservers. How do I start up CUPS to listen on :631 because it isn't listening by default.
 
Old 03-18-2003, 11:13 AM   #6
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Nevermind, it is listening. But ONLY on localhost not from my workstation.


Yahoo: TenraiNoraneko

Last edited by narusegawa; 03-18-2003 at 11:19 AM.
 
Old 03-18-2003, 12:02 PM   #7
otbibb
Member
 
Registered: Oct 2002
Distribution: Slackware 8.1
Posts: 33

Rep: Reputation: 15
Do, do you have the CUPS administration page?

yahoo: shurpu
 
Old 03-18-2003, 12:34 PM   #8
otbibb
Member
 
Registered: Oct 2002
Distribution: Slackware 8.1
Posts: 33

Rep: Reputation: 15
Ok you have a workstation and want to print to a server which has the printer connected, right? So you need to put cups on the computer that you are printing from. i.e. the workstation. Then, under "manage printers" you add printer, and to set it up you give the IP of the server and the share name of the printer, complete with connection protocol "backend." CUPS works as a spooler to submit your jobs to the location that you specify.

What do you mean when you say its listening to localhost, not to your workstation? Perhaps I've misunderstood your terms here.

Hope this helps.

BB
 
Old 03-19-2003, 10:18 AM   #9
eric_the_wizz
LQ Newbie
 
Registered: Mar 2003
Posts: 2

Rep: Reputation: 0
Post RE:printer

chec printcap for lines like thisif not try it
printer|comment:\
:lp=:rm=somwere.com:\ (or ip addr)
:sd=/var/spool/somespooldir: (match this dir in samba)
 
Old 03-20-2003, 04:56 AM   #10
narusegawa
LQ Newbie
 
Registered: Feb 2003
Posts: 26

Original Poster
Rep: Reputation: 15
Got this working with CUPS thanks to otibb. Great job. Much appreciated. Enhanced Ghostscript + CUPS had to be installed.
 
  


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
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 07:39 PM
Remote printing from Redhat 9 to a windows 2000 shared printer niverson Linux - Networking 2 07-07-2003 08:25 AM
printing on remote windows printer reichhorn Linux - Hardware 1 01-29-2003 02:21 AM
Printing to remote printer on network manderson Linux - Hardware 0 05-02-2002 04:16 PM
printing via a remote windows printer from my linux workstation kalakamo Linux - General 0 08-14-2001 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:17 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
Open Source Consulting | Domain Registration