Main Menu
Home
Search
Support
How To's
OpenWiki
Contact Us
Users Blogs
User HowTo's
Announcements
Google Translation

 

 

 

 

Print Server for a windows domain PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Paul Matthews   

1. Firstly we need to make sure we have cups installed

rpm -qa | grep cups

2. If now we can install it

yum install cups

3. Uncomment the following line in the mime.convs file

nano /etc/cups/mime.convs

 

mime.convs:
application/octet-stream        application/vnd.cups-raw        0       -

 

4. Uncomment the following line in the mime.types file

 

nano /etc/cups/mime.convs

 

mime.convs:
application/octet-stream


5. Next change the cupsd.conf file

nano /etc/cups/cupsd.conf

 

mime.convs:
<Location />
Order Deny,Allow
Deny From All
Allow From 192.168.1.*
</Location>

<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 192.168.1.*
</Location>


6. Now that cups is setup it's time to setup samba

nano /etc/samba/smb.conf

 

smb.conf:
[Global]

        netbios name = COMPUTER_NAME
        workgroup = YOUR_WORKGROUP
        server string = Samba Server

        hosts allow = 192.168.1.0/24 127.0.0.0/8
        security = user
        encrypt passwords = yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        interfaces = lo eth0
        bind interfaces only = yes

        null passwords = no
        hide unreadable = yes
        hide dot files = yes

        printcap name = cups
        printing = cups
        cups options = "raw"
        use client driver = no

[printers]

        comment = All Printers
        path = /var/spool/samba
        browseable = no
        public = yes
        guest ok = yes
        writable = no
        printable = yes


7. Once all that information is added we need to start the services and set the to start on boot

/etc/init.d/cups start
/etc/init.d/smb start

chkconfig smb on
chkconfig cups on

8. Now all you have to do in your windows machine go to start, run and type \\printserver\ then choose the Printers and Faxes icon and you should be able to see all your printers, just right mouse button click on them and choose 'connect'.

 


BookMarking:

 

cell1

cell3 Submit to del.icio.us
cell4
AddThis Social Bookmark Button

 


Trouble Shooting:


Go to the wiki page

Go to the 'Contact Us ' Forum

Go to the how-to's Support Forum


External Links:

 

http://forums.gentoo.org/

1. Firstly we need to make sure we have cups installed

rpm -qa | grep cups

2. If now we can install it

yum install cups

3. Uncomment the following line in the mime.convs file

nano /etc/cups/mime.convs

 

mime.convs:
application/octet-stream        application/vnd.cups-raw        0       -

 

4. Uncomment the following line in the mime.types file

 

nano /etc/cups/mime.convs

 

mime.convs:
application/octet-stream


5. Next change the cupsd.conf file

nano /etc/cups/cupsd.conf

 

mime.convs:
<Location />
Order Deny,Allow
Deny From All
Allow From 192.168.1.*
</Location>

<Location /admin>
AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 192.168.1.*
</Location>


6. Now that cups is setup it's time to setup samba

nano /etc/samba/smb.conf

 

smb.conf:
[Global]

        netbios name = COMPUTER_NAME
        workgroup = YOUR_WORKGROUP
        server string = Samba Server

        hosts allow = 192.168.1.0/24 127.0.0.0/8
        security = user
        encrypt passwords = yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        interfaces = lo eth0
        bind interfaces only = yes

        null passwords = no
        hide unreadable = yes
        hide dot files = yes

        printcap name = cups
        printing = cups
        cups options = "raw"
        use client driver = no

[printers]

        comment = All Printers
        path = /var/spool/samba
        browseable = no
        public = yes
        guest ok = yes
        writable = no
        printable = yes


7. Once all that information is added we need to start the services and set the to start on boot

/etc/init.d/cups start
/etc/init.d/smb start

chkconfig smb on
chkconfig cups on

8. Now all you have to do in your windows machine go to start, run and type \\printserver\ then choose the Printers and Faxes icon and you should be able to see all your printers, just right mouse button click on them and choose 'connect'.

 


BookMarking:

 

cell1

cell3 Submit to del.icio.us
cell4
AddThis Social Bookmark Button

 


Trouble Shooting:


Go to the wiki page

Go to the 'Contact Us ' Forum

Go to the how-to's Support Forum


External Links:

 

http://forums.gentoo.org/

Last Updated ( Sunday, 03 June 2007 )
 
< Prev   Next >