Hello!

i need to fill the salaries of each employee in to company payslips using php.
the format of the payslip has been attached.
slp.jpg
The payslips are printed in continues sheets having the width of 11 x 5.5 inches.
We have Epson LQ-2180 for printing.

i have the following css

Code:
<style type="text/css">
@page { 
    size:11in 5.5in;
    margin: 0.5cm;
}
</style>
now in google chrome and in IE, the print preview shows the page size and shape correctly as like in the slip (see the chrome print preview attachments ).preview.jpg preview2.jpg

but when i feed the slips and prints, the values are printed in horizontal fashion.

i tried sizeortrait and size:landscape, no effect
Code:
@page { 
    size:11in 5.5in;
    margin: 0.5cm;
    size:landscape; //tried portrait also. no effect.
}
i also tried the built printer properties 'Landscape' orintation, nop no use.