01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SETPRINT ( 1 ) SETPRINT ( 1 )<br />

NAME setprint - send a different page length/width to an LP line printer<br />

SYNOPSIS<br />

setprint lines cols<br />

DESCRIPTION<br />

Lp uses a default page length (66 lines) and page width (132<br />

columns) for printing. If the file to be printed has more than 132<br />

columns, all characters beyond 132 would either be truncated or<br />

the printer would continue to print them all on the last character<br />

position.<br />

Setprint allows you to change the line and column size parameters<br />

to whatever your printer can handle. However, setprint can only<br />

be used with a parallel line printer, and that printer must be<br />

online. Otherwise an 1/0 error will occur.<br />

EXAMPLE<br />

To change the page width to to 150 columns, use setprint as follows:<br />

setprint 66 150<br />

Use the following format to set the page width back to 132<br />

columns:<br />

setprint 66 132<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!