htmlfirefoxprintingnetwork-printers

Receipt Printer - print from webpage


I have a receipt Printer and it connected to Serial COM1 on to my comuter.

I am trying to print a receipt from the webpage and when it print... it just a blank without any text. (Blank receipt!). It work fine on IE8 but not working on Firefox 3.6

I have an Epson TM-T88II Printer and using "Generic / Text" driver on Windows 7.

What is the solution to this?

HTML code of receipt:

<html>
<head>
    <title></title>
</head>
<body>
    <div>
        <div>Company Name</div>
        <div>Customer Name</div>
        <div>Order No</div>
        <div>1 x Item</div>
        <div>1 x Item</div>
        <div>1 x Item</div>
        <div>12.00</div>
    </div>
</body>
</html>

http://jsfiddle.net/bu49K/


Solution

  • a solution: Have a look at jQPrint

    EDIT:

    Have a look at jQuery or other javascript plugins that do this, try jQPrint if it's still supported or try searching if the link is broken. I realise this is an old answer and they type of answer that is no longer permitted. Hopefully this helps.