Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Line Printer CPI

Status
Not open for further replies.

Almow

Technical User
Jan 3, 2002
16
US
I have a app printing to a HP 4050 but at compressed. The Unix app cannot set the CPI/LPI itself so i want to know how to change it from the command line.

-albert
 
how about echo ` command string ` > /dev/lp0. Haven't done it in a long time and the memory has faded.
Probably would be better to create a new printer and include the normal size stuff before the file dump and resize it after the dump in the interface script.
The echo uses back primes as delimiters. Ed Fair
efair@atlnet.com

Any advice I give is my best judgement based on my interpretation of the facts you supply.

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top