But I'm not able to print one bold line.
Will someone please help out?
I would suggest not using escape sequences and LPT1. Instead I would load a driver for the printer and print using the following:
Printer.Print
I've seen code like you mentioned and I believe the easier way is to just use the driver and set the Printer device to the proper printer device. You should be able to set the font along with the font properties as you desire using VB6's printer object.
But if you want to do it like you mentioned, then I believe you need to send the proper escape sequence to notify the printer that you are going to send an escape code.
Don't know if you want to go that route, but in the long run that would probably be the easier way and allow for the use of different printers not tied to