Question: Print Order And Print Bill Print Error

Print Order And Print Bill Print Error

Hi, "Print Order and Print Bill Preview Print Error/Out of paper" I just buy this simplePOS yesterday, I have a problem, print order and print bill preview on small paper is not show

JC

Joko Ceper

Asked
Hi,

"Print Order and Print Bill Preview Print Error/Out of paper"

I just buy this simplePOS yesterday,
I have a problem, print order and print bill preview on small paper is not show fully or out of paper,

i have printer thermal 58mm the preview print is now show, if i user printer 80mm the preview before print is half on left side only, if on A4 paper is on center of pages, but if i change A5 or A6 paper preview is half of result.

please help me, because the option print order and print bill in important for me.

on payment reciept print is ok no problem, but on print order and print bill error preview not on center depend of size paper.
please see attactment to see the problem.

i attact 4 preview sc, defferent paper size
thanks regard
  • MS

    Mian Saleem

    Answered
    Hello,

    Have you tried to print? How was the result?

    The preview is like this due to minimum width style. If you need, you can add the following code to your header file `themes/default/views/header.php` before closing the head `</head>` tag.

    ```css
    <style>
    @media print {
    html, body, .pos {
    min-width: 200px !important;
    }
    }
    </style>
    ```

    Thank you
  • JC

    Joko Ceper

    Answered
    hi,

    if we print with printer 58mm the result is blank pages, if we print using 80mm the result half, as a preview before print,

    have you test on your site the issue? is that ok on your site?

    thanks
  • MS

    Mian Saleem

    Answered
    **[Joko Ceper](/u/jokoceper)** Hello,

    Yes, it was tested but might something changed in updates. Please add the code as in my previous reply then try agian. Please let me know the result.

    Thank you
  • JC

    Joko Ceper

    Answered
    hi,

    and i have try add this style

    <style>
    @media print {
    html, body, .pos {
    min-width: 200px !important;
    }
    }
    </style>

    before closing the head,

    result still same, blank,

    i think your script is default on center of A4 paper, if change another paper smaller than A4 preview will go on right side, the smaller the paper size preview go more left and disappear

    thanks
  • MS

    Mian Saleem

    Answered
    Hello,

    Might be model then, please replace the code with this

    ```css
    html, body, .pos, .modal, .modal-dialog {
    min-width: 200px !important;
    width: auto !important;
    }
    ```

    So the full code will be

    ```css
    <style>
    @media print {
    html, body, .pos, .modal, .modal-dialog {
    min-width: 200px !important;
    width: auto !important;
    }
    }
    </style>
    ```

    Thank you
  • JC

    Joko Ceper

    Answered
    Hi,

    Still same as before, new preview after change style is out of paper,

    Note : on the print payment doesn't have problem out of paper

    see attactment
    Thanks
  • JC

    Joko Ceper

    Answered
    Hi,..

    if you want try use printer driver for termal printer 58mm/80mm, i attact driver for you test and preview on your side.


    please help me...

    thanks
    regard
  • JC

    Joko Ceper

    Answered
    Helo admin,...
    What happend with my case..

    Thanks
  • MS

    Mian Saleem

    Answered
    Hello,

    I am not sure what's wrong here. I will check and update the item again on Monday.

    Please let me know your installation URL with login details in private reply.

    Thank you
  • MS

    Mian Saleem

    Answered
    Hello,

    We can't check local installations.

    Anyway I will test it and update the item.

    Thank you
  • Login to Reply