--nextPart23420662.VXWybJ2bbS Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Em Monday 22 October 2007 12:20:00 Kurt Pfeifle escreveu: > Thiago Macieira wrote: > > kprinter -- as a command-line tool that prints PostScript input and sho= ws > > a print dialog > > You don't seem to know kprinter too well. Yes, kprinter shows the print > dialog. But no, it isn't confined to PostScript input... > > > should be replaced with a full-fledged PostScript reader. > > ...and therefore, above recommonendation isn't quite spot on. > > kprinter can send *any* file to the print sub-system. If that is CUPS, > sending PDF, any image format (like GIF, TIFF, PNG, JPEG, PPM, PNM, Sun > Raster,...) is useful, because CUPS can auto-convert it to whatever the > target printer needs. Ok, rephrasing: it should be replaced with a full-fledged document viewer, like Okular. Can= 't=20 Okular read GIF, TIFF, PNG, etc. ? In any case, CUPS isn't the only backend we support. Therefore, we cannot r= ely=20 on CUPS features, like accepting those formats. We need an application that= =20 understands the file format and converts to the printing system's printing= =20 language (no, that does not mean PostScript -- the application may have to= =20 read PostScript and output something else). > > In any case, it's not a runtime issue: KDE applications shouldn't be > > calling kprinter, they should use the C++ classes. Are there any cases = of > > KDE applications using this? (These are, by definition, non-GUI > > applications and KDE isn't in the business of writing them!) > > There are cases were *non*-KDE apps, running inside a KDE environment, > use kprinter as the print dialog (Mozilla, Netscape, Firefox, Thunder- > bird, OpenOffice, StarOffice, Acrobat Reader....). That is not a KDE3-vs-KDE4 co-installability issue. You can still use KDE 3= 's=20 kprinter, since KDE 4 isn't overwriting it. =2D-=20 =A0 Thiago Macieira =A0- =A0thiago (AT) macieira.info - thiago (AT) kde.org =A0 =A0 PGP/GPG: 0x6EF45358; fingerprint: =A0 =A0 E067 918B B660 DBD1 105C =A0966C 33F5 F005 6EF4 5358 --nextPart23420662.VXWybJ2bbS Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHHIGEM/XwBW70U1gRAqNMAJwIglHPF/xL8S/kcImGgVp60wC8qACgjXxu zjdKkrQrWuQq6+foQOY9lrQ= =Znzb -----END PGP SIGNATURE----- --nextPart23420662.VXWybJ2bbS--