Networking :: Can't Print From Clients To Printer On Samba Server
Jul 22, 2009
I am having FC11 with an HP prineter attached my firewall is disabled I trying to print from my laptops after I have setup samba and shared the printer , It was working fine when I was installing FC4 and FC5 I am not sure what is missing when I tried to print from the XP box I got "Test pge failed to print" error what I have really noticed in the xp and vista box is that when I go to the printer settings inside control panel , pressing the ports tab and checking to what port I am printing I see that the port "\samba-serverprinter" is not created there this is the log
I'm giving up in ever hoping that I'll get printing working with windows 7 with the strange comments I've found on the net. Basically I have a samsung ML2240 printer shared on the network, everything can print to it fine except for my windows 7 laptop. It's shared via Samba.
Once you have extracted the driver files, copy the 32-bit drivers to the /usr/share/cups/drivers directory and the 64-bit drivers to the /usr/share/cups/drivers/x64 directory exactly as named below:
[Windows 2000 and higher] ps5ui.dll pscript.hlp pscript.ntf pscript5.dll
However after checking this, I dont have the files named within int he correct folder on my windows system :
%WINDIR%SYSTEM32SPOOLDRIVERSX643 folder for 64-bit drivers.I've tried installing the printer via the windows installer, however this adds the driver then tells me its not working and fails to print. I really dont know where to turn with this one. I've tried installing the samsung supplied drivers from the website. However they still fail to connect.
I'm trying to get GS to print to network Windows printer, but somehow fail to do so . I managed to print through CUPS to that printer but if I use GS with -sDEVICE=cups nothing happens, nothing is printed, CUPS logs remain unchanged... I also found command using smbclient (gs ... | smbclient //machine/printer -U user ... -c 'printmode graphics;print-') but that one fails with "session setup failed: NT_STATUS_REQUEST_NOT_ACCEPTED" Here is why I need it, so maybe you know better way: We need to print thousands of PDF files in one print job (to prevent anybody else to send something else in while we are printing this). I was trying to develop small C program using GS API to achieve this but somehow I fail on something as trivial as print something on shared network printer.
I'm running slack64-current.I setup samba to share a printer on my home network. I can print to the printer locally.The printer is visible on the network. However when I try to print anything on the printer via samba (or cups for that matter) from either the local machine or the remote machine, everything acts as if the job went through, but nothing happens. I'm sure I've seen this before on another slack machine that is currently unavailable, but I can't remember what the answer was, and I'm trying to be more precise with this setup so that I actually learn something.
smb.conf PHP Code: #======================= Global Settings=====================================
I have a FC11 box, with an HP prineter attached. I trying to print from my laptops after I have setup samba and shared the printer , It was working fine when I was installing FC4 and FC5. I am not sure what is missing. when I tried to print from the XP box I got "Test pge failed to print" error.
I have a Samba file server with one windows & one Ubuntu workstation. The Ubuntu workstation is a Samba print server. The problem is that the XP machine cannot access the printer. If I restart Samba on the print server it works again. There may be a pattern but I havn't figured it out yet.
Here's my file: [global] workgroup = voodoonet netbios name = Bob name resolve order = bcast host lmhosts wins server string = map to guest = Bad User local master = yes os level = 33 usershare allow guests = Yes usershare max shares = 100 usershare owner only = False printing = cups printcap name = cups printcap cache time = 750 cups options = raw load printers = yes use client driver = yes
[printers] comment = All Printers path = /var/spool/samba printable = Yes create mask = 0700 browseable = No guest ok = Yes
[print$] comment = Printer Drivers path = /var/lib/samba/printers browseable = yes read only = yes guest ok = no
I have a Centos 5.3 server with Samba file shares and a shared Samba printer. I am not running a domain.
I recently changed my windows desktop pc from an XP machine to a vista 64 machine... It has a different user name. Everything went pretty smoothly - and the and the vista machine found the smba printer - and even downloaded the driver from the samba server. he printer works OK - and the file shares are fine.
The only thing which is quite odd - is that the Printer Properties dialogue takes more than 30 seconds to come up - and every action you attempt with the dialogue takes a similar amount of time.
Learning samba. The samba on a server and the samba on clients arent the same conf. OK; but it pam/nsswitch is set to compat only, can the /etc/passwd be automatically updated from the server to the clients?
I just installed SLES 11.2 X86_64 and have SMB Server started after adding 2 lines to smb.conf:1. NTMLv2 = Yes2. name resolve order = wins bcast host lmhostsThere are also 02 new DWORD lines I add to Win7 clientsHKEY_LOCAL_MACHINESystemCurrentControlSetServicesLanManWorkstationParameters 1.DomainCompatibilityMode = 12. DNSNameResolutionRequired = 0Of course a few number of modifications I made from Yast to enable SMB Server and Client, and bcast as well. Now I am able to join my Linux Domain without error at first reboot from win7, but it seems spending a long time about 30 secs for auth. even I test on a very fast network system, all with core quad 3GHZ CPU and 4GB DDR2I would like to mention here that before I made the above changes I did a lot of different modifications onto my win7 clients (I found many suggestions online), and all seems mess up and never work; Then I had to reinstall win7 from scratch and just add 02 lines as above, but it works.
In my work I want to build up a Linux based network, where windows and linux clients are going to share a Thecus network drive.Each client will have specific permissions for accessing the samba shares. I have installed Ubuntu SRV 10.4 with gui and webmin.
I use OpenSuse 11.3 and I successfully built a samba/openldap server. However the raoming profiles were not working so I removed the roaming profile part of the samba and the openldap using ldap account manager. I also rejoined a couple of the computers back to the domain successfully (it was not an instaneous join, it took a good minute or 2 to join each pc). Now I cannot cannot login to any of these computers with the domain credentials. I can share using the UNC path no problem and this was working find about 1 week ago.
On 1 of the computers Iw as able to finally get a log file saying this:
I have the problems with transfer speed between samba and Windows XP clients.
Samba server configuration: Quad Core 6600 CPU. 4 Gb RAM OpenSUSE 11.2 with kernel "184.108.40.206-0.1-desktop" Samba - samba-3.5.1-1.1.i586 Test: 4 GB File copying. One file.
Transfer speed from Samba Server to Windows 7 and XP clients: (Windows clients copy file from Server share -> to local drive) From Server to Windows 7 client 1: 85-90 Mb/sec From Server to Windows 7 client 2: 90-100 Mb/sec From Server to XP1 client 3 75-100 Mb/sec
Transfer speed from Windows 7 and XP clients TO Samba Server: (client copy file from local drive -> to server Share) From Server to Windows 7 client 1: 12-20 Mb/sec From Server to Windows 7 client 2: 30-35 Mb/sec From Server to Windows XP client 1 20-27 Mb/sec
(Copying file from Windows local drive to Windows remote share) From Window 7 client 1 TO Windows XP client 1 40-50 Mb/sec From Window 7 client 2 TO Windows XP client 1 50-60 Mb/sec
Copying file from Windows 7 client 2 share -> TO Windows XP client 1 show me 100-120 Mb/sec speed permanent. Copying file from Linux hosts to NFS server is stable 50-90 Mb/sec bidirectional.
This part of my smb.conf file Code: # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2009-10-27 [global] log level = 1 debug level = 0 max log size = 50 .....
I have very slow write speed when copying file from Windows clients to Samba Share. Samba speed is slower than Windows native clients connections ?
I want to replace Windows AD with SAMBA I want to know what policies restrictions I can get in SAMBA as compared to windows AD - whether it is possible to restrict clients not to change IP, access cdrom or control panel.
A few months ago a client had me build a small file server running OpenSuse for them. They also had me install an HP Designjet 650C on the server and share it on the network for 2 desktops to print to. All went well and there have been zero problems. They use a few specialty apps that don't have good enough FOSS counterparts, so I couldn't talk them into switching the desktops to Linux, although they were very interested in it. One of the desktops runs Vista and has an XP Pro VM on it (they are considering a Linux VM to go with it so they can dip their toes in the water). There was a locally installed HP OfficeJet 5610 on the machine, but printing from the XP VM was a hassle because they had to tell virtualbox to pass the usb interface to the VM, effectively disabling it in Vista. Then to print in Vista again they had to release the interface back to the host OS. The other desktop (running XP) was also unable to print to it. They asked me to install the 5610 on the server and share it like I did the 650C.
Installing it on the server was easy. I just plugged it in and checked to make sure everything was neat and tidy in YaST. It printed flawlessly. I configured the share identically to the way I shared the 650C. I browsed the network from Vista, found the printer, and installed it using Vista's native driver. Then I sent a print to it from Vista and nothing happened. Vista is very slow to communicate with the printer compared to the 650C, but it will eventually report that the print job was successful. The printer never receives the print, though. Where are the print jobs going? The VM and other desktop are as big of a problem. XP does not natively support the 5610, so I have to download a driver from HP's site. The driver uses a stupid binary installer that will not allow the driver to be manually installed. Running the installer works, but the driver will not install until it sees the printer in a usb port. That won't work because we are connecting to it over a network path. Where can I find a driver that can be manually installed?
On all of my xp clients no matter what the username is is I am continously getting the error saying that the profile cannot be found. I just built this domain recently and since day 1 the roaming profiles have not worked.
I have been able to accomplish my goal of creating an AD-like authentication using LDAP,SAMBA and LAM. From what I have seen you can have this type of setup but it doesn't allow the passing of group policies to the desktops of the users.
We are using lpr as a print server. What I want to do is, configure the lpd print server so that before it accepts any print job for some printer, it checks if the printer is available or not. If the printer is available, then only it is supposed to accept print jobs...if not, it should not accept the print jobs at all. How do I accomplish this feature?
I have an old desktop that I'm trying to set up as a home backup/print server. Backup was trivial, but am having issues getting the printing to work. The printer is connected to the server running Ubuntu Server 9.10 (no gui). If I access the printer via http://hostname:631/printers/, I am able to print a test page, so I know the printer is working; however, I am having no luck from Windows. Windows can see the printer when browsed via hostname, but I am unable to connect. Windows says "Windows cannot connect to the printer" without indicating why.
From /etc/samba/smb.conf: [global] workgroup = WORKGROUP dns proxy = no security = user
a newbe one, but its if my fifth try in using ubuntu for working with Architecture, so... my problem is...I have a plotter (xerox 2230ij) connected in a print server, i tryed to connect in lpt1 port and was sucessful with HP 750 plus driver... so.. yay! but my original intend is to connect in print server and all the computers (windows/ubuntu) use that.But when i connect in PS, i cant see the plotter, but i can acess the PS (Dlink)so.. what i have to do, to make thing working well? and i have virtualbox with windows XP, can XP acess that plotter as well?here a small scheme of my connections...
I have a Synology DS110+ NAS which has print server feature. It is powered with a lightweight Linux version. I also have a Canon LBP2900 printer which is compatible with Linux, and I can use it with the proprietary driver if connected directly to my computer. As the NAS doesn't have this proprietary driver, it doesn't detect the printer as such when plugged in. How can I install this driver on the NAS?
I have an HP deskjet f4580 and I downloaded hplip and the printer prints when its plugged into the usb but not wirelessly. And I noticed an hp setup adhoc on my network connections but I couldnt get on it. I'm nearly certain its something I am missing just don't know what..? and I have Ubuntu 11.04
The company I work for decided to use printers on which one should log in with there MS Windows password. After logging in, one could print there documents. This is ok for the MS windows office PC's, but not for the Linux based systems.The Linux user accounts have a different name than the MS Windows accounts.Because of this, it is not possible to print with that Linux user account. I can create a Linux user account with the same username as the MS Windows account, so that all users can use that account if they want to print something on the network printers. They can use it like:$ ssh <username equal to Windows>@<hostname> "oowriter <path>/<file>"
Now they can print a file from oowriter to the network printer.So my question is, is it possible to use the account name that is equal to the MS windows account name by default?
example MS Windows account name = milk Linux account name = schuurs Linux account "milk" is created for printing by all users.
user works with account "schuurs" and prints with user "milk" automatically without the use of the ssh string mentioned before.
I'm using Slackware64 13.0 on a laptop. I've set up the network printer which lives on a Windows Vista machine (not my choice) in the family room. I am able to send print jobs to the printer. That part works fine, but the printer does not print. It simply stacks up print jobs with "error - printing" in the status of the first print job.I think I understand what's happening. I'm sending the print jobs to the print server as "Guest" and I have no guest account activated on the vista machine. I'm sitting here racking my brain (ie googling my goddamn fingers into stumps) trying to figure out how to send the jobs to the print server as indubitableness.
For the goddamn life of me I can't figure out what I need to do to send these print jobs as a specific user. I've tried adding "valid users = indubitableness" to smb.conf and I've tried using the -U flag when running lpadmin to add the printer to my system in the first place.The configuration wizard for windows doesn't appear to have any options to enable guest access or to add a specific remote location and/or user to the allow list.I'm at a loss and I'm losing my goddamn mind.
Does anyone know of a way of limiting a print-job size from samba?
I know how to limit a print job size form cups, and how to require x amount of free space before accepting a job. I've even dug up how to require x amount of free space for samba to accept a print job, but I can't see how to limit samba to only certain sized jobs.
Someone tried to print a >1G file to my print-server this morning, causing me to have a less relaxed Monday than I had hoped. Because it ran out of space before spooling, it was never limited by cups. Because I had to get rid of it ASAP so people could get work done, I have no idea who's it was, or where it came from. Scouring logs didn't give me any good leads either.
My wife has a canon MP470 printer and running ubuntu 10.10. I am able to print black and white, but unable to print photos. I got it to work using another driver, but not the 'correct' one for this printer. I have searched a bit and don't see anything about ubuntu 10.10, just older versions. Or should I just network her to my printer....?
In Ubuntu 10.10, I have my printer, an Epson D120, shared. I can print from the computer itself, but other computers cannot print to it. Both Ubuntu and Windows machines have the printer successfully installed. They can access it, I can access CUPS from all these machines and the the job queue even reports the jobs sent from these computers. But the page count is unknown and nothing is printed, although it says the job is completed.
I'm quite desperate to get this to work. It would suck if I need to go back to Windows just because some minor thing goes wrong. I really don't understand why local prints are OK, but prints from the network are not working.
xxxxxx:/etc/samba$ uname -aLinux xxxxxx 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/LinuxI have a printer shared off of Windows XP. I have always been able to print to this from Ubuntu by adding a network printer through the "Windows Printer via Samba" gui.Now, in Natty, I can set up the printer no problem but all jobs fail. In the printer properties gui I can see this text briefly: "Processing - unable to connect to cifs host".The errors in /var/log/cups/error_log are:
E [28/May/2011:14:32:31 -0700] [Job 15] Tree connect failed (NT_STATUS_BAD_NETWORK_NAME) E [28/May/2011:14:32:31 -0700] [Job 15] Tree connect failed (NT_STATUS_BAD_NETWORK_NAME) E [28/May/2011:14:32:31 -0700] [Job 15] Tree connect failed (NT_STATUS_BAD_NETWORK_NAME)
I would like to know if it is possible to configure my laptop so that it can print wirelessly on my MP800r canon printer, and if so then how to configure them to make this operation possible. I'm using Ubuntu.