1
This commit is contained in:
@@ -72,6 +72,7 @@ func (c *PrinterHandler) RegisterPrinter(ctx *jxcontext.Context, id1, id2, print
|
|||||||
return "", "", err
|
return "", "", err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// UnregisterPrinter
|
||||||
func (c *PrinterHandler) UnregisterPrinter(ctx *jxcontext.Context, id1, id2 string) (err error) {
|
func (c *PrinterHandler) UnregisterPrinter(ctx *jxcontext.Context, id1, id2 string) (err error) {
|
||||||
if globals.EnableStoreWrite {
|
if globals.EnableStoreWrite {
|
||||||
err = api.JxPrintAPI.DelPrinter([]string{id1})
|
err = api.JxPrintAPI.DelPrinter([]string{id1})
|
||||||
|
|||||||
Reference in New Issue
Block a user