Map def

De MappingDoc

map_def

Defines sites, devices and entry points.

Define site

-validesite
-name:XXXXX              : site name
-type:site               : use "site" param for site creation
-description:XXXXX       : site description
-roleadmin:ROLE_ADMIN1[,ROLE_ADMIN2,...[,ROLE_ADMINN]]]         : admins of the device (comma-separated values)
-rolesimple:ROLE_SIMPLE1[,ROLE_SIMPLE2,...[,ROLE_SIMPLEN]]]     : users of the device (comma-separated values)
-userdata:KEY1=VALUE1
...
-userdata:KEYN=VALUEN
-objet:XXXXX             : parent site (ie "site name.def"), or empty to assign the new site to the default site
-dir:XXXXX               : parent site file path (ie [PATH_ETC_QUEUES]/"site name"), or empty for default site path

Define device

-valide
-name:XXXXX              : device name
-type:queue              : use "queue" param for device creation
-IP:XXXXX                : IP of the device
-remotequeue:XXXXX       : queue name for remote device (usually PASS or lp for Line Printer)
-delai:XXXXX             : print timeout - possible values are 1 sec | 2 sec | 5 sec | 10 sec | 15 sec | 20 sec | 30 sec | 45 sec | 1 min | 2 min | 10 min | 20 min | 30 min | 45 min | 1 hr | *
-description:XXXXX       : device description
-mode:XXXXX              : connexion mode - possible values are lpr | raw | shell | RULES | USB | SERIAL | LOCAL OS SPOOLER | DUMMY | IPDS | EMAIL | pjl | axiohm | samsung | snmp
-connecttype:XXXXX       : status connection type - possible values are none | lpr | pjl | LPQ | shell | axiohm | samsung | snmp
-ImpType:XXXXX           : PJL codes - possible values are PJL_REF | IBM ...
-langue:english | french | fr
-delaistatus:XXXXX       : status timeout - possible values are 1 sec | 2 sec | 5 sec | 10 sec | 15 sec | 20 sec | 30 sec | 45 sec | 1 min | 2 min | 10 min | 20 min | 30 min | 45 min |1 hr|*
-portstatus:XXXXX
-roleadmin:ROLE_ADMIN1[,ROLE_ADMIN2,...[,ROLE_ADMINN]]]         : admins of the device (comma-separated values)
-rolesimple:ROLE_SIMPLE1[,ROLE_SIMPLE2,...[,ROLE_SIMPLEN]]]     : users of the device (comma-separated values)
-userdata:KEY1=VALUE1
...
-userdata:KEYN=VALUEN
-objet:XXXXX             : parent site (ie "site name.def"), or empty to assign the new device to the default site
-dir:XXXXX               : parent site file path (ie [PATH_ETC_QUEUES]/"site name"), or empty for default site path

Define entry point

-valide
-name:XXXXX              : entry-point name
-type:entry              : use "entry" param for entry-point creation
-mode:shell
-connecttype:none
-description:XXXXX       : entry-point description
-roleadmin:ROLE_ADMIN1[,ROLE_ADMIN2,...[,ROLE_ADMINN]]]         : admins of the device (comma-separated values)
-rolesimple:ROLE_SIMPLE1[,ROLE_SIMPLE2,...[,ROLE_SIMPLEN]]]     : users of the device (comma-separated values)
-userdata:KEY1=VALUE1
...
-userdata:KEYN=VALUEN
-objet:XXXXX             : parent site (ie "site name.def"), or empty to assign the new entry to the default site
-dir:XXXXX               : parent site file path (ie [PATH_ETC_QUEUES]/"site name"), or empty for default site path[PATH_ETC_QUEUES]