PCM Object

關閉描述

The PCM object is used to store the contents of a printer code file.

關閉函數

名稱

描述

NextPass

Sets the current output file as the input file for the next set of script commands.

ReadBytes

Attempts to read a specified number of bytes from the Printer Code Template input file.Returns the number of bytes actually read.

ReadLine

Returns a line from the Printer Code Template input file.

ReadString

Returns a string from the Printer Code Template input file.

WriteBytes

Writes a specified number of bytes to the Printer Code Template output file.

WriteLine

Writes a line of text to the Printer Code Template output file.

WriteString

Writes a string to the Printer Code Template output file.

關閉屬性

名稱

描述

CodePage

Returns the code page in use by the script.The Code Page is derived from the Print System.唯讀。

FileAtEOF

Returns True or False indicating that the end of the input file has been reached.唯讀。

InputFilePosition

Sets or returns the offset of the input file pointer.

InputFileSize

Returns the size of the input file in bytes.唯讀。

ManualByteOrderMarkMode

Sets or returns manual copying of the Byte Order Mark to the output file.

SectionType

Sets or returns the section type.

Tags

Returns the Tag with the given name or index.

相關主題