Class s.p.f.FiscalPrinter(BasePrinter):

Part of stoqdrivers.printers.fiscal View In Hierarchy

No class docstring
Method __init__ Undocumented
Method get_capabilities Undocumented
Method _format_text Undocumented
Method identify_customer Undocumented
Method coupon_is_customer_identified Undocumented
Method open Undocumented
Method add_item Undocumented
Method totalize Undocumented
Method add_payment Undocumented
Method cancel Undocumented
Method cancel_last_coupon Cancel the last non fiscal coupon or the last sale.
Method cancel_item Undocumented
Method close Undocumented
Method summarize Undocumented
Method close_till Undocumented
Method till_add_cash Undocumented
Method till_remove_cash Undocumented
Method till_read_memory Undocumented
Method till_read_memory_to_serial Undocumented
Method till_read_memory_by_reductions Undocumented
Method payment_receipt_open Undocumented
Method payment_receipt_print Undocumented
Method payment_receipt_close Undocumented
Method payment_receipt_print_duplicate Undocumented
Method get_serial Undocumented
Method query_status Undocumented
Method status_reply_complete Undocumented
Method get_tax_constants Undocumented
Method get_payment_constants Undocumented
Method get_payment_receipt_identifier Undocumented
Method get_ccf Fiscal Coupon Counter
Method get_coo Operation Order Counter
Method get_gnf Nonfiscal Operation General Counter
Method get_crz Z Reduction Counter
Method get_sintegra Undocumented
Method get_user_info Returns current ecf user registration date and time,
Method supports_duplicate_receipt Undocumented

Inherited from BasePrinter:

Method check_interfaces This method must be implemented in subclass and must ensure that the
Method get_constants Undocumented
Method get_tax_constant Undocumented

Inherited from BaseDevice (via BasePrinter):

Method _load_configuration Undocumented
Method get_model_name Undocumented
Method get_firmware_version Printer firmware version
Method notify_read This function can be called when the callsite must know when data
Method set_port Undocumented
Method get_port Undocumented
def __init__(self, *args, brand=None, model=None, device=None, config_file=None, **kwargs):
Undocumented
def get_capabilities(self):
Undocumented
def _format_text(self, text):
Undocumented
@capcheck(basestring, basestring, basestring)
def identify_customer(self, customer_name, customer_address, customer_id):
Undocumented
def coupon_is_customer_identified(self):
Undocumented
def open(self):
Undocumented
@capcheck(basestring, basestring, Decimal, str, Decimal, unit, Decimal, Decimal, basestring)
def add_item(self, item_code, item_description, item_price, taxcode, items_quantity=Decimal('1.0'), unit=UnitType.EMPTY, discount=Decimal('0.0'), surcharge=Decimal('0.0'), unit_desc=''):
Undocumented
@capcheck(percent, percent, taxcode)
def totalize(self, discount=Decimal('0.0'), surcharge=Decimal('0.0'), taxcode=TaxType.NONE):
Undocumented
@capcheck(basestring, Decimal, basestring)
def add_payment(self, payment_method, payment_value, description=''):
Undocumented
def cancel(self):
Undocumented
def cancel_last_coupon(self):
Cancel the last non fiscal coupon or the last sale.
@capcheck(int)
def cancel_item(self, item_id):
Undocumented
@capcheck(basestring)
def close(self, promotional_message=''):
Undocumented
def summarize(self):
Undocumented
def close_till(self, previous_day=False):
Undocumented
@capcheck(Decimal)
def till_add_cash(self, add_cash_value):
Undocumented
@capcheck(Decimal)
def till_remove_cash(self, remove_cash_value):
Undocumented
@capcheck(datetime.date, datetime.date)
def till_read_memory(self, start, end):
Undocumented
@capcheck(datetime.date, datetime.date)
def till_read_memory_to_serial(self, start, end):
Undocumented
@capcheck(int, int)
def till_read_memory_by_reductions(self, start, end):
Undocumented
def payment_receipt_open(self, identifier, coo, method, value):
Undocumented
def payment_receipt_print(self, text):
Undocumented
def payment_receipt_close(self):
Undocumented
def payment_receipt_print_duplicate(self):
Undocumented
def get_serial(self):
Undocumented
def query_status(self):
Undocumented
def status_reply_complete(self, reply):
Undocumented
def get_tax_constants(self):
Undocumented
def get_payment_constants(self):
Undocumented
def get_payment_receipt_identifier(self, method):
Undocumented
def get_ccf(self):
Fiscal Coupon Counter
Returnsthe last document ccf (type: integer )
def get_coo(self):
Operation Order Counter
Returnsthe last document coo (type: integer )
def get_gnf(self):
Nonfiscal Operation General Counter
Returnsgnf (type: integer )
def get_crz(self):
Z Reduction Counter
Returnsthe last document crz (type: integer )
def get_sintegra(self):
Undocumented
def get_user_info(self):
Returns current ecf user registration date and time, id in the printer and cro relative to the user registration
def supports_duplicate_receipt(self):
Undocumented
API Documentation for Stoqdrivers, generated by pydoctor at 2009-04-30 17:14:35.