h_sample_host.rc
author Claus Gittinger <cg@exept.de>
Sun, 11 Feb 1996 13:49:20 +0100
changeset 84 06f58dd9b0ae
parent 71 d928da24eaec
child 104 b9ab60d45f9b
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'. 
"/

"*
 * this one specifies a printer
 *"
"/
"/ Printer printCommand:'lpr -Pdali'.  
"/


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


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


"*
 * and these are examples for remote printing
 *"
"/
" /Printer printCommand:'rcmd ama lp -d letterquality'.  
"/
"/
"/Printer printCommand:'rsh avalon ''cat >/dev/lp'''.  
"/

"*
 * ghostview viewing
 *"
"/
"/ Smalltalk at:#Printer put:PostscriptPrinterStream.
"/ Printer printCommand:'cat > /tmp/psfile ; ghostview psfile'.  
"/ Printer printCommand:'cat > /tmp/psfile'.  
"/


Printer leftMargin:4.

!