4 PRINTING FROM UNIX

„PCL5e Specific Options

Some of the options only apply to plain text or PCL5e files.

‰Text Wrapping

The following options control text wrapping when it reaches the right margin.

Option Value

Alternate Value

Description

 

 

 

wrap

 

Enable automatic text wrapping.

 

 

 

nowrap

 

Disable automatic text wrapping.

 

 

 

If this option is not specified the command will not be sent so the printer’s default value will be used. Example: The command to specify wrapping is “lp -o wrap filename”.

‰Left Margin

The left margin position can be specified with the following option.

Option Value

Alternate Value

Description

 

 

 

lm=value

 

Set the left margin to value columns.

 

 

 

If the left margin is set to the right of the right margin it will be ignored.

If this option is not specified the command will not be sent so the printer’s default value will be used. Example: The command to set the left margin to five columns is “lp -o lm=5 filename”.

‰Right Margin

The right margin position can be specified with the following option.

Option Value

Alternate Value

Description

 

 

 

rm=value

 

Set the right margin to value columns.

 

 

 

If the right margin is set to the left of the left margin or if it is set to a position wider than the logical page it will be ignored. The right margin is specified in columns from the left margin. A negative value will be ignored.

If this option is not specified the command will not be sent so the printer’s default value will be used. Example: The command to set the right margin to fifty columns is

“lp -o rm=50 filename”.

‰Top Margin

The top margin position can be specified with the following option.

Option Value

Alternate Value

Description

 

 

 

tm=value

 

Set the top margin to value lines.

 

 

 

If the top margin is set too high or too low part of the text may not appear due to the printer’s unprintable region. The top margin will be ignored if it is set to a value greater than the printer’s logical page length. Setting this value may affect the number of lines specified using the page length option.

If this option is not specified the command will not be sent so the printer’s default value will be used. Example: The command to set the top margin to ten lines is “lp -o tm=10 filename”.

‰Text Length

The text length can be specified using the following options.

Option Value

Alternate Value

Description

 

 

 

tl=value

 

Set the length to value lines.

 

 

 

If the text length is set too high, the part of the text may not appear due to the printer’s unprintable area. The text length will be ignored if it is set to a value greater than the printer’s logical page length minus the top margin. The text length is specified in rows from the top margin. Setting this value may affect the number of lines specified using the page length option.

If this option is not specified the command will not be sent so the printer’s default value will be used. Example: The command to set the text length to 40 lines is “lp -o tl=40 filename”.

136 Printing from an Application