Page 1 of 1

Useless paper sizes

Posted: Wed Mar 08, 2017 5:19 pm
by alex666
Hello,
Adding custom paper sizes is a nice feature.
But how to remove useless "standard" default paper sizes?
(Tired to excavate in never-ending drop-down lists of exotic paper sizes...)
Exotic for me, ok, but who uses all supplied paper sizes ???
Thanks

Re: Useless paper sizes

Posted: Thu Mar 09, 2017 9:20 am
by broadstairs
It would be nice to know what you are using in terms of programs and desktop? There is an issue with KDE Plasma5 QT5 which does not handle printer paper sizes correctly, so any program which uses QT5 is messed up when selecting paper even when just using CUPS and not TurboPrint. Anything which does not use QT5 seems to work OK.

Stuart

Re: Useless paper sizes

Posted: Fri Mar 10, 2017 3:29 pm
by zedonet
Hello alex666,

this is possible but a bit complicated:

You can remove predefined page sizes by editing TurboPrint's printer description file /usr/share/turboprint/printers/<printername>.tpp and remove one or several sections starting with "Size", e.g. the following section

Code: Select all

[Size6]
Name=B5
WNumber=13
ANumber=17
Size=6929,9843
Margins=134,134,118,200
Param=0,0,0,0
After editing the .tpp file you must renumber the entries so that the numbers after "Size" are continuous again.

Finally, execute

sudo tpsetup --update

so that the pagesize entries are also removed from the PPD files of the Linux printing system.

Re: Useless paper sizes

Posted: Mon Aug 07, 2017 9:51 am
by alex666
OK, Im late...
But thanks!