Skip to content

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

Notifications You must be signed in to change notification settings

Cloudxtreme/printRemotely.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%