Incorrect paper size or type

Bug #508152 reported by dh003i
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
HPLIP
In Progress
Undecided
Unassigned

Bug Description

I just recently installed the HP-B8550 3.9.12 drivers. Now, when I try to print on 4x6 photo-paper from the photo-try of the B8550, it tells me "Incorrect paper size or type, press OK to cancel" on the printer's LCD screen. It feeds the paper into the printer then spits it back out without printing anything on it. If I try to print from the main tray with 4x6 paper loaded. I am not loading the paper incorrectly, it is loaded with the print-side face down. Note that I have test printed a nice 8.5x11 photo on matte "everyday" photo-paper.

Here's what I do from GIMP:

1. Image > Print Size > 4.000in width x 5.200 in height (my pictures are 4:3 format).
2. File > Page Setup > Paper Size > 6 x 4 Photo Paper. Orientation: Landscape.
3. File > Print...
4. General tab: HP_Photosmart_B8550 is selected.
5. Page Setup tab: One-sided, 1 page per side, print all sheets, paper type is photo paper, paper source is photo tray, scale is 100%.
6. Image Settings tab: Width is 5.000in, Height 5.200in, X resolution 750 dpi, Y resolution 750 dpi, left and right position are 0in, top and bottom position are 0.4in. Center is "both". Ignore Page Margins is unchecked.
7. Job tab: Priority is set to Medium.
8. Image Quality tab: Print Quality is set to Best.
9. Color tab: Output mode is set to Color.

What's going on here?

Revision history for this message
dh003i (dh003i) wrote :

Note that I also tried doing exactly the same thing with a print on a 13x19 inch sheet of paper. I got the same results. "Incorrect paper size or type, press OK to cancel".

Revision history for this message
dh003i (dh003i) wrote :

Also, when I connect my camera to the printer, I can print a 4x6 photo from it. I have a CIS ink system installed in the printer (so the cartridge chips from the HP OEM cartridges were moved to the CIS ink cartridges). However, I see no reason why that would be the problem, and doesn't seem to be as I can print 4x6 from the camera when connected via USB to the printer.

Revision history for this message
Naga Samrat Chowdary, Narla (samrat-hplip) wrote :

Please use the following command to print on custom media sizes.
lp -o media=Custom.WIDTHxLENGTH filename.

For more command line options please refer the following link:
http://www.cups.org/documentation.php/options.html

Hope this Helps,
Naga Samrat Chowdary.

Revision history for this message
dh003i (dh003i) wrote :

I followed your command, but it still will not print on 4x6 photo paper. I take the standard sized paper out of the main tray and replace it with 4x6 photo paper. I type in:

lp -o media=Custom.4x6in filename

It simply takes up the 4x6 paper, then spits it out and gives the same error message, "Incorrect paper size or type, press OK to cancel" on the printer's LCD screen.

Revision history for this message
web@linuxconfig.org (linuxconfig) wrote :

Hi Guys,

Same problem as described above also affects me. I'm using:
- HP Photosmart 3210 ALL-in-One
- Debian Lenny hplip 2.8.6.b-4 HP Linux Printing and Imaging System (HPLIP).

I can nicely choose photo tray but when I try to print a photo I get an error "Incorrect paper size or type, press OK to cancel". As one would expect this error occurs with any application from which I try to print. There may be some settings which I need to tune before I attempt to print photo from photo tray, however I'm not sure which one it is. This system is used by 101 linux users so is there any non-command line solution for this problem?

thank you
Lubos

Revision history for this message
dh003i (dh003i) wrote :

Thank you for your post confirming this issue, Lubos.

I noticed this after I upgraded drivers from the distro-drivers in Ubuntu 9.04. Naga, could you reference us a resource on how to completely uninstall the latest drivers, so that we can use the older version. I was using HPLIP ver. 3.9.2 and there wasn't anything lacking about it (the latest drivers that I have installed are 3.9.12).

Revision history for this message
dh003i (dh003i) wrote :

Any update on this bug? Has anyone done anything about it, or know what to do to fix it? I am having this same problem on in hplip ver 3.10.2.

Revision history for this message
dh003i (dh003i) wrote :

Also the same problem when printing with hplip ver 3.10.5.

Revision history for this message
dh003i (dh003i) wrote :

I just switched back to select my older HPLIP print drivers when printing -- it can print to photo paper using those drivers. However, it will not print full-bleed, as when I select "Off" for "Fit to page" in HP Device Manager, the setting doesn't stick.

The latest release notes say that problems with media sizes are correct. This is not true. The newer drivers (I think my oldest ones came when I upgraded to Ubuntu 9.10?) have obvious printing problems with the B8550.

Revision history for this message
dh003i (dh003i) wrote :

PS: The drivers with the fit-to-page problem are 3.9.12; I detailed the full problem here: https://bugs.launchpad.net/hplip/+bug/529293

Revision history for this message
dh003i (dh003i) wrote :

