PLOT88
Printer Output under MicroSoft Windows 95, 98, 2000, NT, XP, or PLOT88 uses the system print spooler for ioport= 0,1,2 or 3 to output
drawings in a spool data format of "RAW". Default printer and print spool job title: The default printer for the system is used to output the drawing unless
the printer to use is passed to PLOT88 with the UsePrinter88 subroutine
call. Note: Because PLOT88 drawings are sent to a print spooler, the following escape
values are already set: The following two subroutines are called after PLOTS or INTDRV. Subroutine UsePrinter88 Calling Sequence: Call UsePrinter88( printer_name) Parameters: CALL UsePrinter88("HP LaserJet 4") Note: Subroutine JobTitle88 Calling Sequence: Call JobTitle88( title) Parameters: title= character string of the name of the job in the output print spool queue. Maximum 32 characters. Example: CALL JobTitle88("Program MIN4C Contour") Note: All drawings defined between PLOTS and CALL PLOT(0.0,0.0,999) have the same job title. Error Messages The following PLOT88 error codes are reported from the result of a API32
call: PLOT88 81 IO008A
StartDocPrinter error Printer data format must 82 IO010A WritePrinter error Fix previous printer error. 83 IO011A WritePrinter error Fix previous printer error. 84 IO011A WritePrinter error Fix previous printer error. 85 IO009A EndDocPrinter error Fix previous printer error. 86 IO009A ClosePrinter error Fix previous printer error. 87 IO008A
EnumPrinters
Call UsePrinter88. 88 IO008A
EnumPrinters error. Call UsePrinter88. 89 IO008A
No default printer Call UsePrinter88. 90 IO008A
Invalid printer. Call UsePrinter88.
91 IO009A CloseHandle error. Fix previous plotter error. 92 OPNCOM
CreateFile error Check plotter (
on?, ready? 93 OPNCOM GetCommStat error Check plotter, com port cable. 94 OPNCOM SetCommStat Fix previous plotter error. 95 OPNCOM GetCommTimeouts Fix previous plotter error. 96 OPNCOM SetCommTimeouts Fix previous plotter error. 97
BIOCM
WriteFile
Is plotter attached to cpu, |