Indiana University


ComputerScience






 Home

 Contacts

 Courses

 Academics

 Careers

 Research

 People

 Calendar

 Resources

 Facilities
   FAQ
   System Notices
   Help
   Hardware
   Software
   Network
   Policies
   CSG Staff
   Lindley Hall

 Hiring

CSG FAQ

Q: How can I print to a CS printer from my Linux laptop or home machine?

There are two protocols you can use to print on the CS printers from a Linux systems, lpd and smb. Either will work if you are on the CS network but from outside CS (such as using the IU Wireless network) you will have to use smb. For this reason, smb printing is preferred.

SMB Printing

Each Linux distribution has its own preferred way of adding printers and this FAQ will not attempt to address each possible variant. However, using any of the common distributions the only thing you are probably going to need is the format of the printer destination. For all of the CS printers, when using SMB printing, the destination is of the form:

smb://username:password@server/printername

You will find the proper values for username, password, and server on the Samba Printer Account Page. You will need to replace printername with the name of the CS printer (such as ps6), which you can find in the printers section of the hardware database. For example, you could add printer psburrow using lpadmin as follows:

lpadmin -p psburrow -E -v smb://username:password@samba2.cs.indiana.edu/psburrow

where you replace username and password with the values from the Samba Printer Account Page.

LPD printing

If you are connected to the CS network, then you can use LPD printing. The destination is of the form:

lpd://server/printername

You can find the names of the available printers in the printers section of the hardware database. You can find the server information for each printer by clicking on the printer in this database listing. For example, you could add printer psburrow using lpadmin as follows:

lpadmin -p psburrow -E -v lpd://lpspool.cs.indiana.edu/psburrow




See an error in this FAQ entry? Please report it.

[Return to the FAQ index]









Valid HTML 4.01!