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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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: |
|
|||
|
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 |
|
|||
|
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: |
|
|||
|
> 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 |
|
|||
|
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 |