In the Win2000 desktop:
Start
Settings
Printer
Add Printer
Next (3 times)
Type "Lexmark" in the Name box
Find Now
Highlight the result (full name of the printer)
OK
Most printers will print on both
sides of the paper by default -- to make the print-out single-sided,
add s at the end of the printer's name.
See list of printer for some examples.
Just drag right-button of the mouse.
For text files, you can first convert them to ps files before you print them. You can use Unix command "enscript" to do this. Enscript converts text files to PostScript and spools gen- erated PostScript output to the specified printer or leaves it to file. If no input files are given, enscript processes standard input. Enscript can be extended to handle dif- ferent output media and it has many options which can be used to customize printouts (Use command "man enscript" to find more information).
-1, -2, --columns=num
Specify how many columns each page have. With long
option --columns=num you can specify more than 2
columns per page.
-a pages, --pages=pages
Specify which pages are printed. Page specification
pages can be given in following formats:
start-end
print pages from start to end
-end print pages from 0 to end
start- print pages from start to end
page print page page
odd print odd pages
even print even pages
-A align, --file-align=align
Align separate input files to even align page count.
This is handy for two-side and 2-up printings
(--file-align=2).
-b header, --header=header
enscript foo.txt
Print file foo.txt to the default printer.
enscript -2 foo.txt
Print file foo.txt to two columns.
enscript -2r foo.txt
Print file to two columns and rotate output 90
degrees (landscape).
enscript -G2rE -U2 foo.c
gaudy header, two columns, landscape,
code highlighting, 2-up printing.
Convert dvi file to ps file then use lpr command to print the converted ps file:
dvips -o outputfilename.ps inputfilename.dvi
lpr -Pprintername outputfilename.dvi
Or pipe it through directly:
dvips filename.dvi | lpr -Pprintername
You can use command a2ps. For example, if you have a text
file called input.txt and you want to print the file 4 pages
per sheet, then you can use the following command to generate an
output file called output.ps, then use lpr command to
print the output.ps
a2ps -o output.ps -4 input.txt lpr -Pprintername output.psNote that
a2ps convert FILE(s) or standard input to
PostScript. Input files can be of different type,
e.g. .txt, .ps, or .html.
a2ps -P -4 input.psHowever we recommend to convert the input file to
output.ps first,
then use ghostview to check if the format is correct or not. Finally
use lpr command to print output.ps.
man a2ps
to read the manual of the command a2ps.
Newton is Solaris 8 and it does not read your local home directory .bashrc file. It's read .bash_profile. If you are on Newton and you can not perform some command or setup your default printer, then type ln -s .bashrc .bash_profile vi .bash_profile or emacs .bash_profile (you should see some text ) add these line export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib For set up default printer (ie.lj4) add export LPDEST=lj4 Save it Next time you login, or start a new xterm, you should have new environment. If you use tcsh shell, copy ~tha/.cshrc to your home dir If you are not sure, run this niscat passwd.org_dir | grep your-login-name ie: niscat passwd.org_dir | grep tha It shows tha:*NP*:4672:15:The Ha:/home/tha:/bin/bash:*NP* Yes, I have /bin/bash shell It important to know which shell you are using.