Simplicty and flexibility!


Printing Several payslips to PDF


Started by Godfrey
Search
You will need to Sign In to be able to add or comment on the forum!

Printing Several payslips to PDF

How can i print several payslips to pdf and post to different files eg 001.pdf 002.pdf etc


Written by Godfrey 24/10/22 at 14:39:20 Dataease [{8}]FIVE

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


Written by DataEase 26/10/22 at 16:43:50 Dataease [{8}]FIVE

Re:Re:Printing Several payslips to PDF

HI
I cannot find this DQL Print on our version?

DataEase Version9.0.0.4689

Is there a newer one to download?

Paul


Written by Paul Cheeseman 27/10/22 at 09:59:16 Dataease [{8}]FIVE

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. 


Written by DataEase 27/10/22 at 10:11:50 Dataease [{8}]FIVE

Re:Printing Several payslips to PDF

You will find more on some of the new stuff in This Included sample app.


Written by DataEase 27/10/22 at 10:17:47 Dataease [{8}]FIVE

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.


Written by Paul Cheeseman 27/10/22 at 11:46:45 Dataease [{8}]FIVE
DG3_ForumList