The user client is used to display user balances, system notifications and request information from the users. This is discussed in more detail in the section called “User Client”. The user client implements a number of command-line options that change it's behavior.
Option | Description |
---|---|
|
The silent option tells the client not to report errors if it has problems connecting to the server. If the server is unavailable at time of startup (e.g. the client is not connected to the network), or if the user does not currently exist in the database, the client will simply sleep waiting for the condition to change.
This option can also be set by adding a |
|
The debug option tells the client to log activity to a file called user-client.log which will be created in the user's home directory.
This option can also be set by adding a |
|
The minimized option tells the client to start minimized. On windows the client will be minimized to the task tray. This option is recommended if the user's balance is not important to the user. For example, if a user is only allowed to assign print jobs to a shared account, then their personal balance is of little importance, so the user client should be minimized.
This option can also be set by adding a |
|
Stops the user from closing or quitting the client where possible.
This option can also be set by adding a |
|
The option tells the client to hide the task tray icon.
This option can also be set by adding a |
|
This option instructs the client to display messages in dialog boxes rather than notification area balloon tips. (Windows only)
This option can also be set by adding a |
|
This option instructs the client to hide the user balance. On Windows the balance window is not displayed. On other platforms the balance is hidden from the balance window.
This option can also be set by adding a |
|
The user option allows the client to be run using a different username. This can be useful if the user is logged into a machine with a different username than he or she is authenticated to the server/printers as. For example, if a user is using a laptop that is not a part of the domain.
This option can also be set by adding a |
|
This argument is actioned by |
|
The client will use the username of the logged in user to identify itself with the server. In a domain environment, users always login using their network identity and the names will always match. However on non-domain systems where local accounts are used (e.g. Laptops), these names may not match. The client will display a popup requesting the user to confirm their identity. This option will suppress this dialog.
This option can also be set by adding a |
|
Specify where the client window should appear. The valid options include
In addition to the above set of fixed positions, co-ordinates of the window can also be specified by
setting the
The window position can also be set by adding a |
|
Allows the window title to be customized. If the
The window title can also be set by adding a |
|
Changes the background color of the client's balance window. The colors are coded in standard hexadecimal RGB ("web colors", see http://en.wikipedia.org/wiki/Web_colors for an explanation). E.g. to set the background color to red, use: --background-color=FF0000
The balance window background color can also be set by adding a
|
|
Changes the text color of the client's balance window. The colors are coded in standard hexadecimal RGB ("web colors", see http://en.wikipedia.org/wiki/Web_colors for an explanation). E.g. to set the text color to blue, use: --text-color=0000FF
The balance window text color can also be set by adding a
|
|
Changes the color of the link on the client's balance window. The colors are coded in standard hexadecimal RGB ("web colors", see http://en.wikipedia.org/wiki/Web_colors for an explanation). E.g. to set the link color to a dark gray, use: --link-color=333333
The balance window link color can also be set by adding a
|
|
Specifies the default selected option on the account selection popup. This option can be used to save mouse clicks / keyboard presses by setting the default selected option to the one that is most commonly used. Options include:
For example, applying a default selection of
This option can also be set by adding or enabling the
|
|
Specifies the default selected account on the account selection popup. This option can be used to save mouse clicks / keyboard presses by setting the default selected account to the one that is most commonly used. NOTE: The default shared account can also be set on the user's account selection options. See the section called “The Account Selection Popup”. For example, setting the default account to "sales\invoices" results in this account being selected when the account selection popup shows. This allows the user to quickly confirm the selection by just clicking OK in those cases that the print should be charged to this account. The selection can still be changed in case the print should not be charge to this account.
This option can also be set by adding or enabling the
If set this overrides the default account setting on the user's account selection options. |
|
Specifies the default account pin entered on the account selection popup. This option can be used to save typing by setting the default account pin to the one that is most commonly used. Without this option, the account pin field on the account selection popup shows the account pin last entered in this field.
If the option is specified but left blank (
This option can also be set by adding or enabling the
|
|
Specifies the location of the local accounts file to load. For more information, see the section called “Managing Large Client Account Lists on Distributed Sites”. |
|
Comma separated list of authentication ttl values in minutes. This overrides the values configued on the server. See the section called “Popup Authentication”.
This option can also be set by adding or enabling the
|
|
The default time-to-live value automatically selected when the login authentication window displays. This overrides the values configued on the server.
This option can also be set by adding or enabling the
|
Table A.2. User Client command-line options
The command-line arguments listed above are usually used in the area/method used to start the client -
a login script, shortcut, or the relevant registry key in
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run\
.
The command-line arguments may also be set in the config.properties
file. This is
particularly helpful on Apple Mac systems where command-line arguments are difficult to implement. The
config.properties
file is located in the same directory as the client executable on
Linux and Windows. On the Mac it can be found at:
[app-path]/PCClient.app/Contents/Resources/config.properties
Additionally settings may be changed at the user-level by placing a file in the user's Library Preferences folder located at:
~/Library/Preferences/PCClient/config.properties
The file should contain the options in a properties file form like:
user=mary minimized=Y windowposition=top-left windowtitle=Print Balance: {0}
Changing the time after which jobs are deleted when awaiting popup response
If a user does not respond to the account selection popup after a defined time, their print job will
be automatically deleted. This is to prevent a buildup of old jobs in the print queue. The default
timeout is 10
minutes, and can be changed as follows:
Navigate to the Options tab
In the section Client Software, find the option Delete jobs awaiting popup response after...
Enter the number of minutes to wait for users to respond to the popup before their job is deleted
Press
© Copyright 1999-2011. PaperCut Software International Pty Ltd. All rights reserved.