Web lists-archives.com

Re: set default print options on printer




On Fri 09 Mar 2018 at 23:19:28 (-0500), Gary Dale wrote:
> On 2018-03-09 07:13 AM, Brian wrote:
> >On Fri 09 Mar 2018 at 00:04:33 -0500, Gary Dale wrote:
> >
> >>On 2018-03-08 09:50 AM, Brian wrote:
> >>>The default size can be overridden by CUPS in a number of ways, usually
> >>>with the help of lpoptions. This new size is also "correct".
> >>It is correct because that is what is in the paper tray. There is no default
> >>paper size setting for this printer through the CUPS web interface. I know
> >>that is unusual but it is the way that printer's CUPS driver seems to work.
> >Scroll down the page to reveal the Page Size option.
> You're right. It is set to letter.
> 
> >>>Do you have an lpoptions file in /etc/cups or $HOME/.cups?
> >>>
> >>There is no lpoptions file in /etc/cups and the one in $HOME/.cups is empty.
> >It is okular without KDE here and it honours lpoptions. Try
> >lpoptions -p Samsung_C410_Series -o PageSize=Letter
> >
> Does that require a restart because it doesn't seem to fix the
> problem. After I entered the command, $HOME/.cups/lpoptions contains
> "Dest Samsung_C410_Series PageSize=Letter" but Okular still wants to
> use A4.

I just typed  okular paper size  into google and the first hit was
https://forums.linuxmint.com/viewtopic.php?t=188878
Is this any help, ie attack okular rather than CUPS?

Cheers,
David.