Software :: CUPS Installation / Shared Printer And Not Able To Access Shared Printer From Any Of Fedora Machine?
Jul 21, 2010
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.
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'm running Red Hat Linux and CUPS 1.2.4. I can print a test page to a Win 7 shared printer ok. However, when I issue the lpr command from a user or root, it won't print. The CUPS message is "Remote host did not accept data file (1)" and the job just hangs till I cancel it. The only thing I can tell that is different is that when the test page from CUPS is generated, it uses user "guest". When I try to print it using the lpr command, the user is "eddie" or "root". I tried adding a user account named "eddie" to the Win 7 box, I can print successfully from both CUPS and users on several other Win XP boxes.
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.
how to get clients connecting to an office printer. during a migration from windows server to debian/samba.
We have:
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 been working through setting up a CUPS server on my Dell Dimension 2000 which is running Ubuntu 10.04. I have the server set up and the printer added and have gone through all of the steps the tutorials suggest to get the printer to be viewed on the network (set it to shared, allow other machines to view shared printers, etc). However, I can't find this printer on any of the other machine on my LAN (one machine running mac os x the other running Ubuntu 10.10).
My setup is like this: i have a small office network and i bought yesterday a new multifunctional printer Samsung SCX-4521F. It is shared with samba and connected to the server with USB. In the network everyhing works well, users can log on to the domain, print from windows to the new shared Samsung printer and i even managed to enable network scannin. But when i try to print from MS DOS i wont get a single page. We have an accounting program in dos. All the other computers are XP Pro SP3. My server is running for 2 weeks the newest CentOS with all updates. I'v maped the network printer in windows witht the command "net use LPT1 \ServerSCX-4521F. I get a message that maping was completed succesfully. If i start a print job nothing happens. "Printing" or "warming up" flashes several times on the printer and thats it.
CUPS error log: I [02/Apr/2009:00:03:45 +0300] Adding start banner page "none" to job 125. I [02/Apr/2009:00:03:45 +0300] Adding end banner page "none" to job 125.
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?
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:
lpd://192.168.1.108
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:
my 64 bit XP/fedora 12 box prints fine to a shared printer when I am in XP. The HP color lasterjet CP1215 printer is hosted by a 32 bit vista machine. I can located the printer on the network from Fedora 12 using the add a pinter utility, but I cannot print. I get no error message on the linux machine, but the "submitted " dialog box never goes away (not sure if it is supposed to go away). On the vista machine in the printers dialog box it says "remote downlevel document" in the document name section and "0kb" in the size section, then goes away. the printer does not make any noise.
I have just got my network to work on Fedora, and now I have run into an new problem... I can't access any shared files or printers. The computer that has the printer and the files I want to access runs windows XP Home edition, and when I boot into XP on my machine, I can access the files and printer. Can this be fixed, or is Fedora incompatable with Windows XP in this case?
I am trying to set up printing on my Fedora 14 laptop, on my home network.
Details:
- 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.
[code]....
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.
I have a file server running 11.04 w/ a shared printer connected to it, all my windows machines see it as shared & connect to it no prob. My laptop running the same OS 11.04 can see all the shares but no printer?
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?
what I need to do to the firewall in order to make a shared printer available to other machines on my network?
I have the printer set up and have tested it with the firewall switched off, but as soon as I restart the firewall, the printer is inaccessible.
I thought that all traffic on the internal network was allowed, but it seems that I need to create an explicit rule in order to get the shared printer working. Unfortunately, I haven't been able to figure out how to do that yet.
I have a brand new Canon MF4350d printer/copier/fax/scanner installed and shared on XP that I can't get working on Ubuntu!
XP prints test pages fine. Ubuntu sees the XP shared printer, it sends print jobs, and the XP machine even receives the print jobs (I can see them "spooling" in the XP print manager) but then nothing happens. The job leaves Ubuntu showing 150k but then shows 50 bytes when received in XP before disappearing from the queue.
How I got to where I am...
There was no native driver in Ubuntu for the printer, so I downloaded Canon linux drivers source and compiled (including make install) based on some other threads I've found such as this one.
Compiling left me with PPD files that seem to be specific to the MF4350, although their names show MF4350z not MF4350d. I'm not sure why there were three different files with slightly different names (CNCUPSMF4350ZJ.ppd, CNCUPSMF4350ZK.ppd, and CNCUPSMF4350ZS.ppd).
I added the printer manually using the Ubuntu printer browser setup (Samba) and selected the .PPD files manually. I've tried all three different .PPD files to no avail.
I've toggled bi-directional comm. and tried different print drivers on XP. Nothing's worked yet.
I am having what seems from the forum to be a common problem, getting a shared printer to work. Many similar posts to mine go unanswered for weeks. Can it not be done?I have followed the documentation, 2 computers with 10.4 ...set-up instruction followed ...sharing enabled... cups installed...printer seen by both computers... troubleshooting guide says it can see no reason printing not working, but no dice. This is frustrating to say the least. I have been working at this off and on for a couple of weeks.
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.
I have a ciber and my server has Mandriva Linux I have machines with windows xp, 7 and Ubuntu, I haven't been able to add the already shared printer in Ubuntu... the machines with wins haven't given problems in adding the printer. When I try to add it, it can't find it in the network all machines are configured in the same workgroup.
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 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.
I know it's very easy to share printers in Ubuntu, just went to System, Administration, Printing, Server Settings, Publish Printers connected to this system. VoiláMy question is:How can I create an access list so only certain IP addresses are allowed to see it?
I apologize if I'm a little wordy. I'll give the problem, then a detailed list of my setup (to help troubleshoot). Problem: I can't print from Ubuntu 10.4 on my Win7 shared printer. I also can't connect to the Win7 computer sharing the printer (probably a related problem).
Error Message:
1.) I click on Places, Network, Windows Network. I get an error that says "Unable to mount location, Failed to retrieve share list from server."
2.) I click on System, Administration, Printing, Add, Printer, Network Printer, Windows Printer via SAMBA, Browse..., and I get this error "No Print Shares, There were no print shares found. Please check that the Samba service is marked as trusted in your firewall configuration. To do this select System->Administration->Firewall from the main menu."
Network Configuration: I have a wireless/wired network (using a router) where the Ubuntu machine connects wirelessly and the Win7 machine connects wired. The Win7 machine is on a Win7 homegroup and custom named "workgroup". There is a username/password to log into the Win7 Machine. My other Win7 laptop connects just fine to the Win7 desktop's shared printer (and network drives). I know it isn't a issue of it not working (at least with other Win7 machines)
Problem: I'm assuming there is probably a setting in Win7 that needs adjusting (although I've looked at about everything I can find). I also don't know much about Ubuntu so it could very well be something I need to setup in Ubuntu. I checked already to make sure that SAMBA and the smbfs plugin is installed.
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 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 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
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 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.
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)