Bi-di plug-in functionarities
Hello Mark, Mike, Peter and All,
I appreciate your comment, and I reply this time into the architecture ML, and please forgive me if it's not appropriate.
In our bi-di plug-in group's opinion, we hope we could design the bi-di plug-in module and its API like following;
1) Make it simple and small for being used frexibly from any upper modules, such as PAPI with CUPS backend modules or other filters, or any daemon modules with Omni / PDC, etc.
2) Make the generic plug-in API to keep the plug-ins independent from the implementations.
3) Each bi-di plug-in module for each printer vendor has the
following functionarities;
a) Handle the vendor dependent protocol to communicate with each vendor's printer.
b) Obtain the printer status, including error, e.g. ink level, paper jam, no cartridge, etc.
c) Obtain the information of the printer options, e.g. sorter, stapler, extended memory, etc.
d) Printer discovery for both local and network.
e) No UI. to be simple and generic.
f) In some cases, receive the printing data from the upper system, translate it for eachr device or protocol, and send it to the appropriate target.
g) Send the printer information to the upper system.
All of the above idea is TBD, and I appreciate any comment. We think we should make a list of all functionarities, use cases and senario to consider how we should deal with the printer information and send them back to the upper system.
Regards,
Yasumasa TORATANI.
Quoted 15 lines · Yasumasa TORATANI
...
3) Each bi-di plug-in module for each printer vendor has thefollowing functionarities;a) Handle the vendor dependent protocol to communicate with each vendor's printer.
b) Obtain the printer status, including error, e.g. ink level, paper jam, no cartridge, etc.
c) Obtain the information of the printer options, e.g. sorter, stapler, extended memory, etc.
d) Printer discovery for both local and network.
e) No UI. to be simple and generic.
f) In some cases, receive the printing data from the upper system, translate it for eachr device or protocol, and send it to the appropriate target.
g) Send the printer information to the upper system.
FWIW, in CUPS #3 is normally handled by the backend (in CUPS 1.1 and earlier) and/or by the driver (in CUPS 1.2), the idea being that the same commands/protocols will generally be used over serial, parallel, USB, and network connections, and since the driver has a copy of the device URI (the device for the printer) it can tailor its input/output accordingly.
Signature · 3 lines
______________________________________________________________________ Michael Sweet, Easy Software Products [email protected] Printing Software for UNIX http://www.easysw.com