Networking :: Samba Shared Printer: Install The Driver In A Windows Host?
Oct 20, 2010
I have found that there are certain things on the web that I need to print, that simply refuse to work under linux. I have a samba printer server on one of my Slackware boxes and an M$ XP vm under Vbox that can access the server and see the printer. The only problem that I have is that it expects to download a driver from the server which isn't available and the HP driver installer won't install if it doesn't detect the printer. Short of relocating the printer to install the driver, does anyone know how to get the driver installed on the XP host? This is so much easier with my Slack boxes and CUPS!
I have installed Canon ImageRunner 2018i on my linux box using CUPS web interface. When I try to install this as a network printer from a Windows XP machine, the windows XP machine keeps asking me for a device driver. Is there a way to configure the printer on CUPS/Samba so that when I try to install it on Windows XP machine as a network printer, it does not ask me for a device driver?
I am sitting with a slight problem sharing some HP network printers (JetDirect) with my windows machines. I have cups 1.4.4 configured on my Debian PDC with samba 3.5.5. The printers in question, is configured in cups and is working perfectly, but for some reason when I try to add the printers from Win7 or Win Vista I get the following error:
"Connect to Printer Windows cannot connect to the printer Operation failed with error 0x00000006"
I had a look around and it seems that the above error code is tied in with incorrect drivers, but the strange thing is that if I create a new local port on the win machines and specify the shared printers they work. The problem then is that cups does not identify the jobs correctly. The job will be named something like "smbprn.00000264 Remote Downlevel Document" instead of the actual document name. One of the reasons for using cups is to be able to monitor printer usage so this option is a temporary solution in my mind. Can the print$ share be causing it although it is empty and no drivers has been uploaded? Neither the samba nor cups logs give me something concrete to work with (hopefully someone else can spot the problem).
Extract from samba log:
[2010/09/30 09:21:01.734938, 2] lib/access.c:406(check_access) Allowed connection from (192.168.1.20) [2010/09/30 09:21:01.740480, 2] lib/access.c:406(check_access) Allowed connection from (192.168.1.20)
My USB printer is connected to an OpenSUSE 11.2 desktop on a home network. I shared the printer with samba and can print from a Windows XP notebook connected to the network, but whenever I try to connect a Windows 7 machine, I always get the message that Windows cannot connect to the printer.
I am trying to access a shared printer from one Ubuntu PC to another.
On the Server PC, I have the printer working, I have set it to shared, and I have set the server setting to Publish shared printers. I can see and use the printer fine from a windows PC.
On my Ubuntu Client PC, I have samba installed, including smbclient, and all other samba components I can think of. I can see other computers on my home workgroup (Windows and Ubuntu fine). I can also add a printer connected to my windows PC. However I cannot find the printer connected to the other ubuntu PC.
I see the instruction in the Samba guide saying
"Now enter your Ubuntu Samba Print Server (set up as above) IP address in the box on the left titled "smb://"."
However I do not have fixed ip addresses, so what am I supposed to enter in the box. If I enter nothing I can browse the network and can see the host computer, but the printer is not displayed. I can also see the printer connected to the windows PC. How do I 'see' the Ubuntu printer?
I'm trying to set up a Samba printer in Debian linux. The printer is being shared by a computer running windows vista. Some of the information I've got in the process. Sharing seems to be working, the printer seems to be detected and authenticating (I've tried invalid values and the utility I'm using to set things up says it cannot verify when I use invalid values, but with things as they are it claims everything checks out).
When I go into CUPS it says it detects the printer and everything is working. However, printing a test page causes the job to be immediately complete and nothing happens. It seems that the job is getting lost somewhere in the process. Could it be a firewall issue? I feel like the right ports must be unblocked since I can query the computer and verify the printer, etc. I have a laptop with vista which I installed a printer on and was able to print to that computer just fine. So it doesn't seem to be a Vista thing.
Code: Domain=[OFFICECOMPUTER] OS=[Windows Vista (TM) Home Premium 6000] Server=[Windows Vista (TM) Home Premium 6.0] Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin C$ Disk Default share D$ Disk Default share HP Deskjet D1500 series Printer HP Deskjet D1500 series IPC$ IPC Remote IPC print$ Disk Printer Drivers session request to 192.168.0.10 failed (Called name not present) session request to 192 failed (Called name not present) session request to *SMBSERVER failed (Called name not present) NetBIOS over TCP disabled -- no workgroup available
I have a Brother HL-2140 connected to a Linux box (Ubuntu 10.04 LTS) that I want to share on a Windows 7 home network (wireless). I followed all the configuration instructions as given on Ubuntu Documentation: Network Printing from WindowsXP. From the Windows 7 box I am able to see the printer in a webpage (using the URL). But when I use the same url in the Add Printer Wizard the system says that it couldn't find the printer.
Printer directly connected with opensuse 11.2. we cant able to add printer in windows xp if wee add the system says the following error:
Function address 0x2c7d5e4 caused a protection fault. (exception code 0x0000005) The application property sheet page(s) may not function properly. And the system says acces denied unable to connect and the windows system hanging and says error report.
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.
In my samba configuration, I have a strange share. Share name: MyPrinter Shared folder: /var/spool/samba comment = lp read only = No print ok = Yes The spool directory /var/spool/samba has been shared as a printer. What will be the harm caused by it? (I don't know who shared such). And I also wanted to know the security issue due to it..
I'm using Ubuntu 9.04 and i've installed my HP Printer and SAMBA successfully. Windows XP clients on my network can successfully print through this shared printer. My problem is, is there a way to put a security password or some sort of authentication before they can print? its because this printer is only dedicated to one department only.
Just recently got a few printers connected to the network at my shop and I've managed to get them connected in with samba for the linux clients. Whenever I try to print from one of the clients, the printer will click on and whiz away, but only prints on the first page stuff that looks like this:
Code: %!PS-Adobe-3.0 %%BoundingBox: 38 24 574 768 %%Title: Enscript Outpu %%For: User N
It seems to me that the printer isn't processing the postscript data properly (or I'm just not sending it in the right format) but I'm at a loss as to how to go about fixing it.
How to configure samba, cups, whatever else is necessary to turn centOS into a print server that provides the print driver to any client adding a printer shared from the server? For example, I have a Xerox Phaser 6125n and I was able to configure my server to share the printer for clients on the network, but I still have to have the driver available on each client that uses the printer. I want to be able to put the driver on the server and provide it automatically to any client who installs the printer.
Also, this is not as important but rather just an annoyance, I am having an issue with samba that I can't figure out. I have user shares set up on the server but the first time any user accesses their personal share they need to provide their password. How can I set up user mapping between linux and windows accounts so that authentication is automatic? I've done this in the past with Fedora Core 2, but that was a long time ago and the same doesn't work on centOS.
I am trying to set up samba in my CentOS virtual machine that is running on a Windows 7 host. I have found a tutorial in the How-Tos on this site but I'm not sure if they are exact and I'm paranoid about messing something up. The link to the tutorial is below. Is there anything that I should do different or anything that I should be aware of? Also, once this is set up, how do I transfer files between the two machines? Please note: I am very inexperienced in the IT field. [URL]...
Installed fedora/configued samba, shared printer and i am not able to access shared printer from any of the fedora machine. I am able to access the printer /shared folder from windows machine. I dont know the process of cups installation.
how to get clients connecting to an office printer. during a migration from windows server to debian/samba.
5 windows XP machines one Windows Server 2003 machine, PDC of the old domain One debian Samba PDC (of TEST domain)/print server (with CUPS installeD) running in a virtual machine hosted by the windows server One Toshiba eStudio 3511 printer
Using the CUPS control panel, I've been able to autodetect and add the printer, and it appears as an available share in SWAT for samba. However, the driver isn't perfect. CUPS could only supply drivers for the 3510c, not the 3511.
However, clients on the TEST domain are unable to access it. Doing so gives an error about a local policy preventing a connection to the print queue. I've tried googling this error and the fix that comes up in every result about changing a point and print policy setting, does not work.
however, I've been able to work around the issue. by first logging in as local administrator, navigating to the domain server, then inputting the domain root account credentials at the prompt. That allows me to attempt to connect to printers, but with a different error
"The server for the printer does not have the correct driver installed...."
I very strongly suspect that the 3510 driver actually will work, but it's just not being shared properly. The printer driver share folder is /var/lib/samba/printers, and that directory contains only a few empty subfolders. CUPS did not place the driver there as I would expect, and that is where clients are looking for it.
The thing is, I have no idea where CUPS DID put the driver.
On the old domain, the printer uses drivers for es4511, and looking on the toshiba site, this seems to be what they provide. The Toshiba Site provides a huge variety of drivers, including several windows ones, a universal driver, and a CUPS PPD. Cups asks for an optional PPD during install and I tried supplying that. It said installed successfully, but didn't change anything.
I've tried pasting the windows drivers into /var/lib/samba/printers/W32X86 too, and likewise with other drivers from toshiba's site. but this doesn't change anything either, so I'm at a bit of a loss.
how to install/setup drivers on a samba PDC, for windows machines?
Also relevant, my smb.conf: anyone see any possible causes of problems? # Samba config file created using SWAT # from UNKNOWN () # Date: 2010/08/19 13:03:07
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.
I am trying to set up printing on my Fedora 14 laptop, on my home network.
- Home network, single subnet, the desktops are connected to the switch portion of my Linksys via Ethernet and all have static addresses. Name resolution between them is via hosts file entries. The router is running wireless (WPA2/AES/DHCP) to accommodate my laptop which is dual boot XP Pro and Linux Fedora 14.
- The printer is an HP Deskjet F4180 printer. It is attached via USB to a Windows XP Pro box and shared. The XP box is wired and static ip.
- I am able to see all the shares and print to the shared printer from any of the Windows boxes, wired and wireless, including my laptop when I run Windows on it.
- My Fedora 14 is working fine on wireless, using Network Manager and KDE desktop. I am able to access all the Windows shares on both of my wired desktops. One desktop is XP Pro, the other is Windows 7.
This is what happens when I try to set up printing on Fedora:
- I go to Administration / Printing and click to Add a Printer. - I am prompted for the root password twice, which I put in. - I select Network Printer / Windows printer via samba and click on Browse... - It finds my WORKGROOUP and machine name mig29 and prompts for user ID and password which I type in.
the user ID and logon on Fedora is different from the one on Windows. During setup I am prompted for credentials. It seems to me that somewhere down the line Fedora supplies not the credentials I supply but my local user ID and password and it obviously fails.
Yesterday I installed FC13.i636, Gnome 2.30.0, on my Dell Latitude D505 laptop. Fresh install from live CD, single partition. Installed all 400+ recommended updates last night. System is working *very* smoothly.I want to print (wireless connection) to my Canon MP160 printer, which is attached to my WinXP machine, and is set as a Shared printer in WinXP. I can print to it fine with my iBook.I used the System/Admin/Printing app to set up a networked printer, letting the app "find" the printer. Printer now shows in the app as:
I choose the appropriate driver and tried a test page. Test page job results in queue showing job "processing" but nothing comes from printer, even ten minutes later. Printer properties show:
I want to print from my linux box to my win7 pc that has a shared printer. I have cups installed and tried to add pritner using samba, but was unsuccesful, gave me an error when trying to add. The guide i followed is: Yet another Linux to Windows printing tip -- Debian Admin The printer model is a dell 2330d laser printer, it is not in cups, so i added the ppd file i got off the dell support site. I am aware that there is a native suse driver, but i want to print to the windows printer.If possible I would like to know how to do this via command line instead of the GUI.
I am currently running Lucid on my system and can't seem to get my printer on a Windows XP computer to print documents sent from my Ubuntu computer. I can see the Windows XP computer in Nautilus under Network and can even access the shared files on the Windows computer with no problem. I have been able to install the Windows shared printer on my Ubuntu computer using System>Administration>Printing>Add>Network Printer>"Windows Printer via Samba" without any error messages. The problem is that whenever I send a printing job to the shared printer, the printer acts like it is going to start printing then automatically stops just right before the paper is going to be fed. I have memorized the noises my printer makes right before the paper gets fed. That is how I know it stalls right before the paper is about to be fed.
When I check the print queue on my Windows computer, its status is "printing", but it never does. I have tried this with two different HP printers (Deskjet 3940 & PSC 1410), and it is the exact same problem on both.
Background: I have a Desktop running Windows 7 Professional that has a Brother HL-2140 laserjet printer attached to it. I can successfully view the Windows 7 shares using SAMBA, but when I choose NETWORK PRINTER > WINDOWS PRINTER via SAMBA > BROWSE, I receive an error "NO PRINT SHARES - There were no print shares found. Please check that the Samba service is marked as trusted in your firewall configuration."
I have no firewall installed, the Windows printer is shared, and before I upgraded to Natty, all worked fine under Ubuntu Maverick. When I run the "testparm" command, I noticed that the line under [printers] states "browseable = No" even though in my smb.conf file it is set to "browseable = yes" (and I have changed/saved this file several times, using "sudo" with the same result).
I would like someone to look over my enclosed settings and see if there is a tweak I need to make in order to browse my Windows 7 shared printer.
I have a windows 2008 server that has 2 printers attached, both are shared in the same way with the same access rites. One printer I can print to without any issues, I get prompted for my domain username and password then the job is processed, the other I can't print to. When printing a test page cups just ques the job and I get errors in the logs :
E [08/Aug/2011:16:44:39 +1200] [Job 12] Session setup failed: NT_STATUS_LOGON_FAILURE E [08/Aug/2011:16:44:39 +1200] [Job 12] Session setup failed: NT_STATUS_LOGON_FAILURE E [08/Aug/2011:16:44:39 +1200] [Job 12] Tree connect failed (NT_STATUS_BAD_NETWORK_NAME)
I'm using an up-to-date installation of Squeeze with the default Gnome desktop and am trying to print. My knowledge of configuring printers is very limited if it even exists. Since a friend of mine is able to print from her Ubuntu computer, my plan is to copy her. Here's how she does it. She goes under System->Administration->Printing on the desktop. Then a window pops up titled "Printing" that lists various printers that are supposed to exist. It's possible to add one by selecting Add->Printer. It asks for the root password and then a new window pops up titled "New Printer" which has a subwindow called "Select Device" In my case, the "Select Device" window has the following options to choose from:
- AppSocket/HP JetDirect - Internet Printing Protocol (ipp) - LPD/LPR Host or Printer
In her case, she has an extra option called "Windows Printer via Samba". This is the option that she uses. The other options don't seem to work for her. I'm assuming that I just need to install some package in order to make this option magically pop up for me. Does anyone know what package this may be? I currently have the packages smbclient, samba-common and samba-common-bin installed..........
I wish to update the drivers for a printer which is being shared using samba - can I just upload the new drivers and overwrite the old or do I need to delete the old drivers before uploading the new ones
I have everything networked properly, as far as I can tell, both computers see each other... I can use putty to port in and use my Linux machine (Debian 4). When I go to map network drive on my XP machine, I can see the computer, but not the shared folder. After some googling I found that i have to create my Windows user name ont he Linux machine as a user as well. Unforunately, that user is 'Administrator'. So I told Linux to force user, and it created it, and did smbpasswd command and added the user to the samba list. Still nothing.
I have a OpenSUSE 11 machine set up as a domain controller. I have set my printer up to be shared to Windows machines logging into the domain. I was able to install the printer to my Windows machines. When you go to the printers folder in Windows, it shows the printer but says "access denied" instead of the usual "ready". If I print to the shared printer the job will go through. I am thinking it is an authentication issue because if I log into Windows machine as "root" and let it build a profile, the printer doesn't show the "access denied" message. How do I allow other users to have access to the printer?
I have Ubuntu Server 9.10 and Windows 98 client. I already installed samba in ubuntu so that windows 98 can access shared files from ubuntu. When I ping both their ip address there is a reply. Ubuntu Server can see shared files from Windows 98 but Windows 98 cannot see Ubuntu Server through Network Neighborhood and their is an error " Unable to connect the network". What are the possible things to solve this problem?