Hi all, If I have a printer attached to my linux box (SUSE 8.1) how could I share this printer so that other computers in a windows network could use it? Thanks Jose
On Wednesday 16 April 2003 2:49 pm, Jose Sanchez wrote:
Hi all,
If I have a printer attached to my linux box (SUSE 8.1) how could I share this printer so that other computers in a windows network could use it?
Look into 'samba'. It allows you to share directories ("shares") and printers. There's might even be a YAST module for setting it up. Have fun -- it works great. -Nick
Thanks
Jose
On Wed, 16 Apr 2003 12:49:00 -0700
Jose Sanchez
If I have a printer attached to my linux box (SUSE 8.1) how could I share this printer so that other computers in a windows network could use it? This was partially answered. Samba is the tool you want. This allows you to export your printer to the network so that Windows machines can use it. I used it for years until I started to have problems with my printer and my wife blamed it on the network. So I put the printer on her machine. Eventually, the printer died and I bought a new one. So, now I have Linux printing to her printer. Works well either way.
--
Jerry Feldman
Thanks for the advice, but how I configure samba I was looking in yast and I didn't find it? Jose Nick LeRoy wrote:
On Wednesday 16 April 2003 2:49 pm, Jose Sanchez wrote:
Hi all,
If I have a printer attached to my linux box (SUSE 8.1) how could I share this printer so that other computers in a windows network could use it?
Look into 'samba'. It allows you to share directories ("shares") and printers. There's might even be a YAST module for setting it up. Have fun -- it works great.
-Nick
Thanks
Jose
On Wednesday 16 April 2003 2:13 pm, Jose Sanchez wrote:
Thanks for the advice, but how I configure samba I was looking in yast and I didn't find it?
Hmm.. Look at /etc/samba/smb.conf and the 'smb.conf' man page ("man smb.conf"). It's not a difficult configuration for simple things and the SuSE default samba config is actually a pretty good start. You'll probably need to enable the daemon ( YAST -> System -> Runlevel editor ). -Nick
Jose
Nick LeRoy wrote:
On Wednesday 16 April 2003 2:49 pm, Jose Sanchez wrote:
Hi all,
If I have a printer attached to my linux box (SUSE 8.1) how could I share this printer so that other computers in a windows network could use it?
Look into 'samba'. It allows you to share directories ("shares") and printers. There's might even be a YAST module for setting it up. Have fun -- it works great.
-Nick
Thanks
Jose
Samba has a nice web interface that should get installed and running on your machine during the install of Samba. I believe its set to run on port 601. So if you browse to localhost:601 you might see what I'm talking about.
--=.sf(l(zHyBb(8WH Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit
On Wed, 16 Apr 2003 14:13:35 -0500 Jose Sanchez
wrote: Thanks for the advice, but how I configure samba I was looking in yast
and I didn't find it? /usr/doc/share/packages/samba http://www.samba.org
Make sure that you have installed samba and have performed the appropriate Online Updates. Normally, root is sent email telling you where the docs are.
-- Jerry Feldman
Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9 --=.sf(l(zHyBb(8WH Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+nbUx+wA+1cUGHqkRAoVJAJ9e58FfNQiZwjiKWhUB2ZfWvqx48ACfa3WO uk1IWu18GDLBz00xaYTQi4w= =Ke/y -----END PGP SIGNATURE-----
--=.sf(l(zHyBb(8WH--
On Wed, 16 Apr 2003 14:13:35 -0500
Jose Sanchez
Thanks for the advice, but how I configure samba I was looking in yast
and I didn't find it? /usr/doc/share/packages/samba http://www.samba.org
Make sure that you have installed samba and have performed the
appropriate Online Updates. Normally, root is sent email telling you
where the docs are.
--
Jerry Feldman
Ahhh thats it... SWAT and port 901. Thanks for clearing that up.
On Wednesday 16 April 2003 8:31 pm, Jim Norton wrote:
Samba has a nice web interface that should get installed and running on your machine during the install of Samba. I believe its set to run on port 601. So if you browse to localhost:601 you might see what I'm talking about.
Trying localhost:901 will improve your chances. And you are even more likely to see it if you go to ~Yast2 ~Network Services ~Network Services(inetd) in 8.2 and make sure that swat is ON. Might need to do something in /etc/services to enable the 901 port or something somewhere else. Do ask again if you need to, 'cos I would like to be sure of this one myself - its been nearly 2 weeks since I did it, and my memory is fading...
Vince Littler
On Wednesday 16 April 2003 8:31 pm, Jim Norton wrote:
Samba has a nice web interface that should get installed and running on your machine during the install of Samba. I believe its set to run on port 601. So if you browse to localhost:601 you might see what I'm talking about.
Trying localhost:901 will improve your chances. And you are even more likely to see it if you go to ~Yast2 ~Network Services ~Network Services(inetd) in 8.2 and make sure that swat is ON. Might need to do something in /etc/services to enable the 901 port or something somewhere else. Do ask again if you need to, 'cos I would like to be sure of this one myself - its been nearly 2 weeks since I did it, and my memory is fading... Vince Littler
On Wed, 2003-04-16 at 13:29, Vince Littler wrote:
On Wednesday 16 April 2003 8:31 pm, Jim Norton wrote:
Samba has a nice web interface that should get installed and running on your machine during the install of Samba. I believe its set to run on port 601. So if you browse to localhost:601 you might see what I'm talking about.
Trying localhost:901 will improve your chances. And you are even more likely to see it if you go to ~Yast2 ~Network Services ~Network Services(inetd) in 8.2 and make sure that swat is ON. Might need to do something in /etc/services to enable the 901 port or something somewhere else. Do ask again if you need to, 'cos I would like to be sure of this one myself - its been nearly 2 weeks since I did it, and my memory is fading...
Vince Littler
You're talking about Swat.And it does not run by default. It can actually be quite tricky to get printer sharing going to be honest, but webmin may help: http://www.webmin.org matt
http://www.webmin.org I think you meant http://www.webmin.com. webmin.org belongs to some guy names george who has pictures of his daughter from womb to a few years
On 16 Apr 2003 13:46:47 -0700
Matt
Thats what I get for being in a hurry :). Thanks for clearing that up... Matt On Wed, 2003-04-16 at 14:10, Jerry Feldman wrote:
On 16 Apr 2003 13:46:47 -0700 Matt
wrote: http://www.webmin.org I think you meant http://www.webmin.com. webmin.org belongs to some guy names george who has pictures of his daughter from womb to a few years old.
On Wed, 2003-04-16 at 22:29, Vince Littler wrote:
Trying localhost:901 will improve your chances. And you are even more likely to see it if you go to ~Yast2 ~Network Services ~Network Services(inetd) in 8.2 and make sure that swat is ON. Might need to do something in /etc/services to enable the 901 port or something somewhere else. Do ask again if you need to, 'cos I would like to be sure of this one myself - its been nearly 2 weeks since I did it, and my memory is fading...
I have been trying to get my printer sharing to work for a while now, and I stumbled onto this thread. SWAT makes it easier, but I still cannot get my sharing to work. I can see the printers from Windows boxes, I can add the printer, but it's status is 'Access denied, Unable to connect' This is the section in smb.conf for the printer: [epson] path = /var/tmp read only = No create mask = 0600 guest ok = Yes hosts allow = 192.168.100. 127.0.0.1 printable = Yes printer name = epson oplocks = No What am I missing here? How can I give access to Windows machines to the printer? Thanks -- Andre Truter Software Engineer Registered Linux user #185282 ICQ #40935899 AIM: trusoftzaf http://www.trusoft.za.net <-------------------------------------------------> < The box said: Requires Windows 95 or better... > < So I installed Linux > <-------------------------------------------------> Disclaimer and Confidentiality Warning This message is intended for the addressee only. If you are not the intended recipient of this message, you are notified that any distribution, use of or copying of this communication is strictly prohibited. If you have received the communication in error, please notify the sender immediately. The views and opinions expressed in this message are those of the individual sender of this message and do not necessarily represent the views and opinions of ATIO. Consequently, ATIO does not accept responsibility for such views and opinions and this message should not be read as representing the views and opinions of ATIO without subsequent written confirmation. Each page attached hereto must also be read in conjunction with this disclaimer.
On Thursday 17 April 2003 07:22, Andre Truter wrote:
On Wed, 2003-04-16 at 22:29, Vince Littler wrote:
Trying localhost:901 will improve your chances. And you are even more likely to see it if you go to ~Yast2 ~Network Services ~Network Services(inetd) in 8.2 and make sure that swat is ON. Might need to do something in /etc/services to enable the 901 port or something somewhere else. Do ask again if you need to, 'cos I would like to be sure of this one myself - its been nearly 2 weeks since I did it, and my memory is fading...
I have been trying to get my printer sharing to work for a while now, and I stumbled onto this thread.
SWAT makes it easier, but I still cannot get my sharing to work.
I can see the printers from Windows boxes, I can add the printer, but it's status is 'Access denied, Unable to connect'
This is the section in smb.conf for the printer:
[epson] path = /var/tmp read only = No create mask = 0600 guest ok = Yes hosts allow = 192.168.100. 127.0.0.1 printable = Yes printer name = epson oplocks = No
What am I missing here? How can I give access to Windows machines to the printer?
Thanks This is what I have:
[print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775 [photo] comment = EPSON Stylus Photo 700 path = /var/tmp read only = No create mask = 0600 guest ok = Yes printable = Yes printer name = photo on linux oplocks = No It works on my Epson 700, and the WindowsME boxes on my network can print on it. Note I don't have your line: hosts allow = 192.168.100. 127.0.0.1 -- Frits Wüthrich Pentaxianado
On Thursday 17 April 2003 20:31, Frits Wüthrich wrote:
On Thursday 17 April 2003 07:22, Andre Truter wrote:
On Wed, 2003-04-16 at 22:29, Vince Littler wrote:
Trying localhost:901 will improve your chances. And you are even more likely to see it if you go to ~Yast2 ~Network Services ~Network Services(inetd) in 8.2 and make sure that swat is ON. Might need to do something in /etc/services to enable the 901 port or something somewhere else. Do ask again if you need to, 'cos I would like to be sure of this one myself - its been nearly 2 weeks since I did it, and my memory is fading...
I have been trying to get my printer sharing to work for a while now, and I stumbled onto this thread.
SWAT makes it easier, but I still cannot get my sharing to work.
I can see the printers from Windows boxes, I can add the printer, but it's status is 'Access denied, Unable to connect'
This is the section in smb.conf for the printer:
[epson] path = /var/tmp read only = No create mask = 0600 guest ok = Yes hosts allow = 192.168.100. 127.0.0.1 printable = Yes printer name = epson oplocks = No
What am I missing here? How can I give access to Windows machines to the printer?
Thanks
This is what I have:
[print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775
[photo] comment = EPSON Stylus Photo 700 path = /var/tmp read only = No create mask = 0600 guest ok = Yes printable = Yes printer name = photo on linux oplocks = No
It works on my Epson 700, and the WindowsME boxes on my network can print on it. Note I don't have your line: hosts allow = 192.168.100. 127.0.0.1 -- Frits Wüthrich Pentaxianado
If using cups, have you amended the "cupsd.conf" file to allow the networked computers access to printer/s? By default, only printers on "localhost" are allowd access. I previously forgot to do this, resulting in a long time lag when printing from remote machines. LW999
Hi, I thinks that is what I am missing, because now I can see the printer in Windows XP but when I send the print command nothing happends, and I have cups installed. What should I change there and where is this cupsd.conf file located? Jose LinuxWorld999 wrote:
On Thursday 17 April 2003 20:31, Frits Wüthrich wrote:
On Thursday 17 April 2003 07:22, Andre Truter wrote:
On Wed, 2003-04-16 at 22:29, Vince Littler wrote:
Trying localhost:901 will improve your chances. And you are even more likely to see it if you go to ~Yast2 ~Network Services ~Network Services(inetd) in 8.2 and make sure that swat is ON. Might need to do something in /etc/services to enable the 901 port or something somewhere else. Do ask again if you need to, 'cos I would like to be sure of this one myself - its been nearly 2 weeks since I did it, and my memory is fading...
I have been trying to get my printer sharing to work for a while now, and I stumbled onto this thread.
SWAT makes it easier, but I still cannot get my sharing to work.
I can see the printers from Windows boxes, I can add the printer, but it's status is 'Access denied, Unable to connect'
This is the section in smb.conf for the printer:
[epson] path = /var/tmp read only = No create mask = 0600 guest ok = Yes hosts allow = 192.168.100. 127.0.0.1 printable = Yes printer name = epson oplocks = No
What am I missing here? How can I give access to Windows machines to the printer?
Thanks
This is what I have:
[print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin root force group = ntadmin create mask = 0664 directory mask = 0775
[photo] comment = EPSON Stylus Photo 700 path = /var/tmp read only = No create mask = 0600 guest ok = Yes printable = Yes printer name = photo on linux oplocks = No
It works on my Epson 700, and the WindowsME boxes on my network can print on it. Note I don't have your line: hosts allow = 192.168.100. 127.0.0.1 -- Frits Wüthrich Pentaxianado
If using cups, have you amended the "cupsd.conf" file to allow the networked computers access to printer/s? By default, only printers on "localhost" are allowd access. I previously forgot to do this, resulting in a long time lag when printing from remote machines.
LW999
On Fri, 18 Apr 2003 11:46, Jose Sanchez wrote:
Hi, I thinks that is what I am missing, because now I can see the printer in Windows XP but when I send the print command nothing happends, and I have cups installed. What should I change there and where is this cupsd.conf file located?
Jose
Hi, The configuration files for cups are located at /etc/cups There are two main config files:- cupsd.conf = Server configuration (Used if you have a printer connected to this machine) client.conf = Client config (used if you are a client to a cups server) You will have to logged in as root to alter either of these files. ------------------------ Altering cupsd.conf ------------------------------- This file is extremely well commented and includes examples of what you should enter. Firstly at about line 50 add your ServerName you will see an example commented out as shown below. #ServerName myhost.domain.com Next locate the section marked "######## Browsing Options" located about line number 470. Search for BrowseAddress and add your ip address replacing the last number with 255 - for example if my ip address is 10.1.2.3 enter the following BrowseAddress 10.1.2.255 Slighly further down add BrowseAllow 10.1.2.* -------------------------- Altering client.conf -------------------------- This file is used on machines which are a client to a CUPS Server (e.g. No printer connected to the machine but connects to another machine to print) At about line 40 you will find an example commented out of setting the ServerName. e.g. #ServerName myhost.domain.com Add an entry with the Fully Qualified Domain Name of your server there. ---------------------- Debugging Cups problems --------------------- All errors are logged in /var/log/cups/error_log file, just goto the end of the file for the latest debug statements. The level of the debug entries are controlled by an entry in /etc/cups/cupsd.conf file. Search for LogLevel should be about line 165 WARNING: Do not set this level too high otherwise you will be flooded with debug messages and won't be able to identify what is wrong. Start with "info" and if this does not supply enough details then proceed to "debug". I have never needed to go any higher than this. Please ensure you restart cups after any alterations are done to the above configuration files. e.g. rccups restart or /etc/init.d/cups restart I hope the above contains enough details to get cups working. Also see:- CUPS and the LinuxPrinting.org Database http://www.linuxprinting.org/cups-doc.html and Troubleshooting-CUPS-and-Asking-for-Help HOWTO http://www.cups.org/cups-help.html -- Regards, Graham Smith ---------------------------------------------------------
participants (10)
-
Andre Truter
-
Frits Wüthrich
-
Graham Smith
-
Jerry Feldman
-
Jose Sanchez
-
jrn@oregonhanggliding.com
-
LinuxWorld999
-
Matt
-
Nick LeRoy
-
Vince Littler