Step |
Instruction |
1 |
Login as root. |
2 |
Enter: echo "\c" >/dev/lxx |
3 |
Enter: cp /usr/lpd/qconfig/tmp |
4 |
Enter: vi /usr/lpd/qconfig |
5 |
Look down through the file to locate the stanza that probably looks like the following: |
|
<ypqn>:
device=<devnm>
<devnm>:
file=/dev/<devnm>
header=always
trailer=never
access=both
backend=/usr/lpd/piobe |
6 |
modify the two lines |
|
file=/dev/lxx
backend=/bin/cat |
7 |
Enter: enq -Y |
8 |
Enter: enq -A |
9 |
Print the document using your normal procedures. |
10 |
Enter: cp /dev/lxx /tmp/testcase.1 |
11 |
Enter: echo "\c" >/dev/lxx |
12 |
Enter: vi /usr/lpd/qconfig |
13 |
modify the two lines |
|
file=/dev/lxx
backend=/bin/cat |
14 |
modify the line |
|
backend=/bin/piobe |
15 |
Enter: enq -Y |
16 |
Enter: enq -A |
17 |
Print the document using your normal procedures. |
18 |
cp /tmp/qconfig /usr/lpd |
19 |
Enter: enq -Y |
20 |
Enter: enq -A |
21 |
Enter: cp /usr/lpd/pio/custom/<ypqn>:<devnm> |
|
/tmp/testcase.3 |
22 |
Enter: cd /tmp |
24 |
Insert a formatted diskette in the drive. |
23 |
Enter: li -1 -Of ./testcase.* |backup -iqv |
24 |
Send the diskette and a paper print out of test document. |