[SOLVED] Network Printer prints garbage after CUPS upgrade

Problems with packages? Post here, using [tags] of the package name.

[SOLVED] Network Printer prints garbage after CUPS upgrade

Postby andyboeh » Mon Apr 21, 2014 4:39 pm

I have an ALARM system running CUPS with a USB printer connected. The USB printer is shared as a local RAW printer to CUPS clients. All systems were running CUPS 1.6.3 and were working fine.

A few days ago, I finally decided to upgrade to CUPS 1.7.1. Unfortunately, now my printer only prints garbage. If I downgrade to 1.6.3, it works again. CUPS 1.7.1 as client with 1.6.3 on the server doesn't work, either, so I suspect the client side to be somewhat broken.

The printer is a HP LaserJet 3310, connected via USB. On the clients, the HP LaserJet 3300 PostScript driver was used, but selecting the PCL driver doesn't change the problem. I turned on debug-logging (on the client), the job runs through the hpcups filter without errors.

Does anybody have any suggestions?
Last edited by andyboeh on Tue Apr 22, 2014 4:16 pm, edited 1 time in total.
andyboeh
 
Posts: 8
Joined: Thu Sep 05, 2013 10:16 pm

Re: Network Printer prints only garbage after CUPS upgrade

Postby WarheadsSE » Mon Apr 21, 2014 7:39 pm

If the clients previously used it as a RAW, and were using hpcups client side, then I would be double checking the server and not the client, since it seems the server is now doing something different. See if it suddenly has started using a filter it was not previously.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Network Printer prints only garbage after CUPS upgrade

Postby andyboeh » Tue Apr 22, 2014 6:58 am

$this->bbcode_second_pass_quote('WarheadsSE', 'I')f the clients previously used it as a RAW, and were using hpcups client side, then I would be double checking the server and not the client, since it seems the server is now doing something different. See if it suddenly has started using a filter it was not previously.


Thanks for the reply. Maybe I didn't express myself clear enough: If only the client is upgraded (without even touching the server side), it prints garbage, too.
If I enable hpcups on the server side, it prints correctly. However, the box is too small for bigger print jobs and runs out of memory.
andyboeh
 
Posts: 8
Joined: Thu Sep 05, 2013 10:16 pm

Re: Network Printer prints only garbage after CUPS upgrade

Postby WarheadsSE » Tue Apr 22, 2014 2:36 pm

Yeah, this does sound like it is not handling it right @ the client side if you still have to filter it through hpcups @ the server.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Network Printer prints only garbage after CUPS upgrade

Postby andyboeh » Tue Apr 22, 2014 4:14 pm

After a lot of searching the web I found the problem:

CUPS 1.7 enables compression by default, which is not uncompressed at the server.

Modifying the URL as follows fixed the problem:
$this->bbcode_second_pass_code('', 'ipp://hostname:631/printers/raw?compression=none')
andyboeh
 
Posts: 8
Joined: Thu Sep 05, 2013 10:16 pm

Re: [SOLVED] Network Printer prints garbage after CUPS upgra

Postby WarheadsSE » Tue Apr 22, 2014 5:16 pm

Awesome. Viola.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 0 guests