Enable job retention.
(self, arg)
| 679 | |
| 680 | # ------------------------[ hold ]------------------------------------ |
| 681 | def do_hold(self, arg): |
| 682 | "Enable job retention." |
| 683 | self.chitchat( |
| 684 | "Setting job retention, reconnecting to see if still enabled") |
| 685 | self.do_set("HOLD=ON", False) |
| 686 | self.do_reconnect() |
| 687 | output().raw("Retention for future print jobs: ", "") |
| 688 | hold = self.do_info("variables", "^HOLD", False) |
| 689 | output().info( |
| 690 | item(re.findall("=(.*)\s+\[", item(item(hold)))) or "NOT AVAILABLE" |
| 691 | ) |
| 692 | # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| 693 | # Sagemcom printers: @PJL SET RETAIN_JOB_BEFORE_PRINT = ON |
| 694 | # @PJL SET RETAIN_JOB_AFTER_PRINT = ON |
| 695 | |
| 696 | # ------------------------[ nvram <operation> ]----------------------- |
| 697 | # nvram operations (brother-specific) |