Project:PizzaPrinter: Difference between revisions

From London Hackspace Wiki

Line 104: Line 104:
==== bind ====
==== bind ====


Arguments, printer id.
Bind a printer object to a printer id. If called with no argument, returns printer id printer object is bound to, if any.  
Binds printer object to specific printer.


  pr.bind(''printerID'')
  pr.bind(''printerID'')
Anonymous user