Quantcast
Channel: RM COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 207

Linux Printing need to set page width

$
0
0

How do I set the number of columns per line? 

On the AIX we could define page width in number of characters with this option -w#.

My issue is the report is wrapping making the report look double spaced. I turned the option to show non printing characters (pr --show-nonprinting). The report printed correctly with the notation of \15 on each line. The report did not look double spaced.

In the Devices file for C-SHELL I have the following:

setenv LPU1C "|pr --length=65 --pages=2 |lp -d LPX1 -o cpi=17 -o lpi=10 -o page-right=24 " 

 

When I type it in the command line it prints correct:

pr --length=65 --pages=2|lp -d LPX1 -o cpi=17 -o lpi=10 -o page-right=24 /PRT/WORM/Filename

 

 


Viewing all articles
Browse latest Browse all 207

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>