The plot gets more silly.
If I run enscript directly from the command line (without a -M Letter), it defaults to the right size.
If I print directly through cups (by using lpr for instance), it works fine.
I don't have a papersize file anywhere
I have executed "echo letter >/etc/papersize", but that doesn't make a difference.
It's something in kprinter that is causing the system to purposely select A4.
David
On Tue, Nov 18, 2008 at 5:29 PM, Stephen Dowdy <sdowdy@xxxxxxxx> wrote:
David Dudley wrote, On 11/18/2008 03:26 PM:
> I went so far as to delete all references to the A4 page size in my ppdDavid,
> file.
>
> This is a Dell 5110ca color laser printer (really nice under Windoze).
> As long as I don't use kprinter itself to do the printing (which
> defaults to go through encrypt), things work fine. Encrypt seems to be
> stuck on A4 as a default, even though I have it set to default to Letter
> in the encrypt.cfg file.
I've got a Dell 5100cn at home and use the Dell provided PPD w/o trouble.
~$ ldd /usr/bin/enscript | grep paper
libpaper.so.1 => /usr/lib/libpaper.so.1 (0x4289b000)
Enscript uses libpaper, so:
Please check your /etc/papersize file and ensure it's got "letter"
in it. Otherwise try setting the environment variable
PAPERSIZE=letter
in your shell startup scripts.
Also, for CUPS, check 'lpoptions':
~/.cups/lpoptions
/etc/cups/lpoptions
and use the 'lpoptions' command to view/set your default options:
e.g. (at work w/ LaserJet 4100):
~$ lpoptions
job-sheets=none,none printer-info='HP LaserJet 4100' printer-is-accepting-jobs=1 printer-is-shared=1 printer-make-and-model='HP LaserJet 4100 Foomatic/Postscript (recommended)' printer-state=3 printer-state-reasons=none printer-type=12308 PageRegion=Letter media=Letter page-top=36 page-bottom=36 page-left=36 page-right=36 cpi=12 lpi=7 wrap=true scaling=100 _kde-filters=true number-up=2
--stephen
--
Stephen Dowdy - Systems Administrator - NCAR/RAL
303.497.2869 - sdowdy@xxxxxxxx - http://www.ral.ucar.edu/~sdowdy/
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.