If your scanner is not working simply by plugging it in, you likely need to install a driver to switch modes or enable USB-COM communication.
Avoid "driver download" websites that ask for money or require you to install "driver updater" software. These are often malware. The official drivers for the Z-3220 are completely free . Zebex Z-3220 Barcode Scanner Driver Download Free