论文部分内容阅读
用Z80CPU或单片机为核心的工业控制机,在实现生产过程自动检测与控制功能的同时,需要打印出相应的报表清单。一般的报表格式由表格线、汉字、数字、英文字母、符号等组成。所使用的打印机有TP微型打印机、80行点阵式打印机、132行点阵式打印机等。这里以FX-80EPSON80行点阵式打印机为例,谈谈选用80行点阵式打印机的软件设计过程。此类打印机有两种工作方式:Text文本方式和Bit点阵方式,前者用于打印代码表中的字符,如数字、英文字母、符号等,后者用于打印点阵组成的字符、汉字和图形等。打印报表采用调用各行打印子程序的方法。表1所示为某石油化工厂发油计量单据。仔细观察此表共打印七行,我们把它分为四种类
With Z80CPU or SCM as the core industrial control machine, in the production process to achieve automatic detection and control functions, you need to print out the corresponding list of reports. The general form of the report by the form line, Chinese characters, numbers, English letters, symbols and other components. Printers used are TP micro printer, 80 line matrix printer, 132 line matrix printer. Here to FX-80EPSON80 line matrix printer, for example, talk about the selection of 80 line matrix printer software design process. There are two ways to work with this type of printer: the Text text method and the Bit lattice method. The former is used to print the characters in the code table, such as numbers, English letters, symbols, etc. The latter is used to print the characters, Chinese characters and Graphics and so on. Print the report by calling the print subroutine method. Table 1 shows a petrochemical plant hair oil measurement documents. A closer look at this table prints a total of seven lines, and we divide it into four categories