Primary-card-number - the user's card number (any text). Valid properties and values include:īalance - the user's current account balance (a decimal number). Print-script-property - Get the property saved on the user during a print script. Last-user-activity - the date and time the user was last active.ĭelegated-groups - the group names the given user can release print jobs for.ĭelegated-users - the user names the given user can release print jobs for. Overdraft-amount - the user's individual overdraft amount. Printer-cost-adjustment-rate-percent - percentage rate to adjust the user's job cost by.ĭont-archive - whether the user's jobs will be archived.Īuto-release-jobs - whether the user's jobs will always release on device login or not. Unauthenticated - whether or not the user is an unauthenticated user.ĭont-hold-jobs-in-release-station - whether the user's job will bypass release queues.ĭont-apply-printer-filter-rules - whether the user's job will bypass printer filters. Home - the user's home folder (a double-quoted UNC path). Only used when username aliasing is enabled. Other-emails - the user's other email addresse(s). Restricted - whether or not the user is currently restricted.Īccount-selection.mode - the user's current account selection mode.Īccount-selection.can-charge-personal - whether or not the user can charge to their personal account.Īccount-selection.can-charge-shared-from-list - whether or not the user can charge to a shared account, selected from a list.Īccount-selection.can-charge-shared-by-pin - whether or not the user can charge to a shared account, selected by PIN. Net-stats.time-hours - the internet time used by the user (in hours). Net-stats.data-mb - the internet data used by the user (in MB). Print-stats.page-count - the total printed page count for the user. Print-stats.job-count - the total print job count for the user. Secondary-card-number - the user's secondary card number.ĭefault-shared-account - the user's default shared account name.Īuto-shared-account - the user's automatically selected shared account.ĭisabled-net - whether or not the user's internet access is currently disabled.ĭisabled-print - whether or not the user's printing is currently disabled. Primary-card-number - the user's primary card number. Valid properties include:īalance - the user's current account balance. Only used when multiple personal accounts are enabled. "/home/papercut/server/bin/linux-圆4/server-command \Ī full list of commands is also available via server-command -help. You can run SSH non-interactively in scripts with the use of an authorized public key added under the papercut account’s ~/.ssh/authorized_keys list. Use SSH - a secure remote command/shell program. "C:\Program Files\PaperCut NG/MF\server\bin\win\server-command.exe" \ For example, (all on one line): psexec.exe \\remoteserver \ Use PsExec - a remote command program provided by the Sysinternals team at Microsoft. Server commands can also be called remotely using standard remote command tools. NOTE Backslash indicates text should be on the same line. For security reasons only users with read access to the server.properties (normally only the Administrators group) have rights to execute the commands.Īdd $10.00 to a user named ’testuser': C:\> cd \server\bin\winĬ:\> server-command adjust-user-account-balance "testuser" 10.00 \ "Added $10.00 to your account" It accepts the commands as arguments and outputs the results of the command on the console (standard-out). The server-command program is a command-line tool. Performing account transactions such as adding funds/quota to user accounts.Īutomating user account creation using custom scripts.ĭisabling/Enabling SNMPV3 on printers and devices. Scheduling user and/or group synchronization tasks.Īutomating the addition of new users after the accounts are added to the network. Scheduling of online backups and data snapshots. Some examples of how an Administrator might use the server-command tool: The server-command tool is ideal for controlling the PaperCut NG/MF Application Server via the command-line or automating via scripts. The server-command tool provides access to dozens of server operations ranging from user management, system maintenance, account manipulation and printer control. PRODUCTS FEATURED Server commands (server-command)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |