General :: CUPS Client Configuration For Printing To Windows Print Server
May 24, 2011
Since last few weeks i am struggling to setup printer connected to print server.
Here is the setup that i have:
I have Red Hat Linux machine from which i want to issue print jobs.
I have Windows Print Server having multiple printers connected to it.
I am able to print jobs from Windows client to any of these printers. But i am not able to print from Red Hat Linux. (i have verified that i can print using smbclient utility, but based on my reading, CUPS API could be used from application to discover, print and issue print jobs.)
I am not able to get the correct configuration for setting up CUPS client.
Apologies if this was asked before -- I have googled the last bytes out of my Firefox but fail to find anything helpful. Here's my problem:I have a foomatic hpijs cups-driver for a HP Inkjet (Non-PS printer) installed. Printing from UNIX-hosts works. I have cups configured not to allow raw-printing (/etc/cups/mime.types: #application/octet-stream, /etc/cups/mime.convs: #application/octet-stream).I have now installed samba-printing, the cups PS-drivers plus the Windows PS-drivers are populated to /etc/samba/drivers/W32X86/ and get pushed to the WIN-Client.Problem is that when I print from a WINXP client, the printer outputs heaps of Postscript-text instead of my page.I have tried to debug this a bit but fail to find anything really useful. My observations so far:
- The samba-pushed HP_Photosmart_3300.ppd (in both /etc/samba/drivers/... and in the resulting dir on the WINXP client) reads: *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
I have installed centos 5 and can print small to medium lpr files using cups fine (1 to 20 pages), but when i tried to print a file of 95 pages the printer just stops, I have to power off the printer and turn it back on and it will start printing again. It looks like some data is lost in this process. It may print 20 pages and stop. When restarted it may print 20 or 40 or complete the report.I can print to the devicectly and it works fine. It is only when the large print jobs are run through the spooler.I have tried on different printers and the same results, that's what makes me think it is a spooler problem.
I am demo'ing Kubuntu 9.04 workstation to a customer. He has a CentOS 5.3 server (my doing). On it is our CUPS Network file server. Everyone (65 of them) print to our network printer through it using LPR/LPD (and sometimes Samba).
Problem: when Kubuntu's Print Configuration Tool went looking for printers, it found every network printer's IP address, but missed my CUPS printer server. What did I do wrong on one or both ends (I have control over both).
I recently built a server from an old box using Ubuntu Server 9.10. This is my first server and I am very new to the server world.I have an Epson Stylus NX400 connected via USB. I have managed to configure it to the point where I can see the printer listed on my client laptop and can print a test page. However, I cannot print anything else. When I access the job history through the CUPS adminI can see that the print jobs were recognized and marked as complete, even though the printer never physically engaged.
I noticed that a bit after I had updated Ubuntu 10.04 through the Update Manager, I couldn't print at all! (I run ubuntu 10.04 on my laptop and have a networked HP Officejet 6110xi all-in-one printer connected to a comp running Windows XP home on the same LAN). Everything works when I boot up in windows vista, so the problem is definitely in Ubuntu.
First, I checked the printer jobs and it said that there was an error with a filter or something. Restarting the job didn't do squat, so I decided to try reinstalling my printer, but get the same CUPS error "error-client-not-possible" right after I click "Apply". I then Googled the issue but didn't find much of anything, so I thought I'd try reinstalling CUPS. No luck there either... Same error again and again.
I am trying to set up a print server here on a Squeeze system using the stock debian CUPS package. It seems that since Apple has bought this package, it has caused me nothing but grief. I have set up two different USB printers with raw print queues, and every time I send a print job to either of them, the job disappears into thin air, with no error output. In fact, when I look at the queue, it says the job was completed successfully. I look at the logs, and there is no output indicating any issues. Just for kicks, I reconfigured one of the printers to use a linux driver, and it printed just fine (a little slow, but fine). I set it back to raw, and the jobs disappear again into oblivion.
I have done this many times in the past, and never had any issues -- I even had this very same printer set up that way about a year ago, and it worked great. The only noteworthy thing that seems to have changed is that there are no longer any files called "mime.types" and "mime.convs". It seems they have been replaced by "raw.types" and "raw.convs". The contents of these two files are as follows:
I installed cups_pdf and I am able to print pdf files locally but not Windows.
When I connect to the PDF printer in Windows it ask for a driver so I point it to the generic Microsoft one. I also tried some hp ones as well. When I print I don't get any errors or anything like that. The file appears in the PDF printer queue and disappears but doesn't make it to my computer. I have tried using instructions from various Internet sites but the information is vague, wants me to edit lines that don't exist in cupsd.conf, and/or adds lines that breaks the back-end scheduler to the PDF printer. Every once in a while they tell me to use a raw driver for Windows but what does that mean.
So right now Windows can see and interact with my PDF printer but the file never gets made on the Linux machine. I have reinstalled the cups-pdf, created a pdf printer, and windows can see and connect to it but wants a driver. I am using Ubuntu 10.04 and Windows 7 and everything is up to date. What do I need to do?
I have installed Fedora 12 with latest updates. My problem is printing from Winstar Networking USB 2.0 Server (WS-NSU62P). This device is attached with LAN cable to Windows XP machine. HP LaserJet 2200d is connected on WS-NSU62P with USB cable. This printer works fine with Windows clients (when you add printer with standard procudure for WinXP OS). Before adding the printer I have to install some drivers witch i found on install cd. I didn't found any drivers for Linux. Specification has info about supported protocol on WS-NSU62P (Network Protocol IPX, TCP/IP, NETBUEI, APPLETALK, LPR, smb (Over IP)
How to set my Printer configuration in Fedora 12 to enable printing from HP LaserJet 2200d connected on Winstar Networking USB 2.0 Server (WS-NSU62P)?
I'm trying to print a PDF from Windows through CUPS. I'm guessing it is supposed to appear somewhere on my Ubuntu machine, but I cannot find any files. When I go on the CUPS server and look at "completed jobs", it shows every print that I did, but I have no idea where the file is located.It is not in my Home directory.
I'm not looking to setup a print server. I want to print documents TO an existing network printer while I'm logged in via ssh to my Ubuntu Server 10.4 command line shell. Things like admin emails, pdf docs, etc.
All the clients on my LAN are able to print directly to the network printer without any help from the Ubuntu Server. I don't want to setup CUPS on the server unless that's the only way to print from the server itself to a networked printer.
Do I need CUPS or can I print from the command line in some other way?
I just brought up a new server on RHEL4 to replace an existing older one. The server is using CUPS for printing. I copied the cupsd.conf, printers.conf, and lpoptions files over from the old server. I also copied the printer files in the /etc/cups/ppd directory over to the new server. But I can't get printing to work. And when I run system-config-printer-tui I don't see any of the printers in the dialog box. What other file(s) am I missing?
At my work we use CUPS to maintain all of our printers. I'd like to use Ubuntu to print a ton of files in a directory. What command would I use to print all files ending in ".html" to a specific printer? I tried some command and all it printed was stacks of pure junk. Is there an option to choose a certain tray to print from? Would the command be Code: lpr -p(printername) *html ? I have no idea how to specify a certain tray.
I have a FC12 machine installed with CUPS and a CUPS-PDF printer. Printer are shared and works fine with this URL:
I have both client machine Windows XP and Windows 7. Both has setup the above printer and print fine without any problem. I can get the PDF file from windows test print. The only problem is I face is wait for around 20 seconds for printer dialog prompt out when I press print button in Windows 7. However, my windows XP never t have this problem. The printer dialog prompt out immediately when I press print button.
I have set-up a stand-alone CUPS server with the intention to configure printer drivers and queues at a central point. The idea was that all workstations simply get announced this server and use whatever it offers. But I cannot get it to work. I cannot find any way to use any external server other than configuring a local server, which may use the remote queues, but still requires all printer drivers locally. Furthermore, I have to set up each remote queue explicitly, i.e. to me having the remote server makes no sense.
I'm trying to setup a cups printing server, but I want the default admin to not be root. Google has given me a couple hints and the cups administration page a little further but I'm now stuck at the end.What I want is a user called admin who belongs to the group printadmin as cups server administrator.What I have done1) I have created a local user called admin user yast user interface , and a group called printadmin. Added admin to the group printadmin2) I changed the line in /etc/cups/cupsd.conf.SystemGroup sys roottoSystemGroup printadmin 3) Changed all instances of of Authtype from Basic to Digest (Allows me to have a file called passwd.md5 in /etc/cups/ with the name of the allowed cups admins inside)4) Ran the following command to create and add admin.Code:lppasswd -a -g printadmin dmin This is what I receive after running the commandlppasswd -a -g printadmin administratorEnter password:Enter password again:lppasswd: Die Kennwortdatei wird verwendet!
I have an ubuntu server with a printer plugged to it through USB. I used to set the server ip on the Printing panel to print remotelly to it, but it doesn't work anymore since I upgraded to karmic. I can see the printer in the printer panel, and I can even print a test page through the panel, but I can't print from any other application. When I come to the printing screen, the printer has the message retrieving information from printer and I can't print. I guess the cups server is working well as I can print the test page, and I used to print with hardy, looks like if the changes made in the printing panel don't have any effect on the system.
I have an ubuntu server (9.04) that needs to share a printer (a Brother 2070N on USB). To configure cups, I had to modify cups.conf quite a bit to let me access the printer management pages, but I did get it working. I can print using the lpr command, as well as print test pages using the management interface's "Print Test Page" button from any computer on my network. However, I cannot actually set up Ubuntu, Fedora, Vista, or OSX to see the network printer, and it's driving me insane.Brother from any computer on the network I can see the specific printer management page, but no computer can actually print to the printer (other than using the "print test page" button)
I just installed CentOS 5.3 on Compaq desktop PC with HP laser jet 2100 attached to parallel port. The PC is connected to LAN with 2 other PCs running Fedora. I configured the HP printer as a shared CUPS printer and I was able to detect the printer from the other PCs running Fedora but I can't print test page from the other PCs.
P.S. I opened up port 513 and 631 for both UDP and TCP on print server PC and cups-lpd service is running on it.
I just recently bought a WinStar USB LPR Network Print Server so that I could connect my printer to my network so all the machines on my network could print, and everything would be OS independent. The problem I'm having is that I can't get CUPS to connect to the printer. It either never prints anything, saying that the printer is not connected, or saying that LPR is spooling the job, but it never completes. I've been configuring it as a network printer in CUPS, and trying all the different configuration options to no avail. The print server is located on http://192.168.1.103 and is pingable. The print server I have is this one:
WinStars Networking USB LPR Print Server
What is the correct way to set up a print server like this so I can print to it?
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.