Open toptnc opened 12 years ago
Since Duplex attribute is not mapped in printer attributes, I suggest to add a "Duplex=T" into XML_TEMPLATE. To include a color atribute simply add this.
colorsup = Element('txt-record') colorsup.text = 'Color=%s' % (str(attrs['color-supported'])[0]) service.append(colorsup)
Since Duplex attribute is not mapped in printer attributes, I suggest to add a "Duplex=T" into XML_TEMPLATE. To include a color atribute simply add this.