Command to create IMBarcode and upload to AccuTrace

All things related to the Script feature of AccuZIP6, including the Script Monitor.

Moderators: Chrissy, Steve, Terry, Donna, Dave, Eric, MartyH, Kristen, Geoff, Vince

Post Reply
User avatar
Eric
Moderator
Posts: 1907
Joined: Tue Sep 19, 2006 3:29 pm
Contact:

Command to create IMBarcode and upload to AccuTrace

Post by Eric » Fri Apr 06, 2012 7:41 am

This command will create the IM® Barcode and then upload the file to your AccuTrace Portal during your Script.


Download this compressed AccuTrace command and extract the “imb_accutrace_upload.txt” file into the \AccuZIP6 5.0\Commands\ folder.

Add this command to your Script directly AFTER the Presort Event.
Chat with an AccuZIP6 technician weekdays from 7-4 PST with AccuZIP6 Live Online Support

User avatar
Eric
Moderator
Posts: 1907
Joined: Tue Sep 19, 2006 3:29 pm
Contact:

Add the Job Description to the upload

Post by Eric » Fri Mar 07, 2014 11:33 am

Add the command lines below to the IMB Upload command, at the beginning of the command, in order to add the Job Description to the upload.

=STRTOFILE("[CONFIG]"+CHR(13)+CHR(10),FORCEEXT(rpt_presortpath+JUSTFNAME(rpt_filepath),"dat"),1)
=STRTOFILE("[ACCUTRACE]"+CHR(13)+CHR(10),FORCEEXT(rpt_presortpath+JUSTFNAME(rpt_filepath),"dat"),1)
=STRTOFILE("JOB DESCRIPTION=I LOVE ACCUZIP"+CHR(13)+CHR(10),FORCEEXT(rpt_presortpath+JUSTFNAME(rpt_filepath),"dat"),1)
Chat with an AccuZIP6 technician weekdays from 7-4 PST with AccuZIP6 Live Online Support

User avatar
Terry
Site Admin
Posts: 1980
Joined: Wed Sep 20, 2006 3:45 pm

Re: Command to create IMBarcode and upload to AccuTrace

Post by Terry » Fri Jul 21, 2017 10:35 am

If you wish to upload to AccuTrace WITHOUT presorting, you can use this command syntax instead:

Code: Select all

com_Alias=ALIAS()
SELECT(com_Alias)
com_IMB=CREATEOBJECT("utilities")
com_IMB.iMailBc()
SELECT(com_Alias) 
oPrintBc.Upload_TrackingCodes("")
SELECT(com_Alias)

Post Reply