Updates to ensure that usb printing now works via output device API

This commit is contained in:
Jaime van Kessel 2015-08-12 15:19:20 +02:00
parent a47c8f7ef6
commit 04b8961297
3 changed files with 189 additions and 281 deletions

View file

@ -13,9 +13,10 @@ def getMetaData():
"name": "USB printing",
"author": "Ultimaker",
"version": "1.0",
"api": 2,
"description": i18n_catalog.i18nc("USB Printing plugin description","Accepts G-Code and sends them to a printer. Plugin can also update firmware")
}
}
def register(app):
return {"extension":USBPrinterManager.USBPrinterManager()}
return {"extension":USBPrinterManager.USBPrinterManager(),"output_device": USBPrinterManager.USBPrinterManager() }