Operating System - HP-UX
1833645 Members
5092 Online
110062 Solutions
New Discussion

How to assign carriage control for printing

 
Randy Hagedorn
Regular Advisor

How to assign carriage control for printing

Hi,
We are transforming Cobol programs written for e3000 to PL/SQL and the lp command on hp-ux and are having trouble with transitioning printing techniques.

Can any one tell me how to assign carriage control to the report output for printing on H/P printers from hp-ux?

Thanks in advance.
Randy
2 REPLIES 2
Andreas Voss
Honored Contributor

Re: How to assign carriage control for printing

Hi,

to interpret cariage control under hp-ux you have to use the asa program.
Typical technic is to pipe through asa ie.:

program | asa | lp ....

where program has ouput on stdout.

See also 'man asa'

Regards
Dario_1
Trusted Contributor

Re: How to assign carriage control for printing

I am not sure if this will help but I will use asa to do it.

man asa for more information.

Regards,

DR