class_docstr: Generic printer
  
  Its job is to provide infrastructure for implementing new printers easily.
  
  If you want to define your custom Printer or your custom printing method
  for your custom class then see the example above: printer_example_ .
code: def order(self):
      if "order" in self._settings:
          return self._settings["order"]
      else:
          raise AttributeError("No order defined.")
  
imports: from __future__ import annotations
  import sys
  from typing import Any, Type
  import inspect
  from contextlib import contextmanager
  from functools import cmp_to_key, update_wrapper
  from sympy.core.add import Add
  from sympy.core.basic import Basic
  from sympy.core.function import AppliedUndef, UndefinedFunction, Function
label_desc: Use image node_id 4 for calling the Printer obj's underlying member method code with example usage: obj.order() and returns: self