Set the default printer under linux

If you want to set the default printer, you can use the command line interface and type:

export PRINTER=printer-name

If you want to set the default printer permanently, and if your shell is bash (most common by default), you should add this line in the ~/.bashrc file:

export PRINTER=printer-name

If you use another type of shell such as csh or tcsh, put this line in your ~/.cshrc or ~/.tcshrc files:

setenv PRINTER printer-name
Please follow and like us:
This entry was posted in Linux and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.