Do we need cups for qt/embedded?
-
Hi all,
I have been developing an application in qt for embedded arm. I have a small doubt. Do we need cups for printing? Does QPrinter can print directly to printer? Though I have been cross-compiling cups, for my device.
Regards
Sathishkumar -
"QPrinter":http://doc.qt.nokia.com/latest/qprinter.html uses the printer drivers built-in your operating system. This is CUPS on X11/Mac. So, yes you should add CUPS to your system.
BTW: It's spelled CUPS (all capital letters) - cups are those small containers we drink our coffee of :-)
-
[quote author="Volker" date="1292936499"]cups are those small containers we drink our coffee of :-) [/quote]
Thanks Volker, it was really useful... :D Maybe we can start a wiki article on how to spell important definitions/abbreviations/names (it would be more elegant to write "Please read this wiki article" than write "Please remember it is Qt and not QT (Quicktime)")
[EDIT] sorry for my off-topic remark
-
[quote author="Volker" date="1292936499"]
BTW: It's spelled CUPS (all capital letters) - cups are those small containers we drink our coffee of :-) [/quote]
Even I wondered what cups the post was referring to. Thought you were referring to something like "this":http://posterous.com/getfile/files.posterous.com/troubalex/Qx9zSl7V8KcGomCP0Y116SNFl6rZX7bWDfEHlR2uOodzzWjUfOu48QcVDHBh/mug.jpg.scaled.1000.jpg
-
I have even seen photos of Qt Ducks (like that of Symbian Foundation).
-
Or come up with something that is not so fragile.
-
[quote author="Gerolf" date="1292943206"]for packaging? or for sending?
For packaging, we could also use a box made of wood, but it will get heavier and thus more expensive to send :-))[/quote]For sending. Like Forum Nokia used to send USB Pen Drives, Card readers, T-Shirts, note books, pen, key chains and other such things which can be sent easily without worrying about shipping them safely.
-
[quote author="Volker" date="1292936499"]"QPrinter":http://doc.qt.nokia.com/latest/qprinter.html uses the printer drivers built-in your operating system. This is CUPS on X11/Mac. So, yes you should add CUPS to your system.
BTW: It's spelled CUPS (all capital letters) - cups are those small containers we drink our coffee of :-) [/quote]
I think he is right, when you specify whether you need this while configure you dont do it in capital letters rather we do it like ./configure -no-cups
-
QPrinter [doc.qt.nokia.com] uses the printer drivers built-in your operating system.
-- is this implies, we no need CUPS at all, for printing a image with Qt. If this is case, I can just have the platform support packages, busybox, and Qt. Here, I have just about to complete my project with Qt and qwt. I have to print the graph in apps.
thanks
Sathishkumar -
Sathishkumar, QPrinter is not included into Symbian, WinCE, Simulator builds. There are tickets for it, but not sure about time when it will be fixed.
-
Thanks all. Good to know QPrinter uses lpr which can get via Busybox.