Pint to PDF and sent email 追蹤

0
Avatar
Raul Jimenez

Hello,

our Bartender version is Automation 2021.

We currently have a working set up such as:
-our ERP sends a JSON with a CSV to the integration
-all records are printed in a local printer

We would like to achieve the same plus:
-creating a PDF identical to what has been printed
-send it via email

Is this possible? Could you point us the ressources where to understand how we can set this up?

Thank you

4 意見

0
Avatar
Al Perez
版主
評論操作 永久連結

Hi Raul, thanks for posting in our community threads. Please note, 'creating' a PDF entails 'printing' to a PDF format - if you're printing to a local printer and then to a PDF driver, you'd be printing the same job twice. What is the intention of having a second print job and then sending it via email? Could you tell us more about that?

Instead, you could use BTXML to generate a PDF image of the label you've just printed - for more information, see http://help.seagullscientific.com/2021/en/Subsystems/BTXML/Content/ExportPreviewCommand_Tag.htm. I'm not sure how you could implement that - along with a 'send email' action.

I think to properly give you some answers, you should consider instead opening up a case with Technical Support and then ask to see if you can schedule a consultation with Professional Services; the type of Integration your running, if your license supports it, and the types of actions required are going to matter and it's not an easy answer to give over this thread when I think about this more. You can open a case with support here.

Thanks again!

 

0
Avatar
Roderick Bolt
評論操作 永久連結

Was this ever solved? I've got a similar one. We want to print out our software certificates to put in with the packages as well as email a copy of that certificate to the client as well.

0
Avatar
Pete Thane
評論操作 永久連結

Doesn't the answer above cover this? 

If I was looking at doing this I would look at using an Integration in Integration Builder, something along the lines of:

1. Log to text file the output in the printed label but must include the data needed for the email, such as the target email address.

2. Create a file integration that performs three actions namely creates the PDF "label" via BarTender and saves it in a set folder, sends an email to the address contained in the log from 1 containing the PDF and then moves or deletes the PDF

I have not tested this but all the functionality looks to be available in Integration Builder

0
Avatar
Roderick Bolt
評論操作 永久連結

I get that majority of it can be done with BTXML, but how do we get it to send the email as well as export the image? It doesn't mention that above. They suggested about raising a support case and I'm wondering if that was done and if they found a solution for this?

登入寫評論。