Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hello gurus!I have a Canon S750 printer connected to my Fedora box. I want to share the printer to my Windows- and other
machines, but I can't manage to print anything.
I can print locally in Fedora without problems and I can install the printer as network printer on my Windows PC.But when I try to print from my Windows PC, nothing happens.
The Canon is installed on Fedora using a BJC8200-driver (S600 works as well). When installing it on the Windows PC I
have tried S750-, BJC8200- and S600-drivers. None of them working.
Could anyone please provide me with the necessary lines of code in the smb.conf file.
Regards
VES

I made this HOWTO a while back when I ran into similar issues.
The problem is not on samba.conf.
You need to set up a CUPS. That is, if you want to connect a Windows host to a Linux host [linux is the one with the printer attached to it]. Then you tweak around smb.conf.
CUPS linux print server (redhat 9.0, kernel 2.4.22)http://127.0.0.1:631/admin
scenario: printer attached to linux.
objective: windows xp print to it1). Get the package. Rpm or source. www.cups.org
2.) Install the cups package by doing:
# ./configure; make; make install.3.) Restart service. You should see cups start with output "Cups scheduler started". /sbin/service cups start | stop
3.) Go to Linuxprinting.org. On the left side navigation bar, select The Database-> Printer Listings. Select your make/model printer, then click on the Show button. The next page will give you the option to generate a ppd file for your printer. Click on download PPD and save the file to /usr/share/cups/model. The file should be in a model.ppd format, if not, then rename it to my_printer.ppd.
4.) Restart cups by doing
/sbin/service cups restart.5.) http://www.linuxprinting.org/download/foomatic/ and download the latest foomatic-filters.tar.gz (version 3.0 as of this writing). Then do the following:
# tar -xzf foomatic-filters-3.0.0.tar.gz
# ./configure
# make
# cp foomatic-rip /usr/lib/cups/filter/6) in Red Hat, I went to #printconf-gui, click on Action, then Sharing...Selected what I wanted. Allow all, or specific IP.
****OR***
Open your favorite browser and point it to http://localhost:631
Under Administrative Tasks, add your printer. Just follow the directions.7.) modify /etc/cups/cupsd.conf
<Location /printers/deskjet940c>
#Order Allow,Deny //comment added
#Deny From All //comment added
Allow From 127.0.0.1
Allow From 192.210.85.* //added this line
#AuthType None //comment added
Allow from All
</Location>
<Location />
#Order Deny,Allow //comment added
#Deny From All //comment added
Allow From 127.0.0.1
Allow From 192.210.85.* //added this line
</Location>
Browsing On
BrowseProtocols cups
#BrowseOrder Deny,Allow //comment added
BrowseAllow from @LOCAL
#BrowseAddress 192.210.85.255 //comment added9)Modify smb.conf
ensure the following is set:
printing = cups
printcap name = cups[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
#added myself
printing = cups
public = yes
printer name = deskjet940c10.modfiy the following cups files:
/etc/cups/mime.convs
-uncomment the line:
application/octet-stream application/vnd.cups-raw/etc/cups/mime.types
-uncomment the line:
application/octet-stream11. /sbin/service cups stop | start
12/ sbin/service smb stop | start13. For windows XP.
add printer wizard, connect to:\\<ip linux server\deskjet940c, add drivers, and enjoy.
Try http://<ip>/printers/deskjet940c but that requires you have ipp on windows.

Thank You randomx for the very comprehensive reply.
I'll try it later this weekend.Regards
V.E. Seeberg

![]() |
Linux Cluster/Oracle
|
linksys router setup in r...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |