Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 133647 - HP2000C support broken
HP2000C support broken
Product: Fedora
Classification: Fedora
Component: foomatic (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
: 136397 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2004-09-25 12:35 EDT by Kyrre Ness Sjøbæk
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version: 3.0.2-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-10-30 09:54:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
A picture of the page described (105.62 KB, image/jpeg)
2004-09-25 12:43 EDT, Kyrre Ness Sjøbæk
no flags Details
The ppd file of the broken install (17.57 KB, text/plain)
2004-09-29 13:41 EDT, Kyrre Ness Sjøbæk
no flags Details
the broken printers.conf (2.86 KB, text/plain)
2004-09-29 13:43 EDT, Kyrre Ness Sjøbæk
no flags Details
the broken cupsd.conf (21.70 KB, text/plain)
2004-09-29 13:43 EDT, Kyrre Ness Sjøbæk
no flags Details
The cupsd.conf which seem to work (21.70 KB, text/plain)
2004-09-29 14:37 EDT, Kyrre Ness Sjøbæk
no flags Details
the ppd which seem to work (9.92 KB, text/plain)
2004-09-29 14:37 EDT, Kyrre Ness Sjøbæk
no flags Details
the printers.conf which seem to work (298 bytes, text/plain)
2004-09-29 14:38 EDT, Kyrre Ness Sjøbæk
no flags Details
How a standard CUPS testpage should not look (265.81 KB, image/jpeg)
2004-09-30 10:34 EDT, Kyrre Ness Sjøbæk
no flags Details
no, still broken (267.29 KB, image/jpeg)
2004-10-04 13:11 EDT, Kyrre Ness Sjøbæk
no flags Details
the changed ppd file (17.57 KB, text/plain)
2004-10-04 13:15 EDT, Kyrre Ness Sjøbæk
no flags Details

  None (edit)
Description Kyrre Ness Sjøbæk 2004-09-25 12:35:25 EDT
Description of problem:
When printing to a hp2000C printer, all i get is totaly destroyed
output - images are distorted (look like B/W static), and text also.

Version-Release number of selected component (if applicable):
rpm -qa | grep cups:

How reproducible:
Every time
This bug was present in Fedora Core 2 as well, but Fedora Core 1, SuSE
9.1 personal, and Windows 2000 handles the printer nicely.

Steps to Reproduce:
1. Install the HP 2000C printer. Personally i just left it on during
first boot of machine after install
2. Try to print something. I used this page, from epiphany:
3. The printer spits out something unreadable
Actual results:
Completely distorted output

Expected results:
Nice and fast prints. It is a nice and fast inkjet - even if it uses a
lot of desktop space.

Additional info:
Connected to lp0
Comment 1 Kyrre Ness Sjøbæk 2004-09-25 12:43:19 EDT
Created attachment 104321 [details]
A picture of the page described
Comment 2 Kyrre Ness Sjøbæk 2004-09-29 13:38:45 EDT
Just testing with Knoppix on a laptop - adding it there using the cups
web interface posed no problems.

attaching current, broken config.
Comment 3 Kyrre Ness Sjøbæk 2004-09-29 13:41:05 EDT
Created attachment 104529 [details]
The ppd file of the broken install
Comment 4 Kyrre Ness Sjøbæk 2004-09-29 13:43:07 EDT
Created attachment 104530 [details]
the broken printers.conf
Comment 5 Kyrre Ness Sjøbæk 2004-09-29 13:43:51 EDT
Created attachment 104531 [details]
the broken cupsd.conf
Comment 6 Kyrre Ness Sjøbæk 2004-09-29 14:31:02 EDT

I got it to work - by configuring it trough cups'es web-interface. But
now it is only printing in B/W...

Maybe the bug is in some program *creating* the config?

What i did in the "localhost:631" interface was to hit "printers" ->
"HP2000C"."modify printer" -> "continue" (do not change the
name/comment) -> Device: Paralell port #1 -> Make: HP -> Model:
DeskJet Series Cups v.1.1 (en)

This then stands in the printers info place in "printers":

HP DeskJet Series CUPS v1.1  	
Use system-config-printer to edit this!
Printer State: idle, accepting jobs.
"CUPS v1.1.21rc2 is ready to print."
Device URI: parallel:/dev/lp0

Now printing a test page produces a B/W test page (which is much
better that garbage, but still not how it should be...)

I now go of doing the same as above, changing just one parameter, the
model to "HP New DeskJet series CUPS v.1.1 (en)"

and print a test page...
And there is colours!

Ill attach the new config files. If i have forgotten anything - just ask!
Comment 7 Kyrre Ness Sjøbæk 2004-09-29 14:37:07 EDT
Created attachment 104534 [details]
The cupsd.conf which seem to work
Comment 8 Kyrre Ness Sjøbæk 2004-09-29 14:37:45 EDT
Created attachment 104535 [details]
the ppd which seem to work
Comment 9 Kyrre Ness Sjøbæk 2004-09-29 14:38:15 EDT
Created attachment 104536 [details]
the printers.conf which seem to work
Comment 10 Kyrre Ness Sjøbæk 2004-09-30 10:19:10 EDT
Arg... A reeboot, and the problem is back again. (hmm... kudzu altered
anything? The printers name hasn't changed, but who knows...)

Well, i can now give a better description of how it is distorted. It
seems like the printout is "streched" horisontaly. That means that it
is  all to wide to fit onto the paper. I will attach a picture of what
is suposed to be the standard cups testpage.
Comment 11 Kyrre Ness Sjøbæk 2004-09-30 10:34:43 EDT
Created attachment 104587 [details]
How a standard CUPS testpage should not look
Comment 12 Tim Waugh 2004-10-04 10:22:20 EDT
Please try to create a queue for this printer using
system-config-printer (Red Hat menu->System Settings->Printing). 
Select 'HP' as the manufacturer and '2000C' as the model, if this is
not selected automatically.  Don't print a test page.

After you have added the queue, but before you exit
system-config-printer, click on the queue and select 'Edit'.  Go to
the 'Printer driver' tab and change the driver from hpijs to

Does printing work properly with that configuration?  (If not, please
don't change any further settings until I ask you to..)
Comment 13 Kyrre Ness Sjøbæk 2004-10-04 11:26:12 EDT
Great that someone is looking at it.

This is a transcript of what i did:
- ssh the box from a nearby fc2 box (X forwarding on) as root

- start system config printer (in gui mode)

- kill the malfunctioning que (HP2000C)

- Create a new que

- name: HpNew

- Device: local /dev/lp0 (it was automatically detected and configured

- Select printer manufacturer and model: Hp 2000 C

- Finish

- No, don't print a test page

- Edit HpNew

- Printerdriver: not hpijs, but gimp-print-ijs

- OK

- "use" - just to be shure

- Test -> Cups testpage (uppermost entry):
Error message: (freely translated from Norwegian) "a problem appeared
while sending "CUPS testpage" to que "HpNew"

lpr: unable to print file: server-error-service-unavailable"

- OK

- Close system-config-printer

-[root@testpc ~]# /etc/init.d/cups status
 cupsd kjører ikke (cupsd is not running)

-[root@testpc ~]# /etc/init.d/cups start
Starter cups:                                              [  OK  ]

-back into system-config printer

-Try to print a test page again

- no error messages, just the "does it look good" "yes" "no"

- printer starting

- Nice test page printed - albeit *very* slowly compared to what that
printer is up to.
Comment 14 Tim Waugh 2004-10-04 11:29:00 EDT
The 'server-error-service-unavailable' thing should be fixed in
1.1.21-5 -- it's an unrelated bug.

So the gimp-print-ijs driver works: great.  I'll update foomatic to
reflect the fact that gimp-print-ijs should be used in preference to
hpijs for this model.
Comment 15 Kyrre Ness Sjøbæk 2004-10-04 11:33:21 EDT
yeah, sure - it worked, but i have never seen that printer print so
sllllloooooowwwww before. It must have taken somethin like 1½-2
minutes to print that page...

Before we close this - maybe we should toy a little with the default
quality settings? And btw. it looks like the error with hpijs is that
it somhow thinks A4 is 2 m wide...
Comment 16 Tim Waugh 2004-10-04 11:35:55 EDT
Defaults other than 'which driver to use' affect all models that use
that driver.

The original PPD file did look weird though, like the page size was
0x0.  Can you try switching back to hpijs and see if it still gives
the same problem?  If so, please attach 'printconf-tui --Xexport'. 
Comment 17 Kyrre Ness Sjøbæk 2004-10-04 12:41:28 EDT
I can confirm that switching back to driver "hpijs" makes the printer
spit out what looks like the leftmost part of a 2 metres widw, normal
heigth (A4) cups test page.

By my crude meassurement, i would say that there in the borked output
is 94,5 mm from the rigthmost side of the left black border to the C
in the "C Unix printing system" logo at the bottom left - in the
not-so-borked output there is only about 12 mm. Verticaly, it is
perfectly alligned. The output is only streched horisontally.

Did i mention that the hpijs only used ½ minute to produce the
(borked) page? And that is before calibration of print quality etc.

Here is the output you asked for (with the hpijs driver):

[root@testpc ~]# printconf-tui --Xexport
<?xml version="1.0"?>
<adm_context VERSION="0">
  <id NAME="local" SERIAL="1096907398">
    <printconf TYPE="LIST">
      <print_queues TYPE="LIST">
        <HpNew ATOMIC="TRUE" TYPE="LIST">
          <alias_list ANONYMOUS="TRUE" TYPE="LIST">
          <queue_description TYPE="STRING" VALUE=""/>
          <queue_type TYPE="STRING" VALUE="LOCAL"/>
          <queue_data TYPE="LIST">
            <local_printer_device TYPE="STRING" VALUE="/dev/lp0"/>
          <filter_data TYPE="LIST">
            <print_header_page TYPE="BOOL" VALUE="FALSE"/>
            <flags TYPE="LIST">
              <rerender_Postscript TYPE="BOOL" VALUE="FALSE"/>
              <convert_text_to_Postscript TYPE="BOOL" VALUE="TRUE"/>
              <send_FF TYPE="BOOL" VALUE="FALSE"/>
              <assume_data_is_text TYPE="BOOL" VALUE="FALSE"/>
              <send_EOT TYPE="BOOL" VALUE="FALSE"/>
            <mf_type TYPE="STRING" VALUE="MFOMATIC"/>
            <filter_locale TYPE="STRING" VALUE="C"/>
            <printer_id TYPE="STRING" VALUE="HP-2000C"/>
            <gs_driver TYPE="STRING" VALUE="hpijs"/>
            <foomatic_defaults ANONYMOUS="TRUE" TYPE="LIST">
              <option_default TYPE="LIST">
                <name TYPE="STRING" VALUE="PageSize"/>
                <type TYPE="STRING" VALUE="enum"/>
                <default TYPE="STRING" VALUE="A4"/>
          <filter_type TYPE="STRING" VALUE="MAGICFILTER"/>
          <jobsheets TYPE="LIST">
            <start TYPE="STRING" VALUE="none"/>
            <end TYPE="STRING" VALUE="none"/>
          <margins TYPE="LIST">
            <top TYPE="INT" VALUE="36"/>
            <right TYPE="INT" VALUE="36"/>
            <bottom TYPE="INT" VALUE="36"/>
            <left TYPE="INT" VALUE="36"/>
          <lpoptions TYPE="LIST">
            <cpi TYPE="STRING" VALUE="12"/>
            <lpi TYPE="STRING" VALUE="7"/>
            <page-bottom TYPE="STRING" VALUE="86"/>
            <page-left TYPE="STRING" VALUE="57"/>
            <page-right TYPE="STRING" VALUE="57"/>
            <page-top TYPE="STRING" VALUE="72"/>
            <scaling TYPE="STRING" VALUE="100"/>
            <wrap TYPE="STRING" VALUE="true"/>
      <sharing_globals TYPE="LIST">
        <browsing TYPE="BOOL" VALUE="TRUE"/>
[root@testpc ~]#
Comment 18 Tim Waugh 2004-10-04 12:50:54 EDT
How about if you change /etc/cups/ppd/HpNew.ppd so that line 127 reads:

*FoomaticRIPOptionSetting PageSize=A4: " -dDEVICEWIDTHPOINTS=300 -dDEV&&

(i.e. change '595' to '300') and restart cups?
Comment 19 Kyrre Ness Sjøbæk 2004-10-04 13:11:33 EDT
Created attachment 104729 [details]
no, still broken

the page to the left is the new output. It seems *quite* broken.
Comment 20 Kyrre Ness Sjøbæk 2004-10-04 13:15:16 EDT
Created attachment 104730 [details]
the changed ppd file
Comment 21 Tim Waugh 2004-10-11 08:07:11 EDT
Tomorrow foomatic-3.0.2-2 will be available.  Please try that -- it
should default to the gimp-print driver now.
Comment 22 Kyrre Ness Sjøbæk 2004-10-11 14:40:17 EDT
Honestly - that isn't a solution. Yesterday i tried to use the print a
27 page pdf (7 mb) - a report i had written in LyX. With the Gimpprint

What happened? Well... the memory usage increased exponentially, and 
when all the swap was used up, it started killing processes. I
couldn't even log on to a VT to kill gs - i guess there wasn't enough
memory to start pam... => ended up killing the process by pulling the
plug of the computer. Yes i had little time, yes it was the
testmachine so i couldn't loose data. (don't ask me why it killed wnck
applet and not gs...)

The postcript generated by pdf2ps was almost 300 MB.

As soon as i get hold of the SuSE 9.1 personal cd again (it worked
there), i shall dd the fedora partitions over to my main disk, install
suse, get the ppd's etc, and well talk again.

Yes i shall test the new rpm. But this bug is not fixed by defaulting
to gimp-print which hangs the computer if you try to print something
heavyer than a pure text file. *reopening*

Kyrre, which feels really nasty right now.
Comment 23 Tim Waugh 2004-10-13 09:18:35 EDT
Comment #13 made me think that gimp-print gave correct output, just
slowly.  I had no idea it would cause such bad effects.

Reverting the change.
Comment 24 Tim Waugh 2004-10-13 09:21:23 EDT
foomatic-3.0.2-3 restores the status quo.
Comment 25 Kyrre Ness Sjøbæk 2004-10-13 10:11:38 EDT
ill get suse (where it worked) tomorrow, and grab the ppd from there.
Sure, i can get you ssh as well. Just BE WARNED: i am on an ISDN line.
i also dont expect to get it online before around 20:00 local time
(Oslo/Norway/Europe). You migth contact me by jabber:
kyrsjo@jabber.org or msn: kyrsjo@hotmail.com.
Comment 26 Tim Waugh 2004-10-13 10:41:06 EDT
Well I should think you can get it working to some extent using the
CUPS native driver like you did in comment #8 -- just do it from the
http://localhost:631 interface (and not system-config-printer at all).

But ideally we'd like to get hpijs working properly.
Comment 27 Kyrre Ness Sjøbæk 2004-10-13 13:41:40 EDT
Ill go plug my fc2 laptop (think it should be the same - fc2 had the
same damn problem) into the printer, add the printer trough the port
631 interface, and try to fix it.

Okay: Did it. *almost* worked:

Selected Hp New as the driver (you know what i mean) - and it
basically worked.

"imageable area" was a bit different: When using the driver from the
web-interface (it was set to A4 in both cases), which i assume is the
hpijs driver - i get these on the test page:
Imageable area:
Page size:



300x300 dpi

Gimp-print an fc3t2 gives:
Page size:


Upper rigth:


Gimp-prints definition fitts better on the paper - but both could very
well be streched 10 mm longer - if the printer can handle it. If not,
gimp-prints definition is better.

Hmm... Maybee this is really a system-config-printer bug? Shall i
attach the nonborked output from the created setup?

BTW the speed of the printer was "okay" now (not perfect). I shall try
to print the first page of the doc which effectively crashed the fc3t2
box under gimp-print.
Comment 28 Kyrre Ness Sjøbæk 2004-10-13 13:56:53 EDT
doh. Didn't fix it completely, it still runs gs a couple of minutes,
before churning wildly away on the disk (from ggv).

Acrobat on win32 was almost as bad - the output was in the most
horrible quality i ever saw. But it was fast...
Comment 29 Kyrre Ness Sjøbæk 2004-10-13 14:08:57 EDT
ahh. took 10-15 minutes of calcs - but its comming now - pretty fast
to.  Think the reason that it took so long is that it seems to bee a
horribly heavy document (took *a while* to render the pdf in lyx...
should i see any difference in terms of
"time-from-clicking-print-to-printer-starts" if i print the ps instead
of the pdf?)

But another thing: the pictures now seem very "badly" rasterized -
they (almost) look like the work of a modernistic painter playing he
is a half-tone printing press (you know what i mean).
Comment 30 Tim Waugh 2004-10-19 15:09:17 EDT
*** Bug 136397 has been marked as a duplicate of this bug. ***
Comment 31 Kyrre Ness Sjøbæk 2004-10-19 16:09:16 EDT
I was just suggesting that *maybe* this is really a
system-config-printer bug
Comment 32 Tim Waugh 2004-10-19 17:39:06 EDT
I understand -- but CUPS uses its own driver.  If neither gimp-print nor hpijs
support this printer properly they should either be fixed (which I hope to be
able to do) or have the 2000C removed from their list of supported models.
Comment 33 Kyrre Ness Sjøbæk 2004-10-20 10:21:33 EDT
I am perfectly able to print to the printer from cups - when i have
set it up through the web interface.

When i set it up through s-c-p, the prints are three times to wide for
the paper. Same is case when it is autodetected from kudzu.
Comment 34 Tim Waugh 2004-10-20 10:28:02 EDT
Yes, I know.

When you set up the printer using the CUPS web interface you are using CUPS' own
printer driver (hptoraster I think).

*This* bug report is that the www.linuxprinting.org recommended driver does
*not* work -- and either the recommended driver should be changed or
(preferably) the recommended driver should be fixed.
Comment 35 Matthew Miller 2006-07-10 16:29:54 EDT
Fedora Core 3 is now maintained by the Fedora Legacy project for security
updates only. If this problem is a security issue, please reopen and
reassign to the Fedora Legacy product. If it is not a security issue and
hasn't been resolved in the current FC5 updates or in the FC6 test
release, reopen and change the version to match.

Thank you!
Comment 36 John Thacker 2006-10-30 09:54:44 EST
Closing per lack of response to previous request for information.
Note that FC3 and FC4 are supported by Fedora Legacy for security
fixes only.  Please install a still supported version and retest.  If
it still occurs on FC5 or FC6, please reopen and assign to the correct
version.  Otherwise, if this a security issue, please change the
product to Fedora Legacy.  Thanks, and we are sorry that we did not
get to this bug earlier.

Note You need to log in before you can comment on or make changes to this bug.