@Override
  public void update(@NotNull AnActionEvent e) {
    PrintActionHandler handler = PrintActionHandler.getHandler(e.getDataContext());
    e.getPresentation().setEnabled(handler != null);
  }
@Override
  public void update(@NotNull AnActionEvent e)