home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
PRINTING
/
SETPRINT.ZIP
/
CITIZEN.BAT
next >
Wrap
DOS Batch File
|
1988-04-18
|
4KB
|
155 lines
BAT * 512
bat -begin cls begtype
╔════════════════════════════════════════════════════════════════════════╗
║ Citizen Printer Setup Program ║
║ ║
║ 1. IBM Mode 2. Epson ║
║ 3. Correspondence 4. Draft ║
║ 5. Pica 6. Elite ║
║ 7. Expanded on 8. Off ║
║ 9. Compressed on 10. Off ║
║ 11. Emphasized on 12. Off ║
║ 13. Italics on (Epson only) 14. Off ║
║ 15. Auto line feed 16. Off ║
║ 17. Underline on 18. Off ║
║ 19. Overscoring on (IBM only) 20. Off ║
║ 21. Reverse print 22. Off ║
║ 23. Reverse print 24. Off ║
║ 25. Tall letters on 26. Off ║
║ 99 Exit ║
║ ║
╚════════════════════════════════════════════════════════════════════════╝
End
bat READ Function Code? ==> %8
bat * Skipping is quicker than goto's, but only goes forward.
bat if %8 <> 1 goto -not.1
SETPRINT ~51
BAT GOTO -BEGIN
BAT -NOT.1
bat if %8 <> 2 goto -not.2
SETPRINT ~50
BAT GOTO -BEGIN
BAT -NOT.2
bat if %8 <> 3 goto -not.3
SETPRINT x1
BAT GOTO -BEGIN
BAT -NOT.3
bat if %8 <> 4 goto -not.4
SETPRINT x0
BAT GOTO -BEGIN
BAT -NOT.4
bat if %8 <> 5 goto -not.5
SETPRINT P
BAT GOTO -BEGIN
BAT -NOT.5
bat if %8 <> 6 goto -not.6
SETPRINT M
BAT GOTO -BEGIN
BAT -NOT.6
bat if %8 <> 7 goto -not.7
SETPRINT W1
BAT GOTO -BEGIN
BAT -NOT.7
bat if %8 <> 8 goto -not.8
SETPRINT W0
BAT GOTO -BEGIN
BAT -NOT.8
bat if %8 <> 9 goto -not.9
SETPRINT \0F
BAT GOTO -BEGIN
BAT -NOT.9
bat if %8 <> 10 goto -not.10
SETPRINT \12
BAT GOTO -BEGIN
BAT -NOT.10
bat if %8 <> 11 goto -not.11
SETPRINT E
BAT GOTO -BEGIN
BAT -NOT.11
bat if %8 <> 12 goto -not.12
SETPRINT F
BAT GOTO -BEGIN
BAT -NOT.12
bat if %8 <> 13 goto -not.13
SETPRINT
BAT GOTO -BEGIN
BAT -NOT.13
bat if %8 <> 14 goto -not.14
SETPRINT
BAT GOTO -BEGIN
BAT -NOT.14
bat if %8 <> 15 goto -not.15
SETPRINT
BAT GOTO -BEGIN
BAT -NOT.15
bat if %8 <> 16 goto -not.16
SETPRINT
BAT GOTO -BEGIN
BAT -NOT.16
bat if %8 <> 17 goto -not.17
SETPRINT -1
BAT GOTO -BEGIN
BAT -NOT.17
bat if %8 <> 18 goto -not.18
SETPRINT -0
BAT GOTO -BEGIN
BAT -NOT.18
bat if %8 <> 19 goto -not.19
SETPRINT _1
BAT GOTO -BEGIN
BAT -NOT.19
bat if %8 <> 20 goto -not.20
SETPRINT _0
BAT GOTO -BEGIN
BAT -NOT.20
bat if %8 <> 21 goto -not.21
SETPRINT ~21
BAT GOTO -BEGIN
BAT -NOT.21
bat if %8 <> 22 goto -not.22
SETPRINT ~20
BAT GOTO -BEGIN
BAT -NOT.22
bat if %8 <> 23 goto -not.23
SETPRINT G
BAT GOTO -BEGIN
BAT -NOT.23
bat if %8 <> 24 goto -not.24
SETPRINT H
BAT GOTO -BEGIN
BAT -NOT.24
bat if %8 <> 25 goto -not.25
SETPRINT h
BAT GOTO -BEGIN
BAT -NOT.25
bat if %8 <> 26 goto -not.26
SETPRINT u
BAT GOTO -BEGIN
BAT -NOT.26