I'm having to rewrite a C++ program that prints to a label printer. the only problem is that the printer path can be either a com port, an lpt port or a printer path. (This is possible because the printer doesn't need drivers to run)
Is there a function (or component) that anyone knows of that will let me open all these devices in the same way or am i going to have to work out which one has been provided and then print in an appropriate way.
FYI. C++ has a function OPEN() that will initialize any MCI device and that is what i am trying to find a replacement to.
Is there a function (or component) that anyone knows of that will let me open all these devices in the same way or am i going to have to work out which one has been provided and then print in an appropriate way.
FYI. C++ has a function OPEN() that will initialize any MCI device and that is what i am trying to find a replacement to.