Bug 152949 - the first page of the printing contents is filtered out when locale filter is configured as zh_CN
the first page of the printing contents is filtered out when locale filter is...
Status: CLOSED CANTFIX
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: cups (Show other bugs)
3.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-31 04:06 EST by dhe
Modified: 2014-10-19 19:08 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-12-13 10:12:55 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
files in /etc/cups uploaded (50.17 KB, application/x-tar)
2005-03-31 07:12 EST, dhe
no flags Details
sample file in Simplified Chinese for printing (898 bytes, text/plain)
2005-03-31 07:14 EST, dhe
no flags Details

  None (edit)
Description dhe 2005-03-31 04:06:51 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.4.3) Gecko/20040924

Description of problem:
RHEL 3 U4, kernel 2.4.21-27.EL   cups-1.1.17-13.3.27

printer configuration:   
queue type:  networked jetdirector
printer driver:  postscript
effective locale filter: zh_CN

When printing a Simplified Chinese text file, the first page of the content will be missed. 
When printing a English test file, this problem did not happen.
This bug also applies to Traditional Chinese file printing when LANG and effective locale 
are configured to zh_TW.
 




Version-Release number of selected component (if applicable):
cups-1.1.17-13.3.27 

How reproducible:
Always

Steps to Reproduce:
1.lp -o landscape file-to-be-printed
2.
3.
  

Additional info:
Comment 1 Tim Waugh 2005-03-31 04:13:14 EST
Please supply the output of 'printconf-tui --Xexport', and a sample file that
exhibits the problem.  Thanks.
Comment 2 dhe 2005-03-31 07:12:41 EST
Created attachment 112507 [details]
files in /etc/cups  uploaded
Comment 3 dhe 2005-03-31 07:14:18 EST
Created attachment 112508 [details]
sample file in Simplified Chinese for printing

when log into the X-window, select the Simplified Chinese as the default
Language.
Comment 4 dhe 2005-03-31 07:19:21 EST
lp test.txt              // content is printed correctly.
lp -o langscape test.txt  // first page of the content is missed.

printconf-tui --Xexport
<?xml version="1.0"?>
<adm_context VERSION="0">
  <id NAME="local" SERIAL="1112234208">
    <null/>
    <null/>
    </id>
  <datatree>
    <printconf TYPE="LIST">
      <print_queues TYPE="LIST">
        <droid ATOMIC="TRUE" TYPE="LIST">
          <alias_list ANONYMOUS="TRUE" TYPE="LIST">
            </alias_list>
          <queue_description TYPE="STRING" VALUE=""/>
          <queue_type TYPE="STRING" VALUE="JETDIRECT"/>
          <queue_data TYPE="LIST">
            <jetdirect_ip TYPE="STRING" VALUE="droid"/>
            <jetdirect_port TYPE="STRING" VALUE="9100"/>
            </queue_data>
          <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"/>
              </flags>
            <mf_type TYPE="STRING" VALUE="MFOMATIC"/>
            <filter_locale TYPE="STRING" VALUE="zh_CN"/>
            <printer_id TYPE="STRING" VALUE="Generic-PostScript_Printer"/>
            <gs_driver TYPE="STRING" VALUE="Postscript"/>
            <foomatic_defaults ANONYMOUS="TRUE" TYPE="LIST">
              <option_default TYPE="LIST">
                <name TYPE="STRING" VALUE="PreFilter"/>
                <type TYPE="STRING" VALUE="enum"/>
                <default TYPE="STRING" VALUE="Level1"/>
                </option_default>
              <option_default TYPE="LIST">
                <name TYPE="STRING" VALUE="PageSize"/>
                <type TYPE="STRING" VALUE="enum"/>
                <default TYPE="STRING" VALUE="A4"/>
                </option_default>
              </foomatic_defaults>
            </filter_data>
          <filter_type TYPE="STRING" VALUE="MAGICFILTER"/>
          <jobsheets TYPE="LIST">
            <start TYPE="STRING" VALUE="none"/>
            <end TYPE="STRING" VALUE="none"/>
            </jobsheets>
          <margins TYPE="LIST">
            <top TYPE="INT" VALUE="36"/>
            <right TYPE="INT" VALUE="36"/>
            <bottom TYPE="INT" VALUE="36"/>
            <left TYPE="INT" VALUE="36"/>
            </margins>
          <lpoptions TYPE="LIST">
            <cpi TYPE="STRING" VALUE="12"/>
            <lpi TYPE="STRING" VALUE="7"/>
            <page-bottom TYPE="STRING" VALUE="36"/>
            <page-left TYPE="STRING" VALUE="36"/>
            <page-right TYPE="STRING" VALUE="36"/>
            <page-top TYPE="STRING" VALUE="36"/>
            <scaling TYPE="STRING" VALUE="100"/>
            <wrap TYPE="STRING" VALUE="true"/>
            </lpoptions>
          </droid>
        </print_queues>
      </printconf>
    </datatree>
  </adm_context>
 

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