piofquote Command

Purpose

Converts certain control characters destined for PostScript printers.

Syntax

/usr/lpd/pio/etc/piofquote

Description

The piofquote command is a filter that converts certain control characters destined for PostScript printers that can emulate other printers. The command reads data from standard input, checks for control characters, and modifies them as needed. It then writes the data to standard output.

If a least 1 byte of data appears on standard input, the piofquote command writes a hex 04 control character to standard output before the first input data byte is written to standard output. The command also writes a hex 04 to standard output when end-of-file is recognized on standard input.

If a hex 01, 03, 04, 05, 11, 13, 14, or 1c control character is found in the input data read from standard input, the hex 40 bit in the control character is turned on and a hex 01 character is prefixed to the control character before it is written to standard output.

Files

Item Description
standard input Input data stream to be processed.
standard output Output data stream containing converted control characters.