E
ElderUberGeek
I would like to enable a system to basically accept any type of printer
(well, within limits, as it is a POS). As such, I would like to
encapsulate the printer driver's specific API and expose a generic one
(effectively mediating between the driver and the application). This
was the application only has to know one type of interface and printers
can be switched at will. Of course one would have to write a pice of
glue to encapsulate the specific driver, but I hope with sufficient
insentive the manufacture might do that.
So:
- Is this a good design/idea?
- What would a "standard" simplified API look like?
- How much effort would it be to encapsulate a given driver
(hard/medium/easy)
Thanks
(well, within limits, as it is a POS). As such, I would like to
encapsulate the printer driver's specific API and expose a generic one
(effectively mediating between the driver and the application). This
was the application only has to know one type of interface and printers
can be switched at will. Of course one would have to write a pice of
glue to encapsulate the specific driver, but I hope with sufficient
insentive the manufacture might do that.
So:
- Is this a good design/idea?
- What would a "standard" simplified API look like?
- How much effort would it be to encapsulate a given driver
(hard/medium/easy)
Thanks