Regarding print option

Actually I never use print option ………

Now my task is to print a document have vary small size just like in visiting card format

Is it possible in though script or command (my paper size is fixed just like in visiting card)

And my application will run on web…………….

If any body have any idea please help me………………………………………

Its urgent

Thanks

rupesh