How do I send my job to the printer?

To print your text document (your program source or other text), you can use the lp command. If you don't already have a localhost window open, open one (by choosing "localhost" from the Systems menu of the Toolchest). Let's say you want to print a program file called program1.c, then you would type the following line at the command prompt:

lp -dhp5si-ad-204 program1.c

If you find it tedious to have to type in -dhp5si-ad-204 everytime you want to print something, here is what you can do. Set up a default printer. Do this by adding the following line to your .cshrc:

setenv LPDEST hp5si-ad-204

Then log out and log in again. From now on you don't have to add the -dhp5si-ad-204 option to your lp command.


If you are unable to use the "lp" command to print your job (for various reasons) from your localhost window, here is an easy fix: