Printing Several payslips to PDF
Printing Several payslips to PDF
How can i print several payslips to pdf and post to different files eg 001.pdf 002.pdf etc
Re:Printing Several payslips to PDF
We have made some samples on this before but it kind of awkward in DE85.
However in LE9/DE9 this is completely straight forward.
However this solution just allow you to print to PDF "native" but the nifty bit is the changes do DocumentOpen()
Any DQL can be rendered to any printer, export, PDF, Email etc via DocumentOpen().
9.0 Onwards DocumentOpen with extra parameters added. At the moment it supports: DocumentOpen("DocName","window"), DocumentOpen("DocName","nooutput") (only without list records when using data-entry in this commit), DocumentOpen("DocName","export","filename") (only without data-entry in this commit), DocumentOpen("DocName","printer","printer 1..4 or the actual name or nothing for default printer") and DocumentOpen("DocName","pdf","filename").
DocumentOpen(name,"PDF", file). DocumentOpen(name, "preview") added. DocumentOpen(name, "printer", printername) now printer name can be "Application printer 1-4" or the name of the printer. Blank is default printer.
DE: added DocumentOpen("DQLName", "EMail", "pdfname.pdf", "EmailTo", "Subject" , "Body") will generate a pdf from the dql en send it using the emailsettings in ini file.
Prism: StringFind now supports extra paramters and not just 2.
DEOS("@emailsend" ... now supports attachments and you can skip from and it will use settings in ini.
Generating pdf, preview and email has a waiting function to make sure the pdf is generated before continue. It will time out after 5 seconds if pdf not generated properly.
Have a look at the WhatIsNew
Re:Re:Printing Several payslips to PDF
HI
I cannot find this DQL Print on our version?
DataEase Version | 9.0.0.4689 |
Is there a newer one to download?
Paul
Re:Re:Re:Printing Several payslips to PDF
Hi Paul.
The download attached to this thread is compatible with your version and you can use that instead. Our archive show us that we emailed you about this in July.
Re:Printing Several payslips to PDF
You will find more on some of the new stuff in This Included sample app.
Re:Re:Printing Several payslips to PDF
Yes, you did send that to us, but we opted to stay with the version we were on.
Re:Printing Several payslips to PDF
i have create mass payslip via email for 500++ employees with dataease 6.52