0
|
1 |
"*
|
|
2 |
* $Header$
|
5
|
3 |
* sample startup configuration for host specific stuff -
|
|
4 |
*
|
|
5 |
* You should copy this file to h_<your_host_name>.rc
|
|
6 |
* and change it for your site.
|
0
|
7 |
*"
|
|
8 |
|
|
9 |
"*
|
|
10 |
* printer type configuration
|
|
11 |
* - uncomment the one you have
|
|
12 |
*"
|
|
13 |
Stdout showCr:'configuring printer ...'!
|
|
14 |
|
|
15 |
"*
|
|
16 |
* printer command configuration
|
|
17 |
* - uncomment the one you have
|
|
18 |
*"
|
|
19 |
" "
|
|
20 |
PostscriptPrinterStream autoload.
|
|
21 |
Smalltalk at:#Printer put:PostscriptPrinterStream
|
|
22 |
" "
|
|
23 |
!
|
|
24 |
|
|
25 |
"
|
|
26 |
HPLjetIIPrinterStream autoload.
|
|
27 |
Smalltalk at:#Printer put:HPLjetIIPrinterStream
|
|
28 |
"
|
|
29 |
!
|
|
30 |
|
|
31 |
"
|
|
32 |
EpsonFX1PrinterStream autoload.
|
|
33 |
Smalltalk at:#Printer put:EpsonFX1PrinterStream
|
|
34 |
"
|
|
35 |
!
|
|
36 |
|
|
37 |
"*
|
|
38 |
* this one for bsd-type real unixes
|
|
39 |
*"
|
|
40 |
|
|
41 |
"
|
|
42 |
Printer printCommand:'lpr'
|
|
43 |
"
|
|
44 |
" "
|
|
45 |
Printer printCommand:'lpr -Pdali'
|
|
46 |
" "
|
|
47 |
|
|
48 |
!
|
|
49 |
|
|
50 |
"*
|
|
51 |
* this one for sys5-type machines
|
|
52 |
*"
|
|
53 |
"
|
|
54 |
Printer printCommand:'lp'
|
|
55 |
"
|
|
56 |
!
|
|
57 |
|
|
58 |
"*
|
|
59 |
* or even more fancy:
|
|
60 |
*"
|
|
61 |
"
|
|
62 |
Printer printCommand:'lp -d letterquality'
|
|
63 |
"
|
|
64 |
!
|
|
65 |
|
|
66 |
"*
|
|
67 |
* and this is an example for remote printing
|
|
68 |
*"
|
|
69 |
"
|
|
70 |
Printer printCommand:'rcmd ama lp -d letterquality'
|
|
71 |
"
|
|
72 |
"
|
|
73 |
Printer printCommand:'rsh avalon ''cat >/dev/lp'''
|
|
74 |
"
|
|
75 |
!
|
|
76 |
|
|
77 |
Printer leftMargin:4!
|
|
78 |
!
|