Topic: How i can fix the invoice shape to small size Thermal printer
Hi All
Please i want to know How i can fix the invoice shape to small size Thermal printer
any one can help me for this i user frontaccounting version 2.3.4
Waiting your reply
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Reporting → How i can fix the invoice shape to small size Thermal printer
Hi All
Please i want to know How i can fix the invoice shape to small size Thermal printer
any one can help me for this i user frontaccounting version 2.3.4
Waiting your reply
Why don't you change paper size on your Browser
Hi notrinos
Can you tell what what do you mean change paper size on my browser how i can do that.
I mean choose paper size on browser when printing, like this
https://imgur.com/8EWm4Z1
You will need to adjust the font size and column size to fit in clearly and the paper size too can be set in the FrontReport object property while instanciation. All possible sizes are in the switch case statement in the constructor of the FrontReport class from Line 73 onwards in reporting/includes/pdf_report.inc.
I thought it was reporting/ #107 that had to be edited for the receipt?
The invoice is 107 and the receipt is 112 as per here
Go to: Windows Start Menu > Control Panel > Devices and Printers. Click Preferences, set the Paper Size to 72 x Receipt and click OK to return to the printer properties window. Click Advanced > Printing Defaults, set the paper size to 72 x Receipt and click OK to return to the printer properties window. Check for quality thermal and label printers here: https://munbyn.com/products/4x6-fanfold-shipping-labels
Printing a receipt on therminal printer requires a small size receipt like A7, A8 or A6. As of FA. We have A4 and Letter size. Which we are not giving other sizes by default.
But you can update the size in pdf_reports.inc switch case.
And then create a form file and place it inside reporting/forms/headerA7.php and copy the doctext and header2.php code to there..
And you need to try something to make the receipt looks fit in respective size.
And also make some changes and change SetHeader(HeaderA7)
With that your FA is ready to print receipts in other sizes. Its an example like that you can adapt or sizes and other reports.
We have done similar one like this for a friend.
FrontAccounting forum → Reporting → How i can fix the invoice shape to small size Thermal printer
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.