Frequently Asked Questions

« Previous
How to transfer web hosting for a domain
Next «
How do I compare the content of two directories?

52. How do I set up eduPrint for a Linux server?

Printing via mail (Scientific Linux, Ubuntu, Debian)

In this example the file FILE_TO_PRINT.pdf is sent to a fictive user.

echo "please print me" | mailx -r -a FILE_TO_PRINT.pdf

Printing via CUPS on Linux (Ubuntu 16.04 / 17.10) or macOS (10.12.6)

  1. Get the PPD.

    Download and save the PPD as /tmp/eduPrint-UU.ppd on your local computer. If you use another file name then change the commands below appropriately.

  2. Make sure you are using the Employee-ID accounts on the computer. The easiest way to assure this is to use the Active Directory, but it works as long as the names are identical.
  3. Configure the printer queue:

    sudo lpadmin -p eduPrint-UU -v lpd:// -P /tmp/eduPrint-UU.ppd -u allow:all -o printer-is-shared=false -E

  4. Set this as the default printer queue if you want:

    sudo lpadmin -d eduPrint-UU

  5. Print like this:

    lp -d eduPrint-UU HELLO.pdf

If you are using unique local user account names

You want to configure the print queue to use the correct user name.

lpadmin -p QUEUENAME -v lpd:// -P /tmp/eduPrint.ppd -u allow:LOCAL_USERNAME -o printer-is-shared=false -E

You can let everything printed on the computer go to a specific users queue.

lpadmin -p QUEUENAME -v lpd:// -P /tmp/eduPrint.ppd -u allow:all -o printer-is-shared=false -E

Please note that the environment variable CUPS_USER may be used instead of specifying a specific user. This may be used on a multi user system if the variable is set in the login scripts.

This entry eduprint.linuxserver was last modified 2018-06-04

This documentation is covered by GNU Free Documentation License.