hand-dot / labelmake

labelmake has moved and now available at pdfme / https://github.com/pdfme/pdfme

Home Page:https://labelmake.jp/javascript-pdf-generator-library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About generating PDF file name automatically.

eg2data opened this issue · comments

Hi, I really want to appreciate your help last time(#59).
I'd like to share my current point that I've been curious about and get your tips if possible.

The point is about generating Pdf file name depending on the request.
Do you think it is possible to change Pdf file name in accordance with changes that I intend to?

For example, in my code, the file name is fixed as "index(1, 2, ......).pdf".
My intention is to generate Pdf files having different name, every time to do "npm run generatePdf.js", automatically.

If you think the question above is not defined clearly, please feel free to require me more information.
Thanks!

스크린샷 2021-12-26 11 11 55

@eg2data
Hi, sorry i don't know, because this problem is not about this library.
but you can use uuid library for filename.