Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
printing:change-default [2010/11/25 09:29]
marina
printing:change-default [2011/04/28 11:54]
marina
Line 3: Line 3:
 Generally all linux workstations have a default printer depending on the floor and side… and where the workstation is located. Generally all linux workstations have a default printer depending on the floor and side… and where the workstation is located.
  
-a) You need to know the name of the printer where you wish to redirect your print, see [[printing:​printers-location|SISSA NETWORK PRINTER MAP AT SANTORIO] to have the list of all common printers at Santorio; +a) You need to know the name of the printer where you wish to redirect your print, see [[printing:​printers-location|SISSA NETWORK PRINTER MAP AT SANTORIO ​page]] to have the list of all common printers at Santorio;\\ 
- +\\ 
-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 defaultit 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 \\
 If the printer is not available, this will be the result: If the printer is not available, this will be the result:
 lpq: Unknown destination "//​printer-name//"​!\\ lpq: Unknown destination "//​printer-name//"​!\\
 +\\
 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 default values === +----
-To restore the default values, remove your previous configuration using the following command:\\ +
-**rm -rf ~/.cups**+
  
-USE THE COMMAND ​rm CAREFULLY, ANY ERROR CAN REMOVE ALL YOUR FILES !!!!!+==== To restore the original default printer ==== 
 +Remove the original configuration using the following commands:​\\ 
 +**rm ~/​.cups/​lpoptions**\\ 
 +**rmdir ~/.cups**