1. csh shell version (by editing ~/.cshrc or ~/.tcshrc configuration files%2y
setenv PRINTER your-printer-name2. bash shell version (by editing ~/.bashrc configuration file)
export PRINTER=your-printer-name
If CUPS is available in your system, you may issue the following command to have this change:
lpoptions -d printer-nameThe ‘d’ option sets the default printer.
In the case of Ubuntu Linux, you can just go System->Administration->Printing to set up a printer as the default printer. Just click the Make default button on the Settings tab.
No comments:
Post a Comment