Mac OS X Server,  Mass Deployment,  Network Infrastructure,  Windows Server

Using the ExtremeZ-IP Command Line

When you are configuring ExtremeZ-IP as a print server, you will need to set up and configure each printer. However, if you already have setup and configured printer queues for the Windows server, you can import existing queues into ExtremeZ-IP. This can be done programatically via the ExtremeZ-IP EZIPUTIL command line tool.

EZIPUTIL has a number of options, whereby the SERVER option is used to configure global settings for ExtremeZ-IP, VOLUME is used to create, edit and delete print queues and PRINT is used to manage shared print queues. Each of the options also has a number of switches for the feature(s) that are being managed. These are structured as standard switches that are used in Windows batch scripting. The /IMPORT switch can be used to import print queues. By defining the WINDOWS setting for the import, you will recreate all printer queues from Windows. This command would look like the following:

EZIPUTIL PRINT /IMPORT:WINDOWS

Once the command has been completed, you can then list printer queues using the /LIST switch:

EZIPUTIL PRINT /LIST

Once you have created printer queues you will often end up needing to remove a queue or three. To remove a printer queue, you will use the /REMOVE switch along with a /NAME switch to specify the printer queue that you are removing. For example, to remove a queue called Accounting_499 you would use the following command:

EZIPUTIL PRINT /REMOVE /NAME:Accounting_499

The VOLUME option has a similar feature in the /REPLICATE_SMB switch, which allows you to replicate existing SMB/CIFS shares:

EZIPUTIL VOLUME /REPLICATE_SMB

The /REMOVE switch can also be used with the VOLUME option. If you have created volumes you can also remove those from the command line. For example, to remove a shared volume called Accounting_Files, you would use the following command:

EZIPUTIL VOLUME /REMOVE /NAME:Accounting_Files