hpcups.drv PPDs need *RequiresPageRegion attribute

Bug #419165 reported by Tim Waugh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Fix Released
Undecided
Unassigned
hplip (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

To ensure the PCL page size command is sent we need to set RequiresPageRegion in generated PPDs. For explanation see:
  https://bugzilla.redhat.com/show_bug.cgi?id=518756#c8

Revision history for this message
Tim Waugh (twaugh) wrote :
Revision history for this message
Tim Waugh (twaugh) wrote :
Revision history for this message
David Suffield (david-suffield) wrote :

The attribute "*RequiresPageRegion All: True" should be generated by CUPSDDK (ie: ppdc).

I'm using cups-1.4-0.b2.18.fc11.x86_64 to create static hpcups PPDs and the attribute "*RequiresPageRegion All: True" is generated correctly.

This attribute is also generated dynamically with cupsddk 1.2.3.

Revision history for this message
Tim Waugh (twaugh) wrote :

CUPS 1.4.1 does not give this output. The code that emitted it has been explicitly removed in subversion revision 8603 while fixing STR #3152:

@@ -931,9 +932,6 @@ ppdcDriver::write_ppd_file(
       cupsFilePrintf(fp, "*ParamCustomPageSize Orientation: 5 int 0 0%s", lf);
   }

- if (type != PPDC_DRIVER_PS && !find_attr("RequiresPageRegion", NULL))
- cupsFilePrintf(fp, "*RequiresPageRegion All: True%s", lf);
-
   // All other options...
   for (g = (ppdcGroup *)groups->first(); g; g = (ppdcGroup *)groups->next())
   {

Revision history for this message
David Suffield (david-suffield) wrote :

Interesting :) I can blame STR #3152 on Smith Kennedy (my counterpart)...

Ok, I will add this attribute to my drv.

Changed in hplip (Ubuntu):
status: New → In Progress
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have checked the current version (3.11.1) and the .drv file contains the 'Attribute "RequiresPageRegion" "All" "True"' and the generated PPD files contain '*RequiresPageRegion All: True' so the bug seems to be fixed upstream (and in Natty).

Changed in hplip (Ubuntu):
status: In Progress → Fix Released
Changed in hplip:
status: New → Fix Released
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.