peskywinnets
Registered User.
- Local time
- Today, 12:26
- Joined
- Feb 4, 2014
- Messages
- 576
So I'm using UPS's API to create a shipping label...quite an ordeal, but I'm at the last stage now.
Ultimately, they return the shipping label to be printed in the following format (GIF or HTML Image) via XML...
...what would be the mechanism here to get that data to automatically print! (I know how to extract the GIF data from the XML - so my line of questioning is more to do with what options I have to act upon the GIF data)
Do I save the data to a file first (e.g. label.gif) & then use some VBA to open the gif file in a browser (where I can manually print)...or is there some way I can automatically print? (preferred!)
Many thanks.
Ultimately, they return the shipping label to be printed in the following format (GIF or HTML Image) via XML...
Code:
<[B]GraphicImage[/B]>895UIGJ89XCASDVIGFUISDFNKLFSDANUI43UIT34IONSDFK
HG89GUKGJNGKDJFKDJDGKJDKFSDU089REUTDRKJOEIOUTERIJREIKGRJIGOWEJIEJIEGJ
GRIOEJGRIGJIODJGFIODFJSIOUDFIOGDFUGDF890ERUTRIOGTJRDIOOGJGIOSDFJGIOJGIOJ
IOGFUGJIOGU90E8T9TRFIRWEU90WERU90WU90WTU90WUT09WEUTWRJGKSDFJGIOSDFJ
GOISDFJGIOSJSD</GraphicImage>
<[B]HTMLImage[/B]>JDFSKAATRIOERHIOEGHNVIXCUIFGJMFDGMAN8Y89H54JM
N1MK345H8SDHFDHGJKGHFDJKGHDGKSFJAH893YTUITNGDFJSGH8935Y5RTHDDFJKHT89
HTJETHWER8934Y89534KGNDFOJKKH893RYETFIHTRUIOEY89TY34IHDFUIHGRU9T38934UI
THDIUJTHEQW89RY8WIERHT9RI</HTMLImage>
...what would be the mechanism here to get that data to automatically print! (I know how to extract the GIF data from the XML - so my line of questioning is more to do with what options I have to act upon the GIF data)
Do I save the data to a file first (e.g. label.gif) & then use some VBA to open the gif file in a browser (where I can manually print)...or is there some way I can automatically print? (preferred!)
Many thanks.
Last edited: