diff --git a/send-to-printer@rcalixte/CHANGELOG.md b/send-to-printer@rcalixte/CHANGELOG.md new file mode 100644 index 00000000..58d99ae8 --- /dev/null +++ b/send-to-printer@rcalixte/CHANGELOG.md @@ -0,0 +1,4 @@ + +### 1.0 + +* Initial release diff --git a/send-to-printer@rcalixte/README.md b/send-to-printer@rcalixte/README.md new file mode 100644 index 00000000..cd2f7981 --- /dev/null +++ b/send-to-printer@rcalixte/README.md @@ -0,0 +1,19 @@ +SEND TO PRINTER +=============== + +Send file(s) to print via the default printer + +DESCRIPTION +----------- + +This action will attempt to print the selected file(s) *once* to the default +printer. + +__NOTE:__ If there are any errors, they will be silently discarded. + +DEPENDENCIES +------------ + +The following programs must be installed and available: + +* `lpr` to submit files for printing diff --git a/send-to-printer@rcalixte/files/send-to-printer@rcalixte/icon.png b/send-to-printer@rcalixte/files/send-to-printer@rcalixte/icon.png new file mode 100644 index 00000000..79aa2e8f Binary files /dev/null and b/send-to-printer@rcalixte/files/send-to-printer@rcalixte/icon.png differ diff --git a/send-to-printer@rcalixte/files/send-to-printer@rcalixte/metadata.json b/send-to-printer@rcalixte/files/send-to-printer@rcalixte/metadata.json new file mode 100644 index 00000000..5662c4ec --- /dev/null +++ b/send-to-printer@rcalixte/files/send-to-printer@rcalixte/metadata.json @@ -0,0 +1,7 @@ +{ + "description": "Print file(s) via the default printer", + "uuid": "send-to-printer@rcalixte", + "name": "Send to Printer", + "author": "rcalixte", + "version": "1.0" +} diff --git a/send-to-printer@rcalixte/files/send-to-printer@rcalixte/po/send-to-printer@rcalixte.pot b/send-to-printer@rcalixte/files/send-to-printer@rcalixte/po/send-to-printer@rcalixte.pot new file mode 100644 index 00000000..3c88ed9b --- /dev/null +++ b/send-to-printer@rcalixte/files/send-to-printer@rcalixte/po/send-to-printer@rcalixte.pot @@ -0,0 +1,34 @@ +# Send to Printer +# Copyright (C) 2023 +# Rick Calixte <10281587+rcalixte@users.noreply.github.com>, 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: 1.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-11-27 16:39-0500\n" +"PO-Revision-Date: \n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: en\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 3.4\n" + +#. metadata.json->description +msgid "Print file(s) via the default printer" +msgstr "" + +#. metadata.json->name +msgid "Send to Printer" +msgstr "" + +#. Name +msgid "Print file(s)" +msgstr "" + +#. Comment +msgid "Print via the default printer" +msgstr "" diff --git a/send-to-printer@rcalixte/info.json b/send-to-printer@rcalixte/info.json new file mode 100644 index 00000000..48ccc0fc --- /dev/null +++ b/send-to-printer@rcalixte/info.json @@ -0,0 +1,3 @@ +{ + "author": "rcalixte" +} diff --git a/send-to-printer@rcalixte/send-to-printer@rcalixte.nemo_action.in b/send-to-printer@rcalixte/send-to-printer@rcalixte.nemo_action.in new file mode 100644 index 00000000..db6bfa57 --- /dev/null +++ b/send-to-printer@rcalixte/send-to-printer@rcalixte.nemo_action.in @@ -0,0 +1,7 @@ +[Nemo Action] +_Name=Print file(s) +_Comment=Print via the default printer +Exec=/usr/bin/lpr "%F" +Selection=notnone +Dependencies=lpr; +Mimetypes=application/msword;text/spreadsheet;application/vnd.oasis.opendocument.presentation;application/mspowerpoint;application/pdf;application/postscript;application/rtf;application/vnd.ms-excel;application/vnd.ms-powerpoint;application/vnd.oasis.opendocument.spreadsheet;application/vnd.oasis.opendocument.text;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.wordprocessingml.document;image/bmp;image/jpeg;image/png;text/markdown;text/plain;text/richtext;text/rtf;