Question: Receipt Layout Differences

Receipt Layout Differences

Hello, We have a purchased 2 copies of this product and one of them version is 4.0.29 and the other one is version 4.0.32; we had made changes on receipt print layout inside the view php fi

M

maz

Asked

Hello,

We have a purchased 2 copies of this product and one of them version is 4.0.29 and the other one is version 4.0.32; we had made changes on receipt print layout inside the view php file and it looks as we wish ( the one of version 4.0.29) we have applied the same changes to the new version (4.0.32) view php file… when we print it show correct layout at the screen BUT when print no lines appear in the receipt.

Please refer to the attachments for more details.

Thnaks, Mazyad

  • MS

    Mian Saleem

    Answered

    Hello,

    That might be due to printer. As you are using the web browser as printing settings. The browser will send the print same but the printer might different.

    Second reason I can thought of is the print styles. The border might be set to none for print.

    Thank you

  • E

    Ehab

    Answered

    Hello Sir,

    We are using the same printer to print the receipt.

    The border style in View PHP is NOT set to non. The effects of any changes made on View PHP file presented correctly at the screen on click “submit” button at POS, see attached screen “Screenshot-(29)”. But when click “Print” button and receipt previewed as on screenshot “Screenshot-(30)” the design looks different and so the print out is the same wrong!!

    We are looking for your advice.

    Thanks, Mazyad

  • MS

    Mian Saleem

    Answered

    Hello,

    As you can see the print preview is not showing the border so they might be set disabled for print. You can try this

    @media print {
      td, th { border-bottom: 1px solid #000 !important; }
    }
    
  • E

    Ehab

    Answered

    Hello,

    What is the file name are used when “Send print as” --> “Image” selected ? And Can I make a modifications on it ?

    Thank You.

  • MS

    Mian Saleem

    Answered

    Hello,

    The send print as image view file is themes/default/views/pos/eview.php for all but in latest version it has changed to themes/default/views/pos/view.php for web browser other still use eview.php

    You can modify the item code as you need as per license.

    Thank you

  • Login to Reply