h_sample_host.rc
author claus
Mon, 21 Nov 1994 18:37:56 +0100
changeset 8 d82829c0d867
parent 5 420e4af41733
child 69 ba1a5ff89bb5
permissions -rw-r--r--
*** empty log message ***

"*
 * $Header$
 * sample startup configuration for host specific stuff -
 *
 * You should copy this file to h_<your_host_name>.rc
 * and change it for your site.
 *"

"*
 * NNTPSERVER configuration (for newsReader)
 *"
(OperatingSystem getEnvironment:'NNTPSERVER') isNil ifTrue:[
    Stdout showCr:'please edit h_sample.rc for NNTPSERVER setup'.
"/    Stdout showCr:'setting NNTPSERVER to <your-NNTP-host-here>'.
"/    Smalltalk at:#NNTPSERVER put:'<your-NNTP-host-here>'.
].
!

"*
 * printer type configuration 
 * - uncomment the one you have
 *"
Stdout showCr:'configuring printer ...'!

"*
 * printer type and printer command configuration 
 * - uncomment the one you have
 *"
" " 
PostscriptPrinterStream autoload.
Smalltalk at:#Printer put:PostscriptPrinterStream
" "
!

"
HPLjetIIPrinterStream autoload.
Smalltalk at:#Printer put:HPLjetIIPrinterStream
" 
!

"
EpsonFX1PrinterStream autoload.
Smalltalk at:#Printer put:EpsonFX1PrinterStream
"
!

"*
 * this one for bsd-type real unixes
 *"

"
Printer printCommand:'lpr' 
"             
" "
Printer printCommand:'lpr -Pdali'  
" "           

!

"*
 * this one for sys5-type machines
 *"
"
Printer printCommand:'lp' 
"
!

"*
 * or even more fancy:
 *"
" 
Printer printCommand:'lp -d letterquality' 
" 
!

"*
 * and this is an example for remote printing
 *"
"
Printer printCommand:'rcmd ama lp -d letterquality'  
"
"
Printer printCommand:'rsh avalon ''cat >/dev/lp'''  
"
!

Printer leftMargin:4!
!