Hello All,
I wonder if you are in a position to help. I have been struggling to get bold text in informix for CentoS 4.8 and I
wonder if you know someone who could help. I have edited lpoptions and changed the settings but, this has not helped atall.
I have the following declarations and print command in my informix-4gl but things don't seem to get right.
DEFINE BoldOn CHAR(6),
BoldOff CHAR(6)
LET BoldOn = ASCII 27,"(s4B"
LET BoldOff = ASCII 27,"(s0B"
also tried this:
LET BoldOn = ASCII 27, ASCII 40, ASCII 115, ASCII 51, ASCII 66
LET BoldOff = ASCII 27, ASCII 40, ASCII 115, ASCII 48, ASCII 66
PRINT COLUMN 1, BoldOn CLIPPED, " ", "TO WHOM IT MAY CONCERN", BoldOff,
COLUMN 54, BoldOn CLIPPED, " ", "Ref: ", BoldOff CLIPPED, r_refno
PRINT COLUMN 1, BoldOn CLIPPED, " ", "This is to certify that: ", BoldOff, r_surname, " ", r_firstname
and this what I am getting:
^[(s4B TO WHOM IT MAY CONCERN^[(s0B ^[(s4B Ref: ^[(s0B 9844510
^[(s4B This is to certify that: ^[(s0B NAMONJE CAROL
^[(s4B is a registered student of the National Institute of Public Administration^[(s0B
We have HP LaserJet P3005 and P3015 Printers.
How can I avoid printing these characters and instead print [b]Bold letters[/b] ? Are there any settings I need to do in Environmental variables or CUPS settings or indeed the spooler ?
Your help will highly be appreciated, I really want to have this work.
Felix Mwango Mutale
fmutale02@yahoo.com