0
|
1 |
"*
|
609
|
2 |
* Encoding: iso8859-1
|
|
3 |
*
|
0
|
4 |
* $Header$
|
84
|
5 |
*
|
399
|
6 |
* MIMEType: application/x-smalltalk-source
|
|
7 |
*
|
209
|
8 |
* ST/X startup configuration file:
|
5
|
9 |
* sample startup configuration for host specific stuff -
|
|
10 |
*
|
|
11 |
* You should copy this file to h_<your_host_name>.rc
|
|
12 |
* and change it for your site.
|
0
|
13 |
*"
|
|
14 |
|
|
15 |
"*
|
8
|
16 |
* NNTPSERVER configuration (for newsReader)
|
|
17 |
*"
|
|
18 |
(OperatingSystem getEnvironment:'NNTPSERVER') isNil ifTrue:[
|
195
|
19 |
'h_sample_host.rc [info]: please edit me for NNTPSERVER setup' infoPrintCR.
|
|
20 |
"/ 'h_sample_host.rc [info]: setting NNTPSERVER to <your-NNTP-host-here>' infoPrintCR.
|
8
|
21 |
"/ Smalltalk at:#NNTPSERVER put:'<your-NNTP-host-here>'.
|
|
22 |
].
|
|
23 |
!
|
|
24 |
|
|
25 |
"*
|
609
|
26 |
* printer configuration
|
0
|
27 |
* - uncomment the one you have
|
|
28 |
*"
|
69
|
29 |
|
195
|
30 |
'h_sample_host.rc [info]: please edit me for printer setup' infoPrintCR.
|
|
31 |
"/ 'h_sample_host.rc [info]: configuring printer ...' infoPrintCR
|
|
32 |
!
|
104
|
33 |
|
71
|
34 |
"/ PostscriptPrinterStream autoload.
|
|
35 |
"/ Smalltalk at:#Printer put:PostscriptPrinterStream.
|
69
|
36 |
|
|
37 |
"/
|
|
38 |
"/ HPLjetIIPrinterStream autoload.
|
|
39 |
"/ Smalltalk at:#Printer put:HPLjetIIPrinterStream.
|
|
40 |
"/
|
|
41 |
|
|
42 |
"/
|
|
43 |
"/ EpsonFX1PrinterStream autoload.
|
|
44 |
"/ Smalltalk at:#Printer put:EpsonFX1PrinterStream.
|
609
|
45 |
"/
|
69
|
46 |
|
104
|
47 |
"*
|
|
48 |
* define the printCommands presented in the launchers
|
|
49 |
* settings menu:
|
|
50 |
*"
|
|
51 |
"/ Printer defaultCommands:#('lpr' 'lpr -h' 'cat | rsh <host> lpr -h')
|
0
|
52 |
|
|
53 |
"*
|
104
|
54 |
* define the initial printCommand:
|
|
55 |
*
|
|
56 |
*
|
0
|
57 |
* this one for bsd-type real unixes
|
|
58 |
*"
|
69
|
59 |
"/
|
609
|
60 |
"/ Printer printCommand:'lpr'.
|
69
|
61 |
"/
|
0
|
62 |
|
69
|
63 |
"*
|
|
64 |
* this one specifies a printer
|
|
65 |
*"
|
|
66 |
"/
|
609
|
67 |
"/ Printer printCommand:'lpr -Pdali'.
|
69
|
68 |
"/
|
0
|
69 |
|
|
70 |
|
|
71 |
"*
|
|
72 |
* this one for sys5-type machines
|
|
73 |
*"
|
69
|
74 |
"/
|
609
|
75 |
"/ Printer printCommand:'lp'.
|
69
|
76 |
"/
|
|
77 |
|
0
|
78 |
|
|
79 |
"*
|
|
80 |
* or even more fancy:
|
|
81 |
*"
|
69
|
82 |
"/
|
609
|
83 |
"/ Printer printCommand:'lp -d letterquality'.
|
69
|
84 |
"/
|
|
85 |
|
0
|
86 |
|
|
87 |
"*
|
69
|
88 |
* and these are examples for remote printing
|
0
|
89 |
*"
|
69
|
90 |
"/
|
609
|
91 |
" /Printer printCommand:'rcmd ama lp -d letterquality'.
|
69
|
92 |
"/
|
|
93 |
"/
|
609
|
94 |
"/Printer printCommand:'rsh avalon ''cat >/dev/lp'''.
|
69
|
95 |
"/
|
|
96 |
|
|
97 |
"*
|
|
98 |
* ghostview viewing
|
|
99 |
*"
|
|
100 |
"/
|
|
101 |
"/ Smalltalk at:#Printer put:PostscriptPrinterStream.
|
609
|
102 |
"/ Printer printCommand:'cat > /tmp/psfile ; ghostview psfile'.
|
|
103 |
"/ Printer printCommand:'cat > /tmp/psfile'.
|
69
|
104 |
"/
|
|
105 |
|
|
106 |
|
|
107 |
Printer leftMargin:4.
|
|
108 |
|
0
|
109 |
!
|