Bug 699435

Summary: Wrong page setup for most HP printers
Product: [Fedora] Fedora Reporter: Zoltan Hoppar <hopparz>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jpopelka, rtguille, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-16 08:47:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
4x6 in photo paper testpage twice - printing stops at the end
none
Setup is made to A4 DIN (210x297) - but the result is is on test page :( none

Description Zoltan Hoppar 2011-04-25 16:03:31 UTC
Created attachment 494700 [details]
4x6 in photo paper testpage twice - printing stops at the end

Description of problem:
I have 4 different HP printers, where I have tested the current HPIJS and HPCUPS - I wanted to print out my photos and few other docs. 

Version-Release number of selected component (if applicable):
Current release

How reproducible:
Always

Steps to Reproduce:
1. Just connect an HP printer
2. Driver installation pops up
3. Try to print an default page on plain paper and an another on 4x6 in photo paper
  
Actual results:
I ahve included the test page results, and you could see the wrong page positioning and papersize. No any setup change will effect on printing results. The main problem, this makes unusable the printing ability.

Expected results:
Correct print output

Additional info:
I have tried out many possibilities, but I'm just ready to make test runs if could find out what and why happening.

Comment 1 Zoltan Hoppar 2011-04-25 16:06:24 UTC
Created attachment 494701 [details]
Setup is made to A4 DIN (210x297) - but the result is is on test page :(

Comment 2 Jiri Popelka 2011-04-26 11:06:10 UTC
Please update to 3.11.3a from testing repository with:
# su -c 'yum update --enablerepo=updates-testing hplip'

Then delete and create again the printer queue(s).
Is there any change in output ?

Also attach (after you recreate the queue) the *.ppd file(s) from /etc/cups/ppd for the printer queue.

Comment 3 Reartes Guillermo 2011-04-26 21:26:40 UTC
@Zoltan Hoppar

> 3. Try to print an default page on plain paper and an another on 4x6 in photo
> paper

For me, the hp-setup program dictates that i must print in letter... there is no option
to set another default paper. I use A4 paper, so basically i cannot print anything that uses the full A4 paper size. Changing options in the applications usually does not work, i am investigating these issues.

My default print page says:
Page size: 8.0 x 10.6 in / 203.2 x 269.2 mm
!wow, i now must check wikipedia it that size is letter... 
was it a test page.... why not use it to print these usefull debug info?

is that correct?
A4	8.27 × 11.69	210 × 297	
Letter	8.5 × 11	216 × 279

I started to use this printer here recently, i may open another bugreport in the future, since i am on F15 beta with a hp laserjet 1020, once i finish investigating a couple of things more.

Comment 4 Tim Waugh 2011-04-27 10:33:17 UTC
In what way does the hp-setup program dictate that you use letter size?

Note that when a printer is set up, it is the CUPS scheduler (cupsd) that sets its PageSize option appropriately according to the system locale.  The system locale is set in /etc/sysconfig/i18n, so if that is not showing the correct setting for you, the problem is that the system locale is not set correctly.

Comment 5 Zoltan Hoppar 2011-05-14 05:54:35 UTC
Usually I just added the printers, and the problem existed till I have added the HP configuration GUI (Device Manager), and now the problem is partially solved - but still can't print correctly and photopapers are wasted. But good to know that the default setting in basically is wrong, and the automatic rotation for photos also this is reason. 

I think the problem is in relation of the automatic process when you plug the new printer - I feel that it misses out in dependency, and the locale stays as is. 
BTW just have checked the file that you pointed to me and surprisingly contains the following:

LANG="en_US.UTF-8"
SYSFONT="latarcyrheb-sun16"

So, is it possible that parameter for locale has been left out somehow? How can I check the complete locale status? Because, as I know the plain locale command in terminal results this:

LANG=hu_HU.utf8
LC_CTYPE="hu_HU.utf8"
LC_NUMERIC="hu_HU.utf8"
LC_TIME="hu_HU.utf8"
LC_COLLATE="hu_HU.utf8"
LC_MONETARY="hu_HU.utf8"
LC_MESSAGES="hu_HU.utf8"
LC_PAPER="hu_HU.utf8"
LC_NAME="hu_HU.utf8"
LC_ADDRESS="hu_HU.utf8"
LC_TELEPHONE="hu_HU.utf8"
LC_MEASUREMENT="hu_HU.utf8"
LC_IDENTIFICATION="hu_HU.utf8"
LC_ALL=
[zoltanh721@localhost ~]$ 

Where I see here is everything set to correctly. Strange. What can I do for you to kill this bug?

Comment 6 Tim Waugh 2011-05-16 08:47:15 UTC
You need to fix your system locale by using the system-config-language utility.