This makes automagically work the printing on printers with
hard-margins since the QPrinter dialog margins are initialized to the printer
hard-margins. If you still want the old and mostly unuseful
behaviour of not having any margin (and thus your printer not printing things on the borders) you
can always set the margins to 0 in the dialog
BUGS: 319476
FIXED-IN: 4.12.0
API and make it call the new API.
CCMAIL: kde-bindings@kde.org
CCMAIL: aacid@kde.org
CCBUG: 194586
svn path=/trunk/KDE/kdegraphics/okular/; revision=1134631
into pdf format and save that. Only enabled in PDF, DVI, and DJVU generators
if ps2pdf is found in the path. Ghostscript is almost always guaranteed to
be installed given many parts of the printing stack depends on it.
Note that resulting PDF or PS file will have the page size as set in the print
dialog and not the page size of the original document, i.e. if an A5 booklet
is printed but the dialog page size is set to A4 then the resulting file will
be A4 and not A5.
svn path=/trunk/KDE/kdegraphics/okular/; revision=897000
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