Certainly that should be possible (assuming the barcode type can be decoded - pdf417 is still WIP in libzbar atm). It would be easiest if the DHL webpage accepts the barcode as parameter in the URL. Do you have a link to the relevant pages?