Help Printing from WinXP to Fedora via SAMBA

This is a discussion on Help Printing from WinXP to Fedora via SAMBA within the Linux Networking forums, part of the Linux Forums category; I am running Fedora core 1 on my desktop and WinXP on a notebook. I am able to share files ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-01-2004
USMC Sniper
 
Posts: n/a
Default Help Printing from WinXP to Fedora via SAMBA

I am running Fedora core 1 on my desktop and WinXP on a notebook. I am
able to share files between the 2 machines just fine. I am having trouble
printing from the WinXP machine thru SAMBA. With my current smb.conf file
I am able to (seemingly) install the network printers on WinXP (they are
physically connected to the desktop) but when I go to print nothing
happens. No error message or access denied message, just nothing. It's
like the print job just vanishes after leaving WinXP. Can anyone help?

I don't know if I have my linux box set up as a server correctly. Below
is my smb.conf file, /etc/hosts file, and printcap file if it helps.

Thanks,
Tom

smb.conf:
;*******************section global*****************
[global]
workgroup = mshome
netbios name = Linux-Desktop
server string = linux running samba 3.0.1
hosts allow = 192.168.2. 127.
log file = /var/log/samba/%.log
load printers = yes
socket options = TCP_NODELAY
max log size = 1024
lock directory = /var/lock/samba
smb passwd file = /etc/samba/smbpasswd
local master = yes
preferred master = yes
password server = None
printcap name = /etc/printcap
;printcap name = cups
security = SHARE
encrypt passwords = no
dns proxy = no
;*******************section homes*****************
[homes]
comment = Home Directories
browseable = no
writeable = yes
;*******************section printers*****************
[printers]
comment = All Printers
public = yes
path = /var/spool/samba
browseable = yes
writable = no
printable = yes
use client driver = yes
;*******************section tmp*****************
[tmp]
path = /tmp
writeable = yes
comment = Temporary file space
guest ok = yes


/etc/hosts :
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost


printcap:
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.

S800LINUX|S800LINUX\
:rm=localhost.localdomain:rp=S800LINUX:

BJC210LINUX|BJC210LINUX\
:rm=localhost.localdomain:rp=BJC210LINUX:


Reply With Quote
  #2 (permalink)  
Old 02-03-2004
Jan Stedehouder
 
Posts: n/a
Default Re: Help Printing from WinXP to Fedora via SAMBA

USMC Sniper <md_usmc@nospam.yahoo.com> wrote in message news:<pan.2004.02.01.16.48.41.68937@nospam.yahoo.c om>...
> I am running Fedora core 1 on my desktop and WinXP on a notebook. I am
> able to share files between the 2 machines just fine. I am having trouble
> printing from the WinXP machine thru SAMBA. With my current smb.conf file
> I am able to (seemingly) install the network printers on WinXP (they are
> physically connected to the desktop) but when I go to print nothing
> happens. No error message or access denied message, just nothing. It's
> like the print job just vanishes after leaving WinXP. Can anyone help?
>


Agree with that. I have the same configuration, using Fedora as
printserver. Shares are OK and can be seen and used by Windows XP. The
printer can be seen by XP, but not used (acces denied). Strange enough
there is a folder Printer/ Faxmachines, which has an icon to the
printer and I am able to print a testmessage in that way.

Any help would be appreciated.

Jan Stedehouder
Reply With Quote
  #3 (permalink)  
Old 02-26-2004
Joerch
 
Posts: n/a
Default Re: Help Printing from WinXP to Fedora via SAMBA

Hello!

I have the same problem.

I have found a possible solution in an other newsgroup. I have not tested it yet.

This is the advice:

Cups-

Go to /etc/cups
remove comment of octet-stream in mime.convs and mime.types.
remove comment of msword in one of the two indicated files (don't remember!)


Hope it will work.

With kind regards

Joerch


USMC Sniper <md_usmc@nospam.yahoo.com> wrote in message news:<pan.2004.02.01.16.48.41.68937@nospam.yahoo.c om>...
> I am running Fedora core 1 on my desktop and WinXP on a notebook. I am
> able to share files between the 2 machines just fine. I am having trouble
> printing from the WinXP machine thru SAMBA. With my current smb.conf file
> I am able to (seemingly) install the network printers on WinXP (they are
> physically connected to the desktop) but when I go to print nothing
> happens. No error message or access denied message, just nothing. It's
> like the print job just vanishes after leaving WinXP. Can anyone help?
>
> I don't know if I have my linux box set up as a server correctly. Below
> is my smb.conf file, /etc/hosts file, and printcap file if it helps.
>
> Thanks,
> Tom
>
> smb.conf:
> ;*******************section global*****************
> [global]
> workgroup = mshome
> netbios name = Linux-Desktop
> server string = linux running samba 3.0.1
> hosts allow = 192.168.2. 127.
> log file = /var/log/samba/%.log
> load printers = yes
> socket options = TCP_NODELAY
> max log size = 1024
> lock directory = /var/lock/samba
> smb passwd file = /etc/samba/smbpasswd
> local master = yes
> preferred master = yes
> password server = None
> printcap name = /etc/printcap
> ;printcap name = cups
> security = SHARE
> encrypt passwords = no
> dns proxy = no
> ;*******************section homes*****************
> [homes]
> comment = Home Directories
> browseable = no
> writeable = yes
> ;*******************section printers*****************
> [printers]
> comment = All Printers
> public = yes
> path = /var/spool/samba
> browseable = yes
> writable = no
> printable = yes
> use client driver = yes
> ;*******************section tmp*****************
> [tmp]
> path = /tmp
> writeable = yes
> comment = Temporary file space
> guest ok = yes
>
>
> /etc/hosts :
> # Do not remove the following line, or various programs
> # that require network functionality will fail.
> 127.0.0.1 localhost.localdomain localhost
>
>
> printcap:
> # This file was automatically generated by cupsd(8) from the
> # /etc/cups/printers.conf file. All changes to this file
> # will be lost.
>
> S800LINUX|S800LINUX\
> :rm=localhost.localdomain:rp=S800LINUX:
>
> BJC210LINUX|BJC210LINUX\
> :rm=localhost.localdomain:rp=BJC210LINUX:

Reply With Quote
  #4 (permalink)  
Old 02-29-2004
Edward S. Rice
 
Posts: n/a
Default Re: Help Printing from WinXP to Fedora via SAMBA

> I have found a possible solution in an other newsgroup. I have not tested it yet.
Could you please tell me what newsgroup?
> Go to /etc/cups
> remove comment of octet-stream in mime.convs and mime.types.
> remove comment of msword in one of the two indicated files (don't remember!)

A little vague, but explaining which newsgroup you are talking about would
help :-).

Regards,
Edward S. Rice
Reply With Quote
  #5 (permalink)  
Old 01-18-2005
jeetu
 
Posts: n/a
Default Re: Help Printing from WinXP to Fedora via SAMBA

Windows printer drivers format their output for the printer before
sending it across the network.
You must configure CUPS to accept the pre-formatted output
by uncommenting the following line from
/etc/cups/mime.convs:

application/octet-stream application/vnd.cups-raw 0 -


Also uncomment the following line from /etc/cups/mime.types:

application/octet-stream

Now CUPS must be told to allow connections from other machines on the
network.
Add these lines to /etc/cups/cupsd.conf:

<Location /printers>
AuthType None
Order Deny,Allow
Deny From None
Allow From All
</Location>

now run
service cups restart


Edward S. Rice wrote:
> > I have found a possible solution in an other newsgroup. I have not

tested it yet.
> Could you please tell me what newsgroup?
> > Go to /etc/cups
> > remove comment of octet-stream in mime.convs and mime.types.
> > remove comment of msword in one of the two indicated files (don't

remember!)
> A little vague, but explaining which newsgroup you are talking about

would
> help :-).
>
> Regards,
> Edward S. Rice


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:19 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0