17

I'm using CUPS for my Samsung CLP-315. It works very well, but it is too slow. It normally takes five minutes or more to print a single page (from pdf).

When it's printing, gs is taking 100% of the CPU.

Is there a way to make the gs at the printing computer instead of on the pi? or even better, not using gs at all?

1
  • it seems we do have a cups tag :)
    – SteveIrwin
    Commented Apr 8, 2013 at 9:53

4 Answers 4

13

I am assuming you are using server side driver ie. have the CUPS use the Samsung driver.

You might be able to speed up the printing process by making the printer a RAW printer.DO this by selecting the Printer model as RAW when selecting the printer and installing the drivers on the computer.This will reduce the CPU load significantly.

However setting the printer as a RAW printer, you won't be able to print from inside the Raspberry pi.

Here is a nice tutorial which might be useful in setting this up.

Hope it helps.

3
1

I reduced the resolution to 150x150 dpi, performance is now ok (10-20 seconds per page), whereas with 600x600 dpi it took several minutes per page.

PS: RAW queue did not work in my network printer (a Lexmark X543) although it makes sense to offload the processing to the network printer.

0

I could solve the above problem in my case by setting my printer as a raw printer on the rpi. However, I needed a trick on my Linux Mint 17 client with CUPS v.1.7.2 to make it work. When I added the printer to my CUPS on the client, I had to give its URL with an option "compression=none" as follows: ipp://*my_rpi_IP_address*:631/printers/*my_printer_name_on_rpi*?compression=none Of course, the right printer driver had to be selected on the client as well. Interestingly, the above option was not necessary on a win7 client for the printer to work.

0

I experienced the same problem on my raspberry pi 3 that I configured to be used for WiFi printing on my old HP Laserjet 1200. From the moment I sent a document from a client to my CUPS printserver it really took 30 - 60 seconds for the document to be printed. The size of the document seemed irrelevant. Also the debug-logging of CUPS did not seem to indicate a clear issue. It led me to believe that the issue was driver-related, since also the printing of a testpage via the CUPS-webinterface took really long. For me the solution was to install Gutenprint and configure the printer with the Gutenprint driver via the CUPS-webinterface. The problem is gone now: A print-command results in a print-action within 5-10 seconds.

Software used: Debian GNU/Linux 12 (bookworm) / CUPS 2.4.2 / Gutenprint 5.3.3

Usefull commands:

You need cups-devel to be installed (as mentioned in the Gutenprint 5.0 manual par 3.3) : sudo apt update && sudo apt install -y libcups2-dev

To download the file via CLI: wget -O gutenprint.tar.xz <INSERT-YOUR-LINK-FROM-SOURCEFORGE-HERE>

After downloading gutenprint you need to configure and install Gutenprint as described in the manual.

Usefull links:

Gutenprint website: https://gimp-print.sourceforge.io/

Original post: https://discussions.apple.com/thread/3880750

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.