LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-26-2011, 08:24 PM   #1
staus
Member
 
Registered: Apr 2004
Posts: 66

Rep: Reputation: 2
CUPS print jobs print 1st page OK, but all others are overwritten


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.
 
Old 02-26-2011, 08:49 PM   #2
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,269

Rep: Reputation: 186Reputation: 186
Yes, I have the same problem. The only solution I found was to print one page at a time. Hplip wasn't much better. At this point I'm running Xp in VirtualBox when I have to print, scan, Fax, or run Bluetooth. This means Xp is running on my desktop all day during business hours.

Last edited by cwizardone; 02-26-2011 at 08:51 PM.
 
Old 02-26-2011, 08:52 PM   #3
staus
Member
 
Registered: Apr 2004
Posts: 66

Original Poster
Rep: Reputation: 2
Thanks. At least I'm not the only one. The "CUPS forum" wasn't any help.
 
Old 03-28-2011, 07:28 PM   #4
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,269

Rep: Reputation: 186Reputation: 186
Quote:
Originally Posted by staus View Post
Thanks. At least I'm not the only one. The "CUPS forum" wasn't any help.
Over this last rainy weekend I took the time to run through the various options for installing a printer. I tried using the HP utility and http://localhost:631 (in a browser).
Using the HP utility was not successful.
Using localhost:631 showed about 4 or 5 different drivers, e.g., hplip, gutenprint, and combinations of the two.
I went through each and then ran a test print and a multi-page document.
Success was achieved by using the straight hplip driver. Printing speed is reasonable and multi-page documents are
printing propery.
Just FYI.
 
Old 06-02-2011, 03:10 PM   #5
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 393

Rep: Reputation: 41
I've got the same problem with a Canon BJC-80. I've now reverted back to -

foomatic-filters-4.0.4-i486-1.txz
ghostscript-fonts-std-8.11-noarch-1.txz
gutenprint-5.2.4-i486-2.txz
cups-1.4.3-i486-3.txz
ghostscript-8.71-i486-2.txz

These were the packages that were used in 13.1. The BJC-80 prints all pages perfectly.

Will need to roll forward the packages to the versions used in 13.37 to see what package breaks printing. Though, due to lack of time, I won't be doing it in the next month or so.
 
Old 06-02-2011, 04:10 PM   #6
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
I'm using 13.1, fully updated. cups-1.4.5-i486-2_slack13.1. I use an HP LaserJet 4200, connected to a parallel port.

I tried a few multipage documents and could not replicate the problem. My printer has a duplex tray but I disabled that option for my testing.

Unsure how to help. Some weak ideas:

There are files in /var/cache/cups, /var/run/cups, /var/spool/cups that can be deleted. Stop the service, delete the files, start the service.

Do you have any files named $HOME/.lpoptions or /etc/cups/lpoptions? Those files contain override and custom settings.

Are all files in /etc/cups chowned root:lp?
 
Old 06-08-2011, 07:12 AM   #7
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 993

Rep: Reputation: 214Reputation: 214Reputation: 214
Quote:
Originally Posted by cwizardone View Post
...
Using localhost:631 showed about 4 or 5 different drivers, e.g., hplip, gutenprint, and combinations of the two...
What is this?
I had the same problem with a HP Deskjet F2180, selecting the f2200 Driver ( the next one up ) seemed to fix the problem for the moment.
 
Old 06-08-2011, 07:41 AM   #8
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,118

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
You did not mention what brand of printer you have; if it's a Hewlett-Packard, I've found the "best" way to set it up is with HPLIP.

