Cloudxtreme / printRemotely.py

Copy the given file to the specified print server using scp. Then ssh into the print server and run lpr.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NAME
    printRemotely.py: Copy the given file to the specified print server
    using scp. Then ssh into printserver and run lpr.

Warning: May overwrite existing files of the same name.

SYNOPSIS
    printRemotely.py [OPTIONS] [user@]printserver file

OPTIONS:
    -h / --help               Display this help
    -i SSH_PRIVATE_KEY        Use this private key for scp and ssh connections
    -P PRINTERNAME            Use the specified printer
    -d                        Delete the file on the server after printing

INSPIRATION:
    Karan Malik

AUTHOR:
    Seshadri Mahalingam (seshadri@berkeley.edu)

About

Copy the given file to the specified print server using scp. Then ssh into the print server and run lpr.


Languages

Language:Python 100.0%