PCM Object

ClosedDescription

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

ClosedFunctions

Name

Description

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.

ClosedProperties

Name

Description

CodePage

Returns the code page in use by the script. The Code Page is derived from the Print System. Read-only.

FileAtEOF

Returns True or False indicating that the end of the input file has been reached. Read-only.

InputFilePosition

Sets or returns the offset of the input file pointer.

InputFileSize

Returns the size of the input file in bytes. Read-only.

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.

Related Topics