[lsb-discuss] Re: printing-test info

Till Kamppeter till.kamppeter at gmail.com
Wed Dec 12 09:46:06 PST 2007


Till Kamppeter wrote:
> Jeff Licquia wrote:
>> Here's the SuSE 10 info.  First:
>>
>> jeff at xenpc-suse10:~> echo $HOSTNAME
>> xenpc-suse10
> 
> The standardized thing is the command "hostname" here. Therefore I use 
> the "hostname" command in the tests (called once in the beginning).
> 
>> jeff at xenpc-suse10:~> echo $USER
>> jeff
>> jeff at xenpc-suse10:~> rpm -qf /usr/bin/foomatic-rip
>> foomatic-filters-3.0.2-20.5
>>
> 
> Can you please send me the actual /usr/bin/foomatic-rip (or 
> /usr/lib/cups/filter/foomatic-rip) file, so that I do not need to search 
> in SUSE repos.
> 
>> Journals for the failures:
>>
>> 400|4 9 1 18:59:44|IC Start
>> 200|4 9 18:59:44|TP Start
>> 520|4 9 4478 1 1|Reference FIXME.FIXME-FIXME
>> 520|4 9 4478 1 2|Special entities get substituted by job parameters
>> 520|4 9 4478 1 3|Executing /usr/bin/foomatic-rip --ppd 
>> /opt/lsb/test/printing/tet_tmp_dir/03772aa/testfoomaticrip/foomatic-test.ppd 
>> -o 
>> FilterPath=/opt/lsb/test/printing/tet_tmp_dir/03772aa/testfoomaticrip/ 
>> /opt/lsb/test/printing/tet_tmp_dir/03772aa/testfoomaticrip/foomatic-test-input-ps.ps 
>>
>> 520|4 9 4478 1 4|Checking: Job parameters
>> 520|4 9 4478 1 5|Output written to stdout did not contain 
>> "foomatic-test-renderer[^\n\r]*\x20--FoomaticOptionE\x20--user=root\x20--host=xenpc-suse10\x20--title=root\@xenpc-suse10\x20--copies=1\x20--options=\(FilterPath=[^\n\r]*\x20\)\x20--date=\d\d\/\d\d\/\d+\x20--time=\d\d\:\d\d\:\d\d\x20--special=\&\<\>\"" 
>>
>> 220|4 9 1 18:59:44|FAIL
>> 410|4 9 1 18:59:44|IC End
>>
> 
> [...]
> 
>> 520|4 13 4478 1 15|Job parameters
>> 520|4 13 4478 1 16|Sending print job with option settings ""
>> 520|4 13 4478 1 17|Output written to stdout did not contain 
>> "foomatic-test-renderer[^\n\r]*\x20--FoomaticOptionE\x20--user=root\x20--host=xenpc-suse10\x20--title=TEST\x20--copies=1\x20--options=\([^\n\r]*\)\x20--date=\d\d\/\d\d\/\d+\x20--time=\d\d\:\d\d\:\d\d\x20--special=\&\<\>\"" 
>>
> 
> Looks like SUSE is really shipping a stone-old foomatic-rip which still 
> does not have the job parameter support from Ricoh. Must be more than 2 
> years old. Users of this distro can run into difficulties when using 
> Ricoh (and OEM partners) printers. It is highly recommended to SUSE to 
> ship a foomatic-filters update for this distro.
> 
>>
>> So it looks like both tests are indeed failing for the same reason.  I 
>> did run foomatic-rip as indicated on the command line for test 9, and 
>> the last few lines of that output does seem to indicate what's going on:
>>
>> %%EOF
>> % /opt/lsb/test/printing/testfoomaticrip/foomatic-test-renderer 
>> --option1=choice1 --FoomaticOption7 --option9=choiceC 
>> --optionA=choiceF --optionC=choiceB --optionD=choiceE 
>> --FoomaticOptionE --user=&user; --host=&host; --title=&title; 
>> --copies=&copies; --options=(&options;) --date=&month;/&date;/&year; 
>> --time=&hour;:&min;:&sec; --special=&<>"
>> %-12345X at PJL RESET
>>
> 
> Here one sees clearly the missing job parameter support in SUSE.
> 

Two years was really a good estimation. Here is the ChangeLog entry of 
the foomatic-filters package which documents the addition of the job 
parameter support:

----------------------------------------------------------------------------
2005-07-29  Till Kamppeter

         * foomatic-rip.in: Added substitution of special XML entities by
           job data, as date, time, job ID, user name, ... (in function
           "unhtmlify()"). This was suggested by George Liu from Ricoh
           (george dot liu at ussj dot ricoh dot com), to support jobs
           with submission of login/password to the printer.
----------------------------------------------------------------------------

    Till



More information about the lsb-discuss mailing list