|
From: | Yusif Suleiman |
Subject: | Re: [Health] Thermal printer setting for LibreOffice |
Date: | Thu, 28 Apr 2022 14:44:21 +0000 |
Dear Axel,
I have successfully reduced the size of all the contents of the invoice template so that when changing the layout to meet the paper size the contents will not go out of range.
see the attached new template (am sorry, this give error on paste.opensuse.org).
I got this error message. I try to make sure all the content of the original template noting is missing.
Please, guide.
Regards,
Yusif
Traceback (most recent call last):
File "/trytond/wsgi.py", line 89, in dispatch_request
return endpoint(request, **request.view_args)
File "/trytond/protocols/dispatcher.py", line 45, in rpc
request, database_name, *request.rpc_params)
File "/trytond/wsgi.py", line 60, in auth_required
return wrapped(*args, **kwargs)
File "/trytond/protocols/wrappers.py", line 122, in wrapper
return func(request, pool, *args, **kwargs)
File "/trytond/protocols/dispatcher.py", line 175, in _dispatch
result = rpc.result(meth(*c_args, **c_kwargs))
File "/trytond/modules/account_invoice/invoice.py", line 2454, in execute
result = super(InvoiceReport, cls).execute(ids, data)
File "/trytond/report/report.py", line 183, in execute
oext, content = cls._execute(records, data, action_report)
File "/trytond/modules/account_invoice/invoice.py", line 2435, in _execute
result = super(InvoiceReport, cls)._execute(records, data, action)
File "/trytond/report/report.py", line 191, in _execute
return cls.convert(action, cls.render(action, report_context))
File "/trytond/report/report.py", line 282, in render
fd, path = cls._prepare_template_file(report)
File "/trytond/report/report.py", line 259, in _prepare_template_file
raise Exception('Error', 'Missing report file!')
Exception: ('Error', 'Missing report file!')
From: Health <health-bounces+yusifsuleiman=hotmail.com@gnu.org> on behalf of axel.braun@gnuhealth.org <axel.braun@gnuhealth.org>
Sent: Monday, April 25, 2022 10:07 AM To: General GNU Health discussion and help <health@gnu.org> Subject: Re: [Health] Thermal printer setting for LibreOffice Hello Yusuf,
Am Montag, 25. April 2022, 00:04:57 CEST schrieb Yusif Suleiman: > > The paper on the xprinter is about 2"x4" > (https://paste.opensuse.org/64307111). Because of how little is the paper, > printed information cannot be visible, as you can see from the attachment. You need to adapt the layout of the invoice to that paper size! And then you try to print to PDF first, to see if layout is OK and evreything is visible. Cheers Axel |
invoice.fodt
Description: invoice.fodt
[Prev in Thread] | Current Thread | [Next in Thread] |