Hi guys, I've installed Samba but can't get the printer to work. I've done magicfilterconfig --force and configured the Printer. E Furthermore when I print a file on my Windows machine it creates a file on the server but it just doesn't print. I can ma Do you guys have the answer for me??? Thnx, ? Jeroen ? Following is the config file: ? # Samba config file created using SWAT # from xxxx (192.168.0.3) # Date: 2001/05/06 18:34:12 # Global parameters [global] workgroup = xxx netbios name = LINDA server string interfaces = eth0 log file = /var/log/sambalog.%m max log size = 50 domain logons = Yes os level = 36 preferred master = Yes domain master = Yes dns proxy = No hosts allow = 192.168.0.2 192.168.0.3 192.168.0.4 [homes] comment = Home Directories path = /home/%U writeable = Yes browseable = No [Eleven] comment = xxx path = /ftpserver/Userz/Eleven/Ontwerp_Site/ valid users = xxx xxx1 xxx2 writeable = Yes create mask = 0765 [ftp] comment = FTP SERVER path = /glftpd/site/glftpd/ writeable = Yes guest ok = Yes [printers] comment = All Printers path = /var/spool/samba valid users = xxx xxx1 xxx2 printable = Yes browseable = No
Hi Guys, I've installed Samba but can't get the printer to work. I've done magicfilterconfig --force and configured the Printer. E Furthermore when I print a file on my Windows machine it creates a file on the server but it just doesn't print. I can ma Do you guys have the answer for me??? Thnx, ? Jeroen ? Following is the config file: ? # Samba config file created using SWAT # from xxxx (192.168.0.3) # Date: 2001/05/06 18:34:12 # Global parameters [global] workgroup = xxx netbios name = LINDA server string interfaces = eth0 log file = /var/log/sambalog.%m max log size = 50 domain logons = Yes os level = 36 preferred master = Yes domain master = Yes dns proxy = No hosts allow = 192.168.0.2 192.168.0.3 192.168.0.4 [homes] comment = Home Directories path = /home/%U writeable = Yes browseable = No [Eleven] comment = xxx path = /ftpserver/Userz/Eleven/Ontwerp_Site/ valid users = xxx xxx1 xxx2 writeable = Yes create mask = 0765 [ftp] comment = FTP SERVER path = /glftpd/site/glftpd/ writeable = Yes guest ok = Yes [printers] comment = All Printers path = /var/spool/samba valid users = xxx xxx1 xxx2 printable = Yes browseable = No
Hello, I am *new* to linux and want to share a local Lexmark Optra Plus on a windows 2000 computer, windows 98 computer and windows 95 computer. All 3 computers should have printing access to the printer so we can print text, pictures, ect. I would like to know what changes should i make to smb.conf in order for the computer to work. So far i have it to the point where the linux machine can print documents, and I see the machine and can acess the machine in windows 2000 only, not the windows 95 or 98. I click on the pritner add it to my printer folder and then it says it is ready but when i click print it says cannot write to printer... retry on cancel... I just wanted to know what i should do to get it working thanks.. Colin -------------- next part -------------- HTML attachment scrubbed and removed
Hmmmm.... This should be easy. Have you installed the printers in windows? You have to go through the add printer icon, add a network printer (your samba printer) and install the drivers as per usual. I use /tmp as the path, just because that was the default I think. /tmp is the directory where the job is stored after it is sent from the client to the samba server. /dev/lp0 is the device on my linux server that the printer is connected to. The printing process, crudely, involves windows filtering your job and sending it to the samba server. The job is stored in /tmp/XYZ on the samba server. Then, lpr is invoked according to the print command in your smb.con. %s is the name of the temporary file in /tmp. lpr -Plp %s invokes lpr to send %s to the lp print queue. It all makes sense, and understanding this is crucial to troubleshooting, but they never tell you this stuff. You always have to figure it out. Joel On Wed, Nov 14, 2001 at 07:12:25PM -0800, Colin Correia wrote:> Dates fixed i hope... > > talk about living in the past > > The printer is postscript... and i do have it on security share and i have a > problem with writing to the printer... why?? > > I dont understand what is preventing me... > > I tried every command you have on yours and still it wont.. even my printcap > is edited.. > > Why is /tmp the path? > > shouldnt it be /dev/lp0? <----NO NO NO NO NO NO > >
Do you mean [global] ? Here is my global section: [global] netbios name = HAMMER2 interfaces = 192.168.0.2 security = SHARE log level = 3 wins server = jhammer6 guest account = ftp hosts allow = 192.168. 24.182.146.18 127.0.0.1 127.0.0.2 192.168. strict sync = Yes message command = /bin/bash -c 'cat %s | mail -s Message jlh;rm %s' & Joel On Wed, Nov 14, 2001 at 11:28:28PM -0800, Colin Correia wrote:> so i have everything setup right.. what do you have under > > [general] >
Like most things in linux, it feels so GOOD when the pain stops. Joel On Thu, Nov 15, 2001 at 09:13:30PM -0800, Colin Correia wrote:> Got my printer to work!! Joel!! it was so easy!!! I just had low disk space > for temporary files. 100% usage of my 121 mb disk.. all i needed to do was > to remove some documents and i freed up 12 megs.. which is pretty good. so > now i can print!! amazing!!! Im very happy and proud of myself :) > > Thanks for your help!!! Colin > >
Hi I have samba 2.2.2 installed on Tru64 5.1 runnig on cluster with two members, when I try to install printer via windows 2000 client I get the error Access denied, unable to connet, when I try from my unix box I can print without any problem, does any one can help me with that. thanks in advanced Alaa
Hello Every Body I have samba 2.2.2 installed on Tru64 5.1 runnig on cluster with two members, when I try to install printer via windows 2000 client I get the error Access denied, unable to connet, when I try from my unix box I can print without any problem, does any one can help me with that. thanks in advanced Alaa
Does anthing else work from the clients? Have you walked through DIAGNOSIS.txt in docs/textdocs? Joel> Hello Every Body > > I have samba 2.2.2 installed on Tru64 5.1 runnig on cluster with two > members, when I try to install printer via windows 2000 client I get the > > error Access denied, unable to connet, when I try from my unix box I can > > print without any problem, does any one can help me with that. > > thanks in advanced > > Alaa
On Wed, 21 Nov 2001, Alaa Alamood wrote:> Hello Every Body > > I have samba 2.2.2 installed on Tru64 5.1 runnig on cluster with two > members, when I try to install printer via windows 2000 client I get the > > error Access denied, unable to connet, when I try from my unix box I can > > print without any problem, does any one can help me with that.See the "use client driver" parameter in the smb.conf manpage. cheers,jerry --------------------------------------------------------------------- www.samba.org SAMBA Team jerry_at_samba.org www.plainjoe.org jerry_at_plainjoe.org http://www.hp.com Hewlett-Packard gerald_carter_at_hp.com --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
Hello All, I have a question here, I installed Samba 2.2.2, and I haven't installed printer on my server ( I don't need printer ), but when I browse the share from Windows 2000, I still get 'Printers' entry though it is a fake. Even I disabled printer support in source code, I still can't disable the Printer entry displyed on Win2K.Is it a Win2K problem or is there any way to really disable the printer in samba server. Thanks in advance. Juer
Thanks. I tried it already, it didn't work. The problem is only from Windows2000, if I try to access it from Windows98, I won't see that. Juer>-----Original Message----- >From: Martyn Ranyard [mailto:ranyardm@lineone.net] >Sent: 09 January 2002 15:04 >To: Juer Lee >Cc: Samba List >Subject: Re: Printer > > >At 02:54 PM 1/9/02 +0000, you wrote: >>Hello All, >> >>I have a question here, I installed Samba 2.2.2, and I >haven't installed >>printer on my server ( I don't need printer ), but when I browse the >>share from Windows 2000, I still get 'Printers' entry though it is a >>fake. Even I disabled printer support in source code, I still can't >>disable the Printer entry displyed on Win2K.Is it a Win2K >problem or is >>there any way to really disable the printer in samba server. > >In the version of Samba I am running (2.2.0 I think), there is a load >printers option in the smb.conf. > >You can try adding the line > >load printers = no > >and see if that helps things. > >>Thanks in advance. >> >>Juer >> >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: http://lists.samba.org/mailman/listinfo/samba > >Martyn Ranyard >Development Manager >Synergistic Software >www.syn.co.uk >(0113) 20 50 895 >(01937) 573 446 >fax (01937) 574 211 > >
Thanks Jerry. Now, I can be sure that it is not my 'fault' in building Samba :) Juer>-----Original Message----- >From: Gerald (Jerry) Carter [mailto:jerry@samba.org] >Sent: 10 January 2002 03:28 >To: Juer Lee >Cc: Martyn Ranyard; Samba List >Subject: RE: Printer > > >On Wed, 9 Jan 2002, Juer Lee wrote: > >> Thanks. I tried it already, it didn't work. The problem is only from >> Windows2000, if I try to access it from Windows98, I won't see that. > >Win9x does not use MS-RPC for printing. > > > > > > > >chau, jerry > --------------------------------------------------------------------- > Hewlett-Packard http://www.hp.com > SAMBA Team http://www.samba.org > -- http://www.plainjoe.org > "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 > --"I never saved anything for the swim back." Ethan Hawk in Gattaca-- > > >-- >To unsubscribe from this list go to the following URL and read the >instructions: http://lists.samba.org/mailman/listinfo/samba >
Hi, I want to know if there's a thay i can do to my linuxbox use a printer installed in a win2k server(this computer is acting as print-server in my domain). Thanks in advance, Rafael -------------- next part -------------- HTML attachment scrubbed and removed
I'll work on something for this tonight. You should poke around the lprng documentation, which will have info on setting up your printcap file and printer queue. samba really doesn't play any role here except to supply the smbclient print command, which ideally, will be used in your print filter. (I use lprng. You may have different printer software.) Is your printer postscript? What is the printer you are using? Which applications do you want to print from? Can you print using the command I gave you to try? Joel On Wed, Jan 23, 2002 at 03:34:38PM -0300, Supervisor wrote:> Yes, that's what I want, but I want too is to be able to map this > printer to my KDE so ,for an example, if I'm using Netscape and saw a > article that I want to print, I want to be able to print this article from > the KDE. > I know that seems asking for too much, but if you know how to do it, > I would appreciate. > > Thanks for your patience, > > Rafael > > ----- Original Message ----- > From: "Joel Hammer" <Joel@HammersHome.com> > To: "Supervisor" <supervisor@posgrad.nce.ufrj.br>; <samba@lists.samba.org> > Sent: Wednesday, January 23, 2002 1:04 AM > Subject: Re: Printer > > > > You can print to a windows printer. It can be tricky to set up. There are > > scripts available, which may not always work. The basic command is: > > > > smbclient //server/printshare -Uuser%password -c "print FileToPrint" > > > > I am never sure of the password stuff because I don't use them on my home > > system. If you don't need a password, use -N instead of -Uuser%password. > > > > The FileToPrint must be formatted for your printer. Windows will not, I > > believe, do any filtering for you. > > > > You can get creative and put this command into a printer filter, so you > can > > just print with lpr. Of course, you will need to filter the job for your > > windows printer. If you have a postscript printer, this won't be too > > difficult to do. > > > > Joel > > > > > > On Tue, Jan 22, 2002 at 03:19:29PM -0300, Supervisor wrote: > > > Hi, > > > > > > I want to know if there's a thay i can do to my linuxbox use a > printer installed in a win2k server(this computer is acting as print-server > in my domain). > > > > > > Thanks in advance, > > > > > > Rafael
This is a very elementary question that has probably been asked and answered. If this is the case and someone could point me to the answer, that would be great as I have not been able to find it. My problem is this: I am a college student running Red Hat Linux 7.3. My roommate is running Windows XP. We only have one printer between us and would like to be able to share it. As of now, however, I have been able to see all the other files she has shared, but not the printer. If anyone could point me to directions on how to share printers, that would be greatly appreciated. Thanks for all your help. Stephanie
Hello, I am using Samba 2.2.3a on a Solaris 2.8 machine, I have this message on my printer setting status column (Access denied, unable to connect), I still can print, but could not check the queue or see anything show up on the queue when I print. Kathy Chan 800 Tower Drive Troy, MI 48098 Mail Stop: 5276 * phone: 248-265-7229 (8-365) * mailto:kathy.chan@eds.com
Check into /etc/lpd.perms Be sure the logged in samba user has permissions to use the queue. Joel On Wed, Feb 05, 2003 at 01:02:40PM -0500, Chan, Kathy wrote:> Hello, > > I am using Samba 2.2.3a on a Solaris 2.8 machine, I have this message on my > printer setting status column (Access denied, unable to connect), I still > can print, but could not check the queue or see anything show up on the > queue when I print. > > > > Kathy Chan > 800 Tower Drive > Troy, MI 48098 > Mail Stop: 5276 > * phone: 248-265-7229 (8-365) > * mailto:kathy.chan@eds.com > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba