Ralph Shumaker wrote:
>..
> STOP THE PRESSES!!!
> 
> I think I may have just discovered the problem with the output of the
> "Generic PS" selection.  Isn't A4 different than US Letter?  It seems
> that the generic is set to A4.  Would that cause the printing of US
> Letter to run off ever-so-slightly and cause a form feed of a seemingly
> blank page?

a4 is a bit narrower and a bit longer, so if it were printing by issuing
linefeeds, I suppose that _might_ explain it, but I don't think so..

> 
> Contents of /usr/share/libgnomeprint/2.10.3/printers/GENERIC.xml
> # cat GENERIC.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <Printer Version="1.0" Id="GENERIC">
>   <Name>Generic Postscript</Name>
> [snip of unicode]
>   <Name xml:lang="es">PostScript genérico</Name>
> [snip of more unicode]
>   <Model>GNOME-GENERIC-PS</Model>
>   <Settings Id="SETTINGS-000989541673031997000001">
>     <Name>Default</Name>
>     <Key Id="Engine">
>       <Key Value="gnome" Id="Backend"/>
>     </Key>
>     <Key Id="Output">
>       <Key Id="Media">
>         <Key Value="A4" Id="PhysicalSize"/>
>       </Key>
>       <Key Value="360x360" Id="Resolution"/>
>     </Key>
>     <Key Id="Transport">
>       <Key Value="lpr" Id="Backend"/>
>     </Key>
>   </Settings>
> </Printer>
> 

..I don't think that's a mistake. That about what mine says too
(cups-1.2.2), but it gets overridden by my application settings in
gnumeric for paper size.

> (Yuck, what just happened to the formatting of the text in my email?!?)
> 
> Could this "A4" be the source of much of my headache?  But that is the
> file that wasn't missed by the program's print dialog.  The one that was
> missed by the dialog has its default setting as "US Letter".  (Man!  The
> fonts in this email have been cycling ever since I did that last paste.
>  This is rather disconcerting.)  Here's the file that was missed by the
> dialog:
> 
> # cat GNOME-GENERIC-PS.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <Model Version="1.0" Id="GNOME-GENERIC-PS">
>  <Name>PS Writer</Name>
>   <Vendor>GNOME</Vendor>
>   <ModelVersion>0.0.1</ModelVersion>
>   <Options>
>     <Option Id="Engine">
>       <Option Type="List" Id="Backend" Default="gnome">
>         <Item Id="gnome">
>           <Name>GNOME</Name>
>           <Key Value="gnome-print-ps" Id="Driver">
>             <Key Value="2.0" Id="LanguageLevel"/>
>           </Key>
>         </Item>
>       </Option>
>     </Option>
>     <Option Id="Output">
>       <Option Id="Media">
>         <Option Type="List" Id="PhysicalSize" Default="USLetter">
>           <Fill Ref="Globals.Media.PhysicalSize"/>
>         </Option>
> 
> 
>         <Option Type="List" Id="PhysicalOrientation" Default="R0">
>           <Fill Ref="Globals.Media.PhysicalOrientation"/>
>         </Option>
> 
> 
> 
> 
>         <Key Id="Margins">
>           <Key Value="0" Id="Left"/>
>           <Key Value="0" Id="Right"/>
>           <Key Value="0" Id="Top"/>
>           <Key Value="0" Id="Bottom"/>
>         </Key>
>       </Option>
>       <Option Id="Job">
>         <Option Type="String" Id="NumCopies" Default="1"/>
>         <Option Type="String" Id="NonCollatedCopiesHW" Default="true"/>
>         <Option Type="String" Id="CollatedCopiesHW" Default="false"/>
>         <Option Type="String" Id="Collate" Default="false"/>
>         <Option Type="String" Id="Duplex" Default="true"/>
>         <Option Type="String" Id="Tumble" Default="false"/>
>         <Option Type="String" Id="PrintToFile" Default="false"/>
>         <Option Type="String" Id="FileName" Default="output.ps"/>
>       </Option>
>     </Option>
>     <Option Id="Transport">
>       <Option Type="List" Id="Backend" Default="lpr">
>         <Item Id="file">
>           <Name>File</Name>
>           <Key Value="libgnomeprint-file.so" Id="Module"/>
>           <Option Type="String" Id="FileName" Default="output.ps"/>
>         </Item>
>         <Item Id="lpr">
>           <Name>lpr</Name>
>           <Key Value="libgnomeprint-lpr.so" Id="Module"/>
>           <Option Type="String" Id="Printer" Default=""/>
>         </Item>
>         <Item Id="custom">
>           <Name>Custom</Name>
>           <Key Value="libgnomeprint-custom.so" Id="Module"/>
>           <Option Type="String" Id="Command" Default="lpr"/>
>         </Item>
>       </Option>
>     </Option>
>     <Option Id="Icon">
>       <Option Type="String" Id="Filename"
> Default="gnome-mime-application-postscript"/>
>     </Option>
>   </Options>
> </Model>
> 
> This file lists several defaults including "US Letter".  But there's
> another default in there for "lpr".  Is that related to the lpd you
> mention below?  (I'm in over my head.)

It looks like lpr is gnumeric's internal interface equivalent to using
the lpr program, but instead of using /usr/bin/lpr, it makes calls
directly to a library module (libgnomeprint-custom.so).

The lpd I was mentioning before was the name of an older printer daemon,
and I was just checking that you hadn't somehow got two conflicting
daemons installed and running. That was not the case.

> 
> (Whew!  I just got rid of all the unicode.  That was really messing with
> the formatting of my non-formatted email.)

What, the farsi is actually kinda pretty, no?

>..

I'm afraid I still have no clue.

I wonder if there may be something to learn by trying to print from a
live cd, like knoppix? I presume one can do that, but I can't say from
experience.

..jim


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to