FerdaSonmez Posted December 17, 2013 Share Posted December 17, 2013 Hi, I have to print deliveryslip with epson dot matrix printer because our financial affairs department wants the delivery slips in 3 copies using continuous form paper. I managed to arranged the data in the correct places to fit the continuous form paper(it is not empty paper). But when I print it does not show the charters properly I can not read the result.. When I change the file manually to docx file, change the font to courrier new and print using same printer everything is ok. The quality of the printout is good. Neverthless we can not do this manualy for every order it will be too complicated for the user and it will take too much time. I tried to change the default font which was 'freeserif' in PDFGenerator.php to 'courrier new' but I got an error. Report didn't work at all. I am not sure if this changing font will be a solution for my problem. Is there a way that prestashop gives out txt or docs report instead of pdf report? I couldn't find where I can change the file type. Thank you.. Link to comment Share on other sites More sharing options...
tuk66 Posted December 17, 2013 Share Posted December 17, 2013 There can be PDF invoices in PrestaShop only. It is not so simple in PHP to create such a complex document in an other format (doc, docx). Is your printer 9 or 24 dot matrix one? Try to set bigger font size for more readable print. Link to comment Share on other sites More sharing options...
ibndawood Posted December 18, 2013 Share Posted December 18, 2013 Hi, This is infact an interesting problem. From what I understand prestashop uses tcpdf classes for generating PDFs. Here is the link : http://www.tcpdf.org/fonts.php By default TCPDF supports Courier Font, but prestashop installation does not have the courier font in their fonts. You can do a trial and error. The folder to look is tools/tcpdf and classes/pdf. Hope this helps. Link to comment Share on other sites More sharing options...
array064 Posted August 31, 2014 Share Posted August 31, 2014 I think Prestashop must provide an invoice in plain text form in addition to the PDF form. Because Dotmatrix printer may be operated optimally when printing plain text documents. In addition, there are many offices that still require dotmatrix printer. Link to comment Share on other sites More sharing options...
charlie164 Posted August 7, 2019 Share Posted August 7, 2019 I have recently purchased Epson printer but when I tried to connect it with my laptop, an unwanted Printer Error 0xe8 occur, can anyone tell me a valid solution to Fix Epson Printer Error 0xe8 which is continuously showing on my system. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now