First, open CUPS in your browser and delete the existing printer (and if there's more than one of the same printer, delete those too!). Close CUPS.

Then make sure the printer is turned on and execute hp-setup; you'll get a set up window. You use that to find and identify the printer -- generally it's automagic for a USB printer, not so automagic for an Ethernet printer (and I don't know about parallel or serial connections). I have both a USB and Ethernet printers and I need to enter the fixed-IP address of the Ethernet one (and then hp-setup finds it likity-split).

hp-setup creates the entries in CUPS for you.

In Slackware 13.37 (both 32- and 64-bit) you can execute hp-setup as "you" and you'll be asked for the root password; I seem to recall that I had to actually log in as root in Slackware 13.1 to do the set up and that may be the case.

If you go look at http://hplipopensource.com/hplip-web/index.html there's a how-to use hp-setup along with a download of the current version of HPLIP. It may be useful to download the source and build it with the Slackbuild from the source directory on your distribution disk (edit the version number and there you go).

Hope this helps some.

Last edited by tronayne; 06-08-2011 at 09:53 AM. Reason: added Slackware 13.1
 
Old 06-08-2011, 08:17 AM   #9
Keith Hedger
Member
 
Registered: Jun 2010
Location: Devon,UK
Distribution: Linux From Scratch, Slackware64,
Posts: 993

Rep: Reputation: 214Reputation: 214Reputation: 214
Yes its a HP, tried the hp-setup and it created the printer fine but again got the over printing but again I selected the 2200 driver instead of the the 2100 driver ( via cups ) and problem solved, so must be a problem with the driver, thanks anyway
 
Old 06-08-2011, 01:25 PM   #10
bl0tt0
Member
 
Registered: Aug 2005
Location: The Glorious People's Republic of Austin
Posts: 145

Rep: Reputation: 21
I'm writing to confirm that I had the same problem on stock 13.37 with an Officejet 6500. I managed to fix it by upgrading hplip, foomatic, and ghostscript to the latest releases.
 
Old 06-10-2011, 05:48 PM   #11
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 743

Rep: Reputation: 51
I have suffered from the same issue on my new epson printer (sx425). I believe the problem at least in my case was ghostscript. This was the only package I upgraded, and early indications are that the problem is solved. I have seen bug reports on ghostscript 9.00 to support this.
I used the source slackbuild (commenting out the diff) on version 9.02

Perhaps Slackware devs might like to consider this as an update?

tobyl
 
Old 06-28-2011, 12:32 PM   #12
MarcT
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
Same issue in 13.37 with HP DeskJet 843c

I recently upgraded from Slackware 13.0 64-bit to 13.37 64-bit (upgrading to 13.1 first).

Multi-page printing then broke on my HP DeskJet 843C printer. It was originally configured under Slack 13.0 with CUPS+GutenPrint and was working fine. Post upgrade, page 2 onwards of any document prints corrupted as described above.

I followed the earlier advice and deleted the printer in CUPS & re-created it by running hp-setup (as root) and it now uses the hpijs driver, and prints multi-page documents fine.

The strange thing is that I also just added an HP LaserJet 5N network printer from CUPS using CUPS+GutenPrint (hp-setup wouldn't detect it), and this prints multiple pages fine.

So, it looks like some printer/driver combinations cause multi-page documents to be printed corrupted (or perhaps it is ghostscript as per previous poster).

Anyway, just another data point to help track the problem down.

Thanks & Kind Regards,
Marc

Last edited by MarcT; 06-28-2011 at 12:34 PM. Reason: Fix typo
 
Old 06-28-2011, 12:56 PM   #13
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,118

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
Quote:
The strange thing is that I also just added an HP LaserJet 5N network printer from CUPS using CUPS+GutenPrint (hp-setup wouldn't detect it), and this prints multiple pages fine.
I've found that hp-setup won't detect network printers all that well unless you
  • Choose Show Advanced Options
  • Choose Manual Discovery
  • Enter the IP address of the printer or USB Bus ID (either will work)
You can also (usually) find a network printer if you
  • Choose Show Advance Option
  • Select Network Discovery Method SLP
It generally is a good idea, if you're having problems, to go get the latest HPLIP from the web site http://hplipopensource.com/hplip-web...slackware.html, use the SlackBuild from your Slackware installation media (it's in the source directory in ap/hplip), change the version number, build the package and upgradepkg from there.

Hope this helps some.
 
Old 06-28-2011, 01:11 PM   #14
bonixavier
Member
 
Registered: Sep 2010
Distribution: Slackware
Posts: 320

Rep: Reputation: 62
I also have an HP and had the same problem, as well as getting weird colors. What fixed it for me was to change the driver from hplip to hpjips (or something like that). Works flawlessly now.
 
Old 06-28-2011, 02:38 PM   #15
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
The original problem of overwriting the 2nd+ page is caused by ghostscript. Reverting to a previous version is a workaround.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS - Print jobs shows completed, but page doesn't print hikerguy Linux - Software 8 12-17-2008 02:55 AM
CUPS, option to print self-test page and clean print heads greyed out? BallsOfSteel Linux - Software 1 08-13-2008 04:22 PM
cups - deleting print jobs mikejd Linux - Software 11 05-15-2007 09:48 AM
cups aborts print jobs sneak Linux - Software 0 11-09-2004 05:45 PM
Keep a record of print jobs with cups exodist Linux - Software 3 11-02-2004 05:48 PM


All times are GMT -5. The time now is 11:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration