[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: unanswered printing questions (was: E-Mail's policy)
From: Kevin Krammer <kevin.krammer () gmx ! at>
Date: 2006-04-26 10:42:37
Message-ID: 200604261242.44626.kevin.krammer () gmx ! at
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Wednesday 26 April 2006 10:31, Dr. Edgar Alwers wrote:
> On Tuesday 25 April 2006 22:28, Kevin Krammer wrote:
> > - regarding the CUPS printing: in case you are using the KPrinter API it
> > should list the remote printers assuming that the CUPS setup is correct.
> > Do the remote printers show up in the local CUPS server's web interface?
>
> No problems at all with CUPS. I am printing local and remote since I
> installed my system ( Linux from the scratch, Version 6.0 ). All printers
> show up in the Web interface. I am not "the expert" developing with
> KDevelop, but I would mean, that there could be a problem in the
> interaction of qt and KDE: I can print withouth problems if I include
> <kprinter.h> in my program, but no way including <qprinter.h>. Not even the
> examples delivered by Trolltech do print. Of course, I dont _need_ to use
> qt-printer, but I think, the issue could be worth to be followed.
Hmm, Qt might not be able to talk to CUPS directly, its Unix printing system
is not as advanced as KDE's
> > - regarding the line spacing: since drawing is done through the QPainter
> > API, it might be something you can do there, e.g. use the rectancle
> > output parameter of drawText to determine the actual bounding rect. Maybe
> > something in QFont can be set to achieve the line spacing.
>
> "painter.drawText" asks for an integer parameter yPos. Printing 6 lines per
> inch would need an increment of y between 13 to 14. So it seems to me,
> that the task cannot be solved as easy as it should, considering the
> importance of printing templates with 6 respective 8 lines/inch. Up to now,
> I do not have a solution.
What if you scale the painter?
> > Especially if you are using the KDE printing API you might reach
> > respective experts more easily on the kde-print mailinglist.
>
> This list deals basically with aplication problems, CUPS and so on. I have
> a "development" problem. But I will try it.
I think there is a kde-print development list as well, although it is more
about KDEPrint development.
Cheers,
Kevin
--
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
[Attachment #5 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic