Hey y’all! I’ve been using Manager with the default Invoice template but I decided to design my own. However, whenever I try printing the invoices, some elements appear as mashed up together. I read somewhere in the forum from a replay by @lubos that to render correctly, one has to email it. This did not fix the problem. In fact, an invoice with only one item spans 2 pages. I had added a ‘Thank You’ image at the bottom of the invoice which displays well when viewed on Manager, but only an empty box shows on the rendered invoice. I had not tried the email option prior to updating to version 16.7.95 which I noticed broke a few things including previewing your custom view template as you modify it. The drop down which allows you to select an invoice shows “no match found”.
Whatever size it is, make a a little smaller. It looks like your printout is just ever so slightly too wide for its columns, making rows wrap to a second line, which makes your invoice run into a second page. (For some reason, when Manager prints, it always seems to come out with wider margins and a slightly larger font than what it displays on the screen. Things that look like they fit onto a single line on the screen in Manager often seem to run into two lines when printed.)
I don’t see which image you’re referring to.
@Lubos has indicated that he will eventually be revamping the printing engine by incorporating a PDF engine into the core program. It’s a big task and it’s not at the top of the roadmap, so it’s not something we should expect for a while. For now, printing relies on the printing capability of your web-brower’s rendering engine or on an external PDF generation tool (or something like that).
You can also try right-clicking your invoice on the Manager screen, selecting Print preview... and changing the print-size drop-down (in the preview screen’s toolbar, last box on the right) to something besides Shrink to Fit and see if it makes a difference. You can also try tweaking the print margins from that screen.
Thanks @Jon . I shall give that a try. About the image, if you look at the invoice as shown on Manager, there’s the image that says “Thank You” on the left side of the payment details. A empty box is shown instead on the rendered invoice.
You need to configure your Google account to permit the image file to be fetched from any computer. When I try to fetch the image file, I get a 403 error, which means I don’t have read rights to the file. The same thing is probably happening when Manager is trying to fetch the file. Please post the file on a world-accessible web server and try again.
As an aside @ChrisWambugu: It probably still won’t work in Manager, but for future reference, note that the standard way of sourcing a local file is file://host/path/filename.ext. Some browsers will accept the format without the file: part and with backslashes instead of slashes, but it’s non-standard. Google “file URI” for more detail.
Your example should be <img src="file://c:/(some path)/Local/Manager/src/thanks.png">.