Really? Nothing has been done on this show-stopping bug that prevents users from printing until they randomly luck out and upgrade to a driver that happens to avoid this problem? Now I'm on the 3.11.1 drivers and I've again encountered the same problem. It is very disappointing that *nothing* has been done on this bug after a full year, that it's importance is "undecided" and that no one as been assigned to it. How many concerns are here more pressing than, "can't print photos"?

Changed in hplip:
status: New → In Progress
Revision history for this message
Sanjay Kumar (sanjay-kumar14) wrote :

Hi,

Can you add the printer as follows and check the issue again.

1) -> Save the file hp-photosmart_b8500_series_Latest.ppd somewhere in your PC.
     -> Run hp-setup in the terminal
     -> Select appropriate option (1st or 2nd option) on next screen and then press Next.
     -> Again press Next button.
     -> Now next screen will show PPD file: drv:///hp/hpcups.drv/hp-photosmart_b8500_series.ppd. change this location to the hp-photosmart_b8500_series_Latest.ppd (Saved from attachment).
     -> Then press add printer
     -> Do a Print job with failing test case.

If problem still exists then please do the following things.

2) Post the output of "hp-check -t" command.

3) Enable Cups Log as follows.

      a)Open /etc/cups/cupsd.conf in root mode and replace

        LogLevel warn

          with

       LogLevel debug
       hpLogLevel 15

    b) Restart cups using following command:
        /etc/init.d/cups restart (in root mode)

    c) Run the failing test case (Print Photo) and then send the /var/log/messages file.

Thanks,
Sanjay Kumar Sharma

Revision history for this message
dh003i (dh003i) wrote :

First, I apologize for the tone of my prior post.

I tried running hp-setup and selecting the PPD file you attached. I then printed to a 4x6 piece of photo-paper from the photo-tray using photo-options. I had the same incorrect paper type/size error from the printer.

But anyways, here is the output of "hp-check -t":
http://pastebin.com/Fge1k33r

After changing to "LogLevel debug" and "hpLogLevel 15", then trying to print a picture again, the "/var/log/messages" file is empty. I put this in my /etc/cups/cupsd.conf

LogLevel debug
hpLogLevel 15

PS: This is really bad printer design, in my opinion. It should just do what it is told. None of this checking paper type stuff. I imagine this is because of proprietary ink/paper checking? FAIL.

Revision history for this message
Sanjay Kumar (sanjay-kumar14) wrote :

Hi,

Thanks for posting the output of "hp-check -t". But to do the further analysis I need few more logs. Here are the steps to capture those logs.

      a)Open /etc/cups/cupsd.conf in root mode and replace

        LogLevel warn

          with

       LogLevel debug
       hpLogLevel 15

    b) Restart cups using following command:
        /etc/init.d/cups restart (in root mode)

    c) Run the failing test case (Print Photo) and then send the /var/log/syslog file and /var/log/cups/error_log

    d) Attach the image used for printing.

 Also please let us know the firmware version of your printer.

Thanks,
Sanjay Kumar Sharma

Revision history for this message
Sanjay Kumar (sanjay-kumar14) wrote :

Also could you upload the file "hpcups_jobXX.out" (with latest timestamp where XX is some number) present in /temp directory

Revision history for this message
dh003i (dh003i) wrote :

Thank you very much for your directions.

When I tried to restart cups, it told me:

$ sudo /etc/init.d/cups restart
[sudo] password for davidjheinrich:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service cups restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop cups ; start cups. The restart(8) utility is also available.
cups stop/waiting
cups start/running, process 3452

Thus, I did as it suggested:
$ sudo restart cups
cups start/running, process 3477

After trying to print (same error), here is my /var/log/syslog output: http://pastebin.com/YC1Cnfbd

And here is my /var/log/cups/error_log output: http://pastebin.com/TUXSMb3H

Revision history for this message
Sanjay Kumar (sanjay-kumar14) wrote :

Hi,

Thanks for posting the log files. After analyzing the logs I am able to locate the problem, but unfortunately I am not able to reproduce the
issue here; because of this, fixing of the issue has become little difficult. Could you do the following things to help me understand the scenario.

1) Install the latest release of HPLIP (version 3.11.5) from our website:
http://hplipopensource.com/hplip-web/gethplip.html

  Close all applications and then install HPLIP using hplip-3.11.5.run file.
  e.g sanjay@sanjay-PC:~$ ./hplip-3.11.5.run

2) Send me the image used for testing.

3) Answer following questions based on your test case. Please mention every step you did to reproduce the problem.

++++++++++++++++++++++++++++++++++++++++++++++++++++
Your test case with my questions:

Here's what I do from GIMP:
1. Image > Print Size > 4.000in width x 5.200 in height (my pictures are 4:3 format).

   [Question]:
   Did you change the value to above or is it shown by default based on the given image? Please send me the image used for testing.

