Commands to printer

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
danielfrnt
In need of some credit
In need of some credit
Posts: 4
Joined: Mon Oct 31, 2005 5:24 pm

Commands to printer

Post by danielfrnt » Tue Nov 01, 2005 4:05 pm

I wanna send some special chars to the printer...chars that it understant as commands....but it's not working...when I send one of this special chars ( In a DrawText )...the printer try to print them.

eco
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 203
Joined: Tue Aug 31, 2004 7:06 pm
Location: Behind a can of Mountain Dew
Contact:

Post by eco » Wed Nov 02, 2005 12:51 am

I don't believe wxWidgets has support to send raw printer commands directly. If you're on Windows I think WriterPrinter is what you are looking for (the Code Project also has an article that looks like it may be of at least some use). You'll have to figure out the raw printer command methods yourself for other platforms (I have no idea how this works on Linux or Mac).

Post Reply