CentOS 5 :: Configure CUPS To Print To PDF?
Jun 4, 2010Cent OS 5.5
How do I configure CUPS to print to PDF?
Cent OS 5.5
How do I configure CUPS to print to PDF?
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.
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.
[code]....
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 initially had a problem accessing the CUPS interface (see my other post) and got that resolved by adding the user "cupsys". Now, everything "looks" ok, and when I print a test page, it shows it as completed (in CUPS). However, the page never prints.
The printer is a Canon MP600 (using the canonmp600en.ppd file to configure it). Here's the output of my conf file.
Code:
# Show troubleshooting information in error_log.
LogLevel debug
[code]...
Not sure when CUPS started acting up. I have the latest 13.1 current software installed.The first page to print is always OK, but all succeeding pages are overwritten. The second page shows the first page on top of it, and the third shows the preceding pages on top of it - and so on. Has anyone else seen this problem?I guess the printer buffer is not getting flushed correctly. If my configurations were trashed in some way, I don't know where to look for a fix.
View 14 Replies View RelatedI cant print in firefox 3.6 by cups. Whe i go to file print i see the printers. The file is send to the wright printer. Printer crasch. I look on internet en found a solution. Firefox can only print to file. I had to add gtk-printer-backbands ="lpr,file" in /etc/gtk-2.0 in the file gtkr. and restart cups When i co to the printers i don't see the printers but only lpr. When i klik print the page wil print but only to the defualt printer. Is there a solution the fix this error. Ore how can i give the commando lpr -p printername. I try this on command line I make 2 printqueue's to the same printer and when i give echo "text" | lpr -p printername it works How can i change the gtkr file to have the posibility to slect the printers
View 2 Replies View Relatedopensuse v11.3
linux 2.6.34.7-0.5-desktop x86_64
I must have done something while wandering through the CUPS web interface but I cannot say what it was. Nevertheless, now I must enter a password every time I print a document.
I am hard time printing to one particular Canon IR8500 printer Red hat.WE are using CUPS to manager around 30 printers.when I try to start the printer from CUPS, it comes back immediately to Printer State: Stopped, accepting jobs..After I delete it and redefine it, the status says Idle, but as soon as I submit a job, the status change to 'Stopped'.
View 4 Replies View RelatedI have installed cups(1.5.3) in my Beagleboard black based custom hardware running on Debian 7.8 using 'apt-get install' command. I am trying to print to HP deskjet 1112 usb printer from system line but nothing is getting printed and the output of 'lpstat -t' shows the error : "/usr/lib/cups/filter/hpcups failed "
The error_log output is :
I [10/Nov/2015:09:44:51 +0000] Saving job.cache...
I [10/Nov/2015:09:44:52 +0000] Listening to [v1.::1]:631 (IPv6)
I [10/Nov/2015:09:44:52 +0000] Listening to 127.0.0.1:631 (IPv4)
I [10/Nov/2015:09:44:52 +0000] Listening to /var/run/cups/cups.sock (Domain)
[code]....
Please find the response from CUPS administrators below:
As far as I see this has nothing to do with CUPS.As far as I see the first error message comes from Ghostscript: "Unable to open the initial device, quitting" (this is in Ghostscript's gs_init.ps file).Therefore Ghostscript does not produce any output which lets then the filter from HP's HPLIP driver software error out with "cupsRasterOpen failed" and finally the HP backend errors out with "ERROR: null print job".Neither Ghostscript nor HP's HPLIP driver software belong to CUPS so that the issue does not belong to CUPS (according to my analysis).
I guess that somehow the "Ghostscript command line" is not correct or does not work as it should.Usually this is alos no bug in Ghostscript but "some where else" where the Ghostscript command line with all its parameters is created.
I am currently attempting to attach my printer to my fresh Debian installation and get CUPS running with it. I was able to add the printer easily enough, but when I try and print a test page from the web interface, it fails, and I see the following in the log.
Code: Select allD [08/Apr/2015:21:31:45 -0700] [Job 6] PPD uses qualifier 'Gray.OFF.600dpi'
D [08/Apr/2015:21:31:45 -0700] [Job 6] Calling FindDeviceById(Samsung_ML-1710)
D [08/Apr/2015:21:31:45 -0700] [Job 6] Failed to send: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [08/Apr/2015:21:31:45 -0700] [Job 6] Failed to get profile filename!
[Code] .....
i have followed what in this link to share my printer to my other windows desktop, but when i try to print from there i see this error in the jobs list
from the linux pc i can print without any troubles...
also here is the error log from the cups: cups_error_log.tar.gz
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.
View 3 Replies View Relatedmy printer has a known CUPS bug; A4 is printed as letter size; i.e. printing only appears on the bottom half of the page. I downloaded a ppd file at [URL] but it improved nothing. Also installed the bug's patch (sorry I don't have the bug's number) and followed the instructions; zero results. Upgraded Ubuntu 9.04's CUPS-related repositories to 9.10 but no improvement. Every test page still comes out with just the top third sitting at the bottom.
View 1 Replies View Relatedi have a problem with cups on a lucid/64 machine.
"Unable to write print data: Broken pipe"
The pdf-file to print has a size of 4,7MB. After sending the file to the printer the size of the file is more than 18 MB.
We use a Xerox WorkCentre 7232 which is via
socket://ip_adress:9100
connected to cups. The same configuration had been working fine for several years with hardy.
Cups refuses to print large files. When splitting up the print-file all works fine.
Can CUPS print to a color printer? And also do I need a GUI running on my computer in order for CUPS to work?
View 1 Replies View RelatedI am running CentOS 5.4 with CUPS v1.3.7 and have a Brother printer (MFC-5895CW) that connects wirelessly to a SonicWall device. The SonicWall is hardwired to my PC. I have found that periodically, the printer queue will become disabled and the only way to re-enable it is to issue a cupsenable command.
I believe that queue only gets disabled if the wireless connection drops in the middle of a print job. I've tried dropping the wireless connection and then bringing it back up when no print jobs are active or pending and the queue is fine for the next print job that is sent when the connection is up.
I did a little research and found that my version of CUPS contains support for an ErrorPolicy setting in the printer.conf file that may prevent the print queue from being disabled. I'm hoping that if I change the default value from "stop-printer" to "retry-job" that this will prevent CUPS from disabling the print queue and requirring a cupsenable command to re-enable the queue.
I don't want to play around with scheduling cron jobs to enable the queue.
I have cups 1.4.1 on ubuntu that act as print server that receive print request from Oracle Applications 11i on hp-ux and sends them to windows clients.
Clients printers are from different vendors like Samsung, HP and Kyocera.
Some printers print request with Cover Page with content of "job-id job-name job-originating-user-name job-originating-host-name job-billing" like Samsung ML-2250 or HP Laserjet 1100
but in Kyocera print without banner.
When I try to print something there is only some led blinks on printer and nothing is print. I am using drivers from brother(cupswrapper). I am using CUPS 1.3.11. I didn't have any problems on my previous installation of slackware(but I don't know which driver I've used).
View 11 Replies View RelatedIm trying to set up a print server using Fedora 12 and CUPS.
It recognized the printer, and i can print from the linux box. When i try to install it on my Win 7 64-bit box i can install the printer itself by giving it the IP address and port number of the linux box but i cant sent anything to it to print. I apologize im a little rough on the details, im not at home right now. I believe the printer i have is a HP PSC 1500. I opened the cups port on the linux firewall, and i shared the printer through the cups admin browser page.
In Windows printing I can take an 11 X 17 report, and tell the print manager to rotate and size. The job then prints (Xerox N40) aligned correctly.
Currently, even after telling the N40 it has ledger paper and switching it's orientation, my 11 X 17 reports print "down" the page rather than across.
Is it possible to tell CUPS to rotate the print job?
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)
View 2 Replies View RelatedI have a problem with cups dropping print jobs. The machine fedora 13 installation using cups 1.4.4-10
The dropped jobs happen only rarely happen and therefore is difficult to debug the problem since it doesn't happen 99% of the time. This morning (while in the shower) I wondered if the lost jobs are lost because they are timing out, perhaps because of slow input from a user. I can test this more later in the week..
The print jobs are initiated from within a COBOL program. COBOL opens the print file as output and at this stage a job appears in the print queue with a status in the print queue of "held".
The user types in various bits of information and when complete the program executes the final write to the output print file. The job is somehow released and then is physically printed by CUPS. I suspect that if the user is slow the "held" job times out and then the job is lost.
There are a number of timeout directives in cups.conf but I am unsure which might be appropriate in this case. Or perhaps there is some other timeout thing happening.
I've been running Slackware 13.37 since RC1 (so I'm a relatively new Slacker!). I set up CUPS to start as a default service during my install process. I print once in a while, but my computer is not a print-server per se. Do I have to have it auto-started in order to just be able to print on-demand (like, from LibreOffice or Okular)?
View 3 Replies View RelatedI 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:
raw.types: application/octet-stream
Canon PIXMA MX492, installed drivers from Canon page a few weeks ago, printed test page just fine, printed a few pages after that.
This week I reinstalled Jessie, but with net install instead of live USB. Installed drivers from Canon, it all looks the same.
Localhost: 631 says print job complete, but nothing ever prints. Printer doesn't respond at all. Where print spool is going. I can't figure out what I missed. The install was so simple last time and it should have been the same.
The net install seemed to fix drawing tablet drivers, maybe broke printing somehow? Updated kernel for graphics firmware, but same version as a few days ago.
I'm not sure how it happened but recently when trying to print to a previously added printer, the printer does not show up. Most options are grayed out and clicking troubleshooter tells you that CUPS is not started. Latest guide I could find is for Ubuntu 9.04, options for restarting cups in 10.4 are slightly different (see below) To restart cups from terminal window in Ubuntu 10.4:sudo /etc/init.d/cups restartI looks like in Ubuntu 9.04 the command was /etc/init.d/cupsys restart. This should show the printer and open up the grayed out menu options, allowing you to print normally again.
View 2 Replies View RelatedI installed lexmark S305 following the guide from dave66, posted here [URL], but the printer doesn't work. Every time a new job is in the queue, it fails to print.
Basically the error reported is E [13/Mar/2010:20:33:20 +0100] [Job 2] Job stopped due to filter errors; please consult the error_log file for details.
Here I uploaded my error_log from cups: [URL]
I have Debian unstable, kernel 2.6.32-trunk-amd64 and cups 1.4.2-9.1.
I have Rechat FC4 with CUPS 1.45 and a Dlink DS-802 Print Server.
I have installed CUPS, and pointed it at the DS-802,
but no joy.
Windows already prints to the 802 via a W2k3 server, so that works fine. FC4 with CUPS seems to point at the 802 but print jobs from localhost (just go to the print queue, and there they stay.
Windows continues to function fine, but linux wont send to the 802. Also, if Windows users try to print to the CUPS shared printer, it shows "No Accesss".
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?