Results 1 to 6 of 6
Dear All,
Good Afternoon All. I need help.
On UNIX environment we were printing on portrait and landscape with the following command line:
FUNCTION LandsPrint()
LET cmdline = " "
...
- 06-13-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 5
Landscape Command line printing
Dear All,
Good Afternoon All. I need help.
On UNIX environment we were printing 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 ? I have tried the cpi and lpi but on some documents, I losing characters on the right margin. How can I avoid this ?
Thanking you in advance.
Felix Mwango Mutale
University of Zambia
- 06-13-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Are you still using LPR, or are you using CUPS? In any case, the orientation settings are, AFAIK, dependent upon the application, and the margins are set there as well, though some fonts might be miscalculated for size.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-14-2009 #3Just Joined!
- Join Date
- Apr 2009
- Posts
- 5
Landscape commandline printing
Dear Sir,
On UNIX we were using LPD and LPSCHED as Print service and on Linux the Printer service is CUPS but the queue type is 'Networked UNIX (LPD).
I wonder if this could be resolved. I have noticed that Making some words Bold is not coming up as expected. In the informix program for SCO UNIX, I have the following code:
LET BoldOn = ASCII 27, "(s1B"
LET BoldOff = ASCII 27, "(s0B"
But this does not seem to work in CentOS Linux. Would you you know how I can manipulate text in informix to BOLD ?
Thanking you in advance.
Felix Mwango Mutale
- 06-14-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,970
Sorry. I don't know how to do that - haven't used LPD and friends for about 10 years. I think the brain cells that used to hold that information have long since either died or have been repurposed to things like making expresso...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-01-2010 #5Just Joined!
- Join Date
- Apr 2009
- Posts
- 5
What is "AFAIK"?, And how do I get around it ?
Thanx.
Felix Mwango Mutale
- 06-01-2010 #6


Reply With Quote
