M
M
Max2017-07-26 16:12:53
Document flow
Max, 2017-07-26 16:12:53

Printed forms of documents (invoice, act, SF, UPD) with what help do you make them?

In our web application, clients can create accounting documents: invoice, act, delivery note, invoice and UPD.
And then download the printed form in pdf or excel format.
We prepare printed forms in JasperSoft Studio and use the library for generating forms , they are free.
Jasper has many features:

  1. printing documents with logo, signature and seal
  2. multi-page documents are supported (you can set conditions for when and which elements go to the next page to make it look nice)
  3. headers and footers
  4. there are internal variables and conditions can be written (for example, if this is an individual entrepreneur, then such and such fields are filled in and the signature is put here, if LLC, then other fields)
  5. we use our proprietary font and it is inlined in pdf files
  6. we print pdf and xlsx files - Excel is convenient because the client can edit it
  7. allows you to combine several printable forms into one file at once (for example, when printing pdf, an act goes on the first page, and an invoice goes on the second, and in Excel they are on different sheets of the document)

As a result, it turns out to make pixel-perfect pdf files, and a decent level of Excel.
But I will say right away that this is a very, very long time. It took 40 hours to make the UPD (measured by the tracker). And there is a struggle for every pixel.
Most problems with Excel:
  • if the elements overlap by at least a pixel, they do not get into the file (they just disappear)
  • you can’t make a picture of the organization’s seal on top of the form - part of the form disappears (where the name of the director, line and the inscription “signature”)

I also want to enable clients to simply create their own document by inserting tokens (@name, @doc_date, @doc_number) into it, and then pass the template file and token values ​​to the generator (@name='Ivanov Vasily', @doc_date='07/26/2017 ', @doc_number='75'), and get a finished excel at the output?
Does anyone have any successful experience with other systems just to print a document? What do you use to print documents?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2017-07-26
@senal

I generate pdf from xml documents using xsl-fo. Getting pixel perfect is no more difficult than making it up in html.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question