home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
techs.zip
/
TECH20.ARC
/
READ.ME
< prev
Wrap
Text File
|
1985-11-04
|
1KB
|
35 lines
PROGRAM NAME: Prntchk.ASM
DESCRIPTION: Assembly language routine to check printer status
before printing from dBASE.
ISSUE: October, 1985
PAGE: 12
SOFTWARE VERSIONS: dBASE II and dBASE III, all versions
FUNCTION: This routine checks the printer status of LPT1 and
assures that dBASE will not attempt a printing operation until
the printer is turned on and is on-line.
FILES NEEDED: Printchk.ASM
Printchk.BIN--for dBASE III, Developer's Release
Printchk.COM--for dBASE II, dBASE III v. 1.0, 1.1
SETUP INSTRUCTIONS: In dBASE II issue the command QUIT TO
Printchk. In dBASE III use RUN Printchk to access the program.
In the Developer's Release, insert the following code in your
programs that access the printer:
SET TALK OFF
LOAD Printck
ok2print = .F.
DO WHILE .NOT. ok2print
CALL Printchk WITH ok2print
IF .NOT. ok2print
?
? "Printer is not ready-Please Correct"
WAIT
ENDIF
ENDDO