![](/images/backgrounds/157693/157693-178138x1.png)
4 PRINTING FROM UNIX
Some of the options only apply to plain text or PCL5e files.
Text WrappingThe 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
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
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
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
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
136 Printing from an Application