Hi, can anybody tell me where I could get a tutorial about programming with printer & touchscreen in Linux? If it's in windows, I can use the methods in windows.h, but what about Linux?
Hi, can anybody tell me where I could get a tutorial about programming with printer & touchscreen in Linux? If it's in windows, I can use the methods in windows.h, but what about Linux?
I'm speculating here but I think you can open it as a file and specify the name of the port onto which the printer is attached as the filename like "LPT1" or something like this. I may be very far though.
don't know about printers, but touchscreen drivers generally appear as a simple mouse.Originally Posted by g4j31a5
"I saw a sign that said 'Drink Canada Dry', so I started"
-- Brendan Behan
Free Compiler: Visual C++ 2005 Express
If you program in C++, you need Boost. You should also know how to use the Standard Library (STL). Want to make games? After reading this, I don't like WxWidgets anymore. Want to add some scripting to your App?
Yeah, I know that. But I also wanted to set the properties of the printer and the printed strings eg. using a true-type font, setting the position of each strings, maybe printing a pixel / picture, etc. How do I do that?Originally Posted by Desolation
Thanks.
So basically if I installed the touchscreen's driver in Linux, I can use the same method for mouse to detect the touchscreen?Originally Posted by ChaosEngine
Thanks.
Okay I've looked at the forum and found this thread. So, to print a simple line, I can use the method there. But how do I set, for example, the position of the string to be printed eg. in the middle of the paper, or it is printed in a landscape paper, etc?
Also because that thread is about printing in Windows, I assume the MFC-printing won't work because I used Linux. Please, can anybody help me?
Last edited by g4j31a5; 08-08-2006 at 02:07 AM.