Add Comment

You are not currently logged in. If you do not have a user account then please consider creating one and logging in before you post your comment. This will allow you to track replies to your comment, and take part in the site much more freely.

To add your comment, fill in all the boxes below and then preview it to make sure you're happy with the way that it looks.

This is the comment you were replying to, attached to the article Debian, CUPS, Samba... Days of grief:


Re: Debian, CUPS, Samba... Days of grief
Posted by TedKotz (63.109.xx.xx) on Tue 29 Nov 2005 at 15:02
This needs to be approached as two separate tasks first make sure printing is working on the linux box. Then worry about getting Samba to share it with windows.

Setting up the printer.
1. Make sure you have all the printer packages you need installed on linuxA.

aptitude install cupsys cupsys-bsd hpijs

2. make sure cupsd.conf is properly configured. Your settings seem fine.

3. restart cups

/etc/init.d/cupsys restart

4. web browse to http://localhost:631/

5. you should see a web interface, with a printers tab. click the printer tab.
It might ask for you're root username and password.

6. click add a printer and follow the wizard. Print a testpage if you like.

7. after adding the printer, run lpq to see that the printer is listed.

lpq

8. you should now be able to print.

lpr testfile.txt

Setting up samba
1. Install all needed packages.

aptitude install samba swat

2. web browse to http://localhost:901/

3. you should see the swat web interface for configuring samba. samba configuration depends heavily on how you plan to use it. swat makes it much easier.

4. you should make sure in the printer tab it is set to use cups.

5. restart all in the status tab.

6. if you go back to the printers tab it should list your printer.

7. windows machines should now be able to see it.

good luck

Username:Anonymous
Title:
Your Comment:

Posting Format:

 

Inappropriate comments will be removed.

Some help on entry formatting is available

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search