Question: Printer Pos-58 Rpt006 3Nstar

Printer Pos-58 Rpt006 3Nstar

Hello sir, I have a printer of that brand and the print comes out cut off on the paper, please help me solve it, I have it connected via USB, when I print with the browser I get half the pri

WG

Walking with God

Asked

Hello sir, I have a printer of that brand and the print comes out cut off on the paper, please help me solve it, I have it connected via USB, when I print with the browser I get half the print.

the complete impression does not come out.

  • MS

    Mian Saleem

    Answered

    Hello,

    Can you please share the phot of the receipt that was printed?

    Thank you

  • WG

    Walking with God

    Answered

    https://ibb.co/qJJqtyR

    https://ibb.co/4P5CX40

    This sir, 58 and 80 mm, please solution

  • WG

    Walking with God

    Answered

    This problem Is in POS/View, When it prints on the paper it also comes out that way, in half, not all the columns of the table come out, it is split, The same thing also comes out in the other prints, from the popups

  • MS

    Mian Saleem

    Answered

    Hello,

    Can you please print it and share the printed receipt photo?

    Thank you

  • MS

    Mian Saleem

    Answered

    Hello,

    Can you please try to test this on live demo too?

    I suspect it is due to modal dialog but I’m not so sure. Please try to add the following code before </head> in themes/default/views/pos/index.php

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

    Thank you

  • WG

    Walking with God

    Answered

    Sir, the code that you sent me is already implemented in the index https://ibb.co/tbMHsvJ, as I mentioned, the content of the invoice is cut in half, it is not complete, sir, I am sending you the images.

    The printing of both print_bill is cut, as well as the payment billing and the paper.

    https://ibb.co/xjWgRSj https://ibb.co/SXdDLVb https://ibb.co/9WtHwwr

    Code in pos/view – https://ibb.co/7CsxCNC

    please helpme sir.

  • MS

    Mian Saleem

    Answered

    Hello,

    You are the second person who is having this issue, and I am not sure why, but you can try following

    1. Change printer and see the preview again.
    2. Try a different browser and check the preview.
    3. Please try checking the preview of live demo to compare.

    Mostly margins can do such, but you have already set the margin to none. Your preview should be same as on live demo.

    Thank you

  • WG

    Walking with God

    Answered

    sir, the same thing appears in the demo https://ibb.co/qphXrWB and where I have it installed https://ibb.co/kSS3LKP.

    I don’t know what to do anymore, sir, I’ve tried everything and it still doesn’t come out. Removing the margins leaves the font reduced and everything on the left https://ibb.co/DWpY7C7 , it doesn’t come out centered. This happens when I remove the margins.

    I’ve already tried it in all the browsers and the same thing, I’ve already used up two rolls of printing paper.

    You tell me to change printer but I want it to print on the 58 mm one, of course it will look better on another printer with larger paper.

  • MS

    Mian Saleem

    Answered

    Hello,

    I am sorry as I thought you were talking about bill/order printing. You are printing receipts. Please edit header file themes/default/views/header.php and add the following code before </head>

    <style>
    @media print {
        * { height: auto !important; min-height: 0 !important; max-width: 100% !important; width: 100% !important; min-width: 150px !important; margin: 0 !important; }
    }
    </style>
    

    There is no need to waste papers. You can check the print preview it should be full width then should be okay otherwise 😦

    Thank you

  • WG

    Walking with God

    Answered

    Sir, the table is cut, the header remains normal without being cut, now it is the table that is cut https://ibb.co/BCgyq3x I send the code https://ibb.co/zRB0yL8, If I put that code below the original, the same thing comes out, sir, I’ll tell you this in case you say why delete the other one.

  • Login to Reply