Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
printing:change-default [2010/11/25 09:35] marina |
printing:change-default [2011/04/27 12:11] marina |
||
---|---|---|---|
Line 6: | Line 6: | ||
\\ | \\ | ||
b) check that the printer you wish to set as default, it is available from your linux workstation:\\ | b) check that the printer you wish to set as default, it is available from your linux workstation:\\ | ||
- | **lpq -P** //printer-name// \\ | + | **lpq -P** **//printer-name//** \\ |
If the printer is available, this will be the result: | If the printer is available, this will be the result: | ||
//printer-name// is ready \\ | //printer-name// is ready \\ | ||
Line 14: | Line 14: | ||
c) if the printer you choose as default is available, | c) if the printer you choose as default is available, | ||
use the following command to set your new default printer:\\ | use the following command to set your new default printer:\\ | ||
- | **lpoptions -d**//printer-name// | + | **lpoptions -d//printer-name//** |
\\ | \\ | ||
---- | ---- | ||
==== To restore the original default printer ==== | ==== To restore the original default printer ==== | ||
- | Remove the original configuration using the following command:\\ | + | Remove the original configuration using the following commands:\\ |
- | **rm -rf ~/.cups** | + | **rm ~/.cups/lpoptions**\\ |
- | + | **rmdir ~/.cups** | |
- | USE **rm** COMMAND **CAREFULLY**, ANY ERROR CAN REMOVE ALL YOUR FILES !!!!! | + | |