2. File > Page Setup > Paper Size > 6 x 4 Photo Paper. Orientation: Landscape.

   [Question]:
    a) Did you select Format for: option? Which option was selected?
    b) As per step 2 Paper Size does not have "6 x 4 Photo Paper" option. Which option did you actually select? Did you create a custom paper or was it selected from the list.
       Please provide more details here.
    c) Did you create any custom paper size from cups url i.e (http://localhost:631/printers/Photosmart_B8500)?

3. File > Print...
4. General tab: HP_Photosmart_B8550 is selected.
5. Page Setup tab: One-sided, 1 page per side, print all sheets, paper type is photo paper, paper source is photo tray, scale is 100%.

   [Question]:
    a) What is the value of Paper size and orientation?

6. Image Settings tab: Width is 5.000in, Height 5.200in, X resolution 750 dpi, Y resolution 750 dpi, left and right position are 0in, top and bottom position are 0.4in. Center is "both". Ignore Page Margins is unchecked.

   [Question]:
    a) When I take a jpeg image of 4.0x5.2in dimension,neither I see above values (i.e Width is 5.000in, Height 5.200in, X resolution 750 dpi, Y resolution 750 dpi). nor can I change the values to 5.000in and 5.200. Please let me know how did you do this?
    b) Resolution units mentioned in GIMP are in pixels/inch, pixels/cm etc? which one was selected when you checked the values?

7. Job tab: Priority is set to Medium.
8. Image Quality tab: Print Quality is set to Best.
9. Color tab: Output mode is set to Color.

   [Question]:
   a)Did you press print button after doing step 1 to step 9? or Did you print using lp command?
   b)Can you try to print the same file from hp-toolbox also with similar settings?
   c)Please let me know the Linux distro version.

++++++++++++++++++++++++++++++++++++++++++++++++++++

Thanks,
Sanjay

Revision history for this message
dh003i (dh003i) wrote : Re: [Bug 508152] Re: Incorrect paper size or type
Download full text (5.1 KiB)

Hello,

I am still having this problem with HPLIP v 3.11.12. I had 3.11.7, which
was working for printing 4x6 sizes, but wouldn't print on 13x19 paper, so I
upgraded to 3.11.12. Same problem. How can I fix this? Can we turn off the
paper size/type sensor on the HP B8550? It is useless.

Best,
David

On Wed, May 18, 2011 at 4:13 AM, Sanjay Kumar <email address hidden>wrote:

> Hi,
>
> Thanks for posting the log files. After analyzing the logs I am able to
> locate the problem, but unfortunately I am not able to reproduce the
> issue here; because of this, fixing of the issue has become little
> difficult. Could you do the following things to help me understand the
> scenario.
>
> 1) Install the latest release of HPLIP (version 3.11.5) from our website:
> http://hplipopensource.com/hplip-web/gethplip.html
>
> Close all applications and then install HPLIP using hplip-3.11.5.run file.
> e.g sanjay@sanjay-PC:~$ ./hplip-3.11.5.run
>
> 2) Send me the image used for testing.
>
> 3) Answer following questions based on your test case. Please mention
> every step you did to reproduce the problem.
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++
> Your test case with my questions:
>
> Here's what I do from GIMP:
> 1. Image > Print Size > 4.000in width x 5.200 in height (my pictures are
> 4:3 format).
>
> [Question]:
> Did you change the value to above or is it shown by default based on the
> given image? Please send me the image used for testing.
>
> 2. File > Page Setup > Paper Size > 6 x 4 Photo Paper. Orientation:
> Landscape.
>
> [Question]:
> a) Did you select Format for: option? Which option was selected?
> b) As per step 2 Paper Size does not have "6 x 4 Photo Paper" option.
> Which option did you actually select? Did you create a custom paper or was
> it selected from the list.
> Please provide more details here.
> c) Did you create any custom paper size from cups url i.e (
> http://localhost:631/printers/Photosmart_B8500)?
>
> 3. File > Print...
> 4. General tab: HP_Photosmart_B8550 is selected.
> 5. Page Setup tab: One-sided, 1 page per side, print all sheets, paper
> type is photo paper, paper source is photo tray, scale is 100%.
>
> [Question]:
> a) What is the value of Paper size and orientation?
>
> 6. Image Settings tab: Width is 5.000in, Height 5.200in, X resolution
> 750 dpi, Y resolution 750 dpi, left and right position are 0in, top and
> bottom position are 0.4in. Center is "both". Ignore Page Margins is
> unchecked.
>
> [Question]:
> a) When I take a jpeg image of 4.0x5.2in dimension,neither I see above
> values (i.e Width is 5.000in, Height 5.200in, X resolution 750 dpi, Y
> resolution 750 dpi). nor can I change the values to 5.000in and 5.200.
> Please let me know how did you do this?
> b) Resolution units mentioned in GIMP are in pixels/inch, pixels/cm
> etc? which one was selected when you checked the values?
>
>
> 7. Job tab: Priority is set to Medium.
> 8. Image Quality tab: Print Quality is set to Best.
> 9. Color tab: Output mode is set to Color.
>
> [Question]:
> a)Did you press print button after doing step 1 to step 9? or Did you
> print using lp command?
> b)Ca...

Read more...

Revision history for this message
Twisted Lucidity (lucidlytwisted) wrote :

This is still a problem in 3.13.11 - workaround seems to be to force the paper to "plain" in the printer dialog.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.