Can a BTXML file contain embedded printer label template information or point to a remote file?
We are using Integration builder to poll an FTP site for BTXML print job files.
Depending on the print job we want to use different print label templates and right now are utilizing the <Format> tag to point to the template file (eg: <Format CloseAtEndOfJob="true">C:\Users\{USER_NAME}\Documents\BarTender\Templates\MyTemplateFile.btw</Format>)
The issue with this is each printer would have to keep the template file(s) stored locally in that exact file path.
Is there a way to either...
- Embed the label template file data in the BTXML itself
- OR
- Point to a downloadable file on a web server (eg: <Format CloseAtEndOfJob="true">http://www.mysite.com/templates/MyTemplateFile.btw</Format>)
- OR
- Point to a downloadable file on an ftp server (eg: <Format CloseAtEndOfJob="true">ftp://ftp.mysite.com/templates/MyTemplateFile.btw</Format>)
- Presumably the ftp credentials would be the same as where the BTXML files are gathered from
-
正式評論
Gene Henson
正式評論★ BarTender Hero ★
There's no way to embed the template file directly in the XML. However, you can use Cloud storage to retrieve documents from any of these locations:
- Amazon S3
- Dropbox
- Microsoft OneDrive
- FTP
- FTPS
- SFTP
- WebDav
Depending your setup, one of those options should get you what you need.
Here's a link to the BarTender help topic on this: http://help.seagullscientific.com/2016/en/#../Subsystems/AdminConsole/Content/Int_CloudStorage.html
-
Matt Dolnik
★ BarTender Hero ★
"Depending your setup, one of those options should get you what you need."
Since I am already getting the BTXML file from FTP (ie: I already have the FTP credentials setup) how would I set this up in the BTXML to point to the remote template file?
If I put in <Format CloseAtEndOfJob="true">ftp://ftp.mysite.com/templates/MyTemplateFile.btw</Format> Then I get this error when running the integration:
Failed to run action 'Print BTXML Script'. Details: BarTender document 'C:\WINDOWS\system32\config\systemprofile\Documents\BarTender\BarTender Documents\ftp://ftp.mysite.com/templates/MyTemplateFile.btw' does not exist or can not be accessed.
So it doesn't seem to be looking at the FTP for the template file, it's just appending the url to a local folder and failing.
0 -
Matt Dolnik
★ BarTender Hero ★
I have been told by a Bartender representative via email that: "We reviewed this internally and it looks like at the moment you cannot access BTW files in Cloud or FTP storage. We apologize for the inconvenience but we have made a feature request for you to our development team."
So I guess that answers my question.
If anyone has a work-around please respond.
0
請登入寫評論。
評論
3 條評論