Discussion on:

Message 1 of 1
0 Votes
+ -
Linux landscape printing in Informix program
Dear Sir,

Good Afternoon sir. I need help.

On UNIX environment we were print on portrait and landscape with the following command line:

FUNCTION LandsPrint()
LET cmdline = " "
LET cmdline = "lpr -c -n ", copies clipped, " -d", printer clipped,
" -olandscape -otl66 -oc -ovsi5 -o nb -o 12 ", w_reportname
RUN cmdline
Prompt "Report is being sent to Printer - Press Return" FOR Answer
RETURN
END FUNCTION

FUNCTION LandsPrint2()
LET cmdline = " "
LET cmdline = "lpr -c -n ", copies clipped, " -d", printer clipped,
" -olandscape -otl43 -oc -ovsi8 -o nb ", w_reportname
RUN cmdline
Prompt "Report is being sent to Printer - Press Return" FOR Answer
RETURN
END FUNCTION

How could I print in CentOS Enterprise Linux ?

Thanking you in advance.


Felix Mwango Mutale

University of Zambia
Posted by fmutale
12th Jun 2009