Difference between revisions of "Print from Linux"
[unchecked revision] | [unchecked revision] |
Line 2: | Line 2: | ||
You need root privileges in order to configure this and the change will apply for all users of the computer | You need root privileges in order to configure this and the change will apply for all users of the computer | ||
− | |||
− | |||
cp /etc/profile /etc/profile.orig | cp /etc/profile /etc/profile.orig | ||
− | + | echo 'CUPS_SERVER=cups.imm.dtu.dk' >> /etc/profile | |
− | + | echo 'export CUPS_SERVER' >> /etc/profile | |
− | + | ||
− | CUPS_SERVER=cups.imm.dtu.dk | + | |
− | export CUPS_SERVER | + | |
− | + | ||
− | + | ||
Reboot the computer. After the computer is rebooted you should now how a list of printers to use. For more information about the printers have look [[Printers_at_DTU_Compute | here]]. | Reboot the computer. After the computer is rebooted you should now how a list of printers to use. For more information about the printers have look [[Printers_at_DTU_Compute | here]]. | ||
Line 21: | Line 14: | ||
Here root access is not needed. The change will only take effect for the user logged in. | Here root access is not needed. The change will only take effect for the user logged in. | ||
− | |||
− | |||
cp ~/.profile ~/.profile.orig | cp ~/.profile ~/.profile.orig | ||
− | + | echo 'CUPS_SERVER=cups.imm.dtu.dk' >> ~/.profile | |
− | + | echo 'export CUPS_SERVER' >> ~/.profile | |
− | + | ||
− | CUPS_SERVER=cups.imm.dtu.dk | + | |
− | export CUPS_SERVER | + | |
Log out of the system and log in again. The system can now see all available printers. | Log out of the system and log in again. The system can now see all available printers. |
Revision as of 17:47, 26 February 2013
System wide solution (have root access)
You need root privileges in order to configure this and the change will apply for all users of the computer
cp /etc/profile /etc/profile.orig echo 'CUPS_SERVER=cups.imm.dtu.dk' >> /etc/profile echo 'export CUPS_SERVER' >> /etc/profile
Reboot the computer. After the computer is rebooted you should now how a list of printers to use. For more information about the printers have look here.
If you get a dialogue box about authorization failed containing fields to enter username and password, DO NOT enter your password as it is not required and it sent unencrypted over the network. Just click "OK" and everything will be fine.
User only solution (no root access)
Here root access is not needed. The change will only take effect for the user logged in.
cp ~/.profile ~/.profile.orig echo 'CUPS_SERVER=cups.imm.dtu.dk' >> ~/.profile echo 'export CUPS_SERVER' >> ~/.profile
Log out of the system and log in again. The system can now see all available printers.
If you get a dialogue box about authorization failed containing fields to enter username and password, DO NOT enter your password as it is not required and it sent unencrypted over the network. Just click "OK" and everything will be fine.