arduino as isp and to burn atmega16 using avrdude compiler

I am trying to burn my atmega16 with arduino as ISP. So far the codes have been uploaded to my arduino flawlessly. I have uploaded arduino as ISP codes to my arduino, I have burnt bootloader of atmega16 using arduino IDE. As I sent the blinking code from arduino IDE this went flawlessly (meaning it gave notification 'done uploading') But the atmega is not showing the response, i.e. hardware is not working. And that is my case I issue. Case II: Furthermore, when I tried sending hex file (core working code) with avrdude compiler, it says ser_open() ... can't find lpt1. Is this the problem of avrdude's compiler? In case II there it didn't even upload the code, let alone the working of hardware. Please help.

Give us a step by step of what you're doing. We can't tell from your description if you are following the right steps. For example, don't know what type of Arduino you are using, don't know if you disable auto-reset, don't know if you use Upload Using Programmer on the menu, don't know what your circuit looks like for the ATmega16, etc. The IDE has a preference setting for show verbose output during upload, it would be good to see output from that.