1) detectCupsService() finally works because QTCPSocket finally works.
Assumes Cups is on localhost:631 which is a compromise as Qt won't
even tell us if it is using Cups, let alone where Cups is.
2) Duplex printing obeys user selected option from dialog rather than
just guessing.
3) If custom page margins set then respect these
svn path=/trunk/KDE/kdegraphics/okular/; revision=895905
Cups Page and Job Options tabs, and pass these on to lpr.
CCBUG: 160381
This needs to be backported to 4.0 but I don't have a checkout.
svn path=/trunk/KDE/kdegraphics/okular/; revision=817393
When detecting which exe to use, check for these first.
CCBUG: 156639
This should be backported to 4.0, but I don't have a checkout of that.
svn path=/trunk/KDE/kdegraphics/okular/; revision=816881
* Add FilePrinter class to enable printing via postscript files
* DJVU, PDF, and PS backends print FilePrinter
* All backends enable printing of bookmarked pages
* Print and Print Preview actions enabled/disabled depending on backends
printing ability
Note that FilePrinter only works on *NIX platforms with Cups, lpr, or lp.
svn path=/trunk/KDE/kdegraphics/okular/; revision=741990