Skip to content

Commit

Permalink
add send-to-printer@rcalixte (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcalixte committed Nov 28, 2023
1 parent e266010 commit a8c911e
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 0 deletions.
4 changes: 4 additions & 0 deletions send-to-printer@rcalixte/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

### 1.0

* Initial release
19 changes: 19 additions & 0 deletions send-to-printer@rcalixte/README.md
Original file line number Diff line number Diff line change
@@ -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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -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"
}
Original file line number Diff line number Diff line change
@@ -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 ""
3 changes: 3 additions & 0 deletions send-to-printer@rcalixte/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"author": "rcalixte"
}
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit a8c911e

Please sign in to comment.