SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.