I have Fedora 12 on laptop and a computer with WinXP and I'd like to share the HP3840 printer connected to the computer with WinXP. When trying to do as suggested here
the problem is that there is no "Windows Server via Samba" device. Under "Network printer" there is just a "Find network printer" option. I've also found this howto: http://tldp.org/HOWTO/SMB-HOWTO-10.html
. /etc/printcap contains this:
# Please don't edit this file directly unless you know what you are doing!
# This file will be automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
So I think it is not right to edit the file as the howto suggests. What is the right way to get the shared printer available in Fedora?
I'd like also to share directories (with read-only remote access). I have figured out how to access the Windows shared directories in Nautilus: they are on smb://192.168.2.101/ (the WinXP machine is named HEX, however smb://HEX/ does not work). I don't know how to share directories the other direction: from Fedora to Windows. Linux Mint (the distro I had before Fedora) had an option "Share this folder..." in the context menu of Nautilus - sharing was easy with that. There is nothing like that in Fedora. What is Fedora's alternative for this (sharing a folder to Windows LAN with Samba)?
I had the "samba-client" package installed by default and I furthermore installed the "samba" package (hoping it is the one that is needed). Still no SAMBA printer device appears in the dialog.
Any help appreciated.
---------- Post added at 07:53 PM CST ---------- Previous post was at 02:36 PM CST ----------
The network printer devices do appear in the dialog (including the SAMBA printer), so I added the printer with URL "smb://192.168.2.101/HP-doma". When testing printing the printer is contacted and requires authentication. I tried various users (user "petr" without password, user "Guest" without password, user "admin" with the admin's password) that are on the WinXP computer that is connected to the printer - the document always appears in the que in Fedora, disappears, appears in the que in WinXP and there it it stuck with only 64kB of the document sent (not all the document). The que in WinXP refuses to cancel the tasks normally, only re-plugging the printer and restarting WinXP wipes the que (this sometimes happens when trying to cancel print tasks printed on WinXP computer locally, just normally I don't need to cancel the tasks since they don't get stuck). The print tasks from Fedora always get stuck on 64kB. After restarting WinXP the printer makes some noise but it does not print anything. The printer is HP DeskJet 3845c.
There is another computer with Windows XP - printing on the shared printer works correctly from there. These two WinXP computers are in the same workgroup ("DOMA"). I've set
in /etc/samba/smb.conf to have Fedora also in the group "DOMA".