Create a configuration file to manage multiple printers and print management servers. When creating a configuration file, use lxmobileprint.lmpcf as the file name.
Notes:
- The configuration file is case sensitive.
- Add only the elements that are applicable to your configuration.
- <providers>—Define the printers or servers that are added or managed for the application.
- <settings>—Define changes to the application features, behavior, and settings after importing.
- <add‑providers>—Type true to allow adding printers or servers from the application.
- <supports‑manual‑add>—Type true to allow adding printers manually. For this setting to take effect, make sure that <add‑providers> is set to true.
- <supports‑network‑search>—Type true to allow adding printers by searching the network. For this setting to take effect, make sure that <add‑providers> is set to true.
- <supports‑qrcode>—Type true to allow adding printers by using a QR code. For this setting to take effect, make sure that <add‑providers> and <supports‑camera> are set to true.
- <delete‑providers>—Type true to allow deleting printers or servers from the application.
- <supports‑photos>—Type true to allow printing photos from the gallery.
- <supports‑camera>—Type true to allow printing camera captures.
- <supports‑web>—Type true to allow printing web pages from the application.
- <supports‑secure‑window>—Type false to allow recording a video or taking a screenshot when using the application.
- <eula>—Type accept to accept the End‑User License Agreement automatically.
- <terms‑of‑use>—Do one of the following:
- Type accept to allow Lexmark to collect application usage information.
- Type decline to prevent Lexmark from collecting application usage information.
- Type user_choice to let the user decide whether to allow Lexmark to collect application usage information.
- <quick‑print‑release>—Type true to enable Quick Print release.
Note: To enable this feature, make sure that the Quick Print license is configured on your LPM On‑Premises server.
- <quick‑print‑release‑type>—To set a Quick Print release option, type either IP or QR.
Note: To make both options available, leave the value blank.
- <easy‑saas>—Type true to enable access to LPM Cloud permanently.
Notes:
- If <add‑providers> is set to false, then adding printers is disabled even if <supports‑manual‑add>, <supports‑qrcode>, and <supports‑network‑search> are set to true.
- If the element value is undefined, then the application ignores the element.
- If these elements are not added in the configuration file, then the application uses the previous settings. For example, if the option to add is disabled before you load a configuration file without a <settings> element, then the option remains disabled after loading.
- <cloud‑config>—Define the LPM Cloud data center.
- <data‑center>—Do one of the following:
- Type 0 to set the data center to Auto detect.
- Type 1 to set the data center to Americas.
- Type 2 to set the data center to Europe.
Notes:
- If the data center is set in the configuration file, then you cannot change the data center setting in the application.
- To allow data center updates in the application, do not include <data‑center> in the configuration file.
- <network>—Define the ports required for the application to communicate with the printers and servers on the network.
- <direct‑printing‑port>—Type the port number to use for printing directly from the mobile device to the printer. The default port number is 631.
- <secure‑print‑release‑port>—Type the port number to use for secure communication with the servers. The default port number is 443.
- <web‑port>—Type the port number to use for web communication. The default port number is 80.
- <printer‑capabilities‑data‑port>—Type the port number to use for sending raw data to the printer. The default port number is 9100.
- <premise‑server‑ssl‑port>—Type the port number to use for releasing print jobs on the servers. The default port number is 9743.
- <behavior>—Define how the import is processed.
- <import‑configList>—Define how the providers in the configuration file are managed when importing.
- use_config
- Delete from the application the printers and servers that are not in the configuration file.
- Add the printers and servers that are in the configuration file and not in the application.
- Update the nicknames of the printers and servers that are in the configuration file and in the application.
- merge
- Keep the printers and servers that are in the application.
- Add the printers and servers that are in the configuration file but not in the application.
- Update the nicknames of the printers and servers that are in the configuration file and in the application.
- reset_all
- Delete all the printers and servers that are in the application.
- Add the printers and servers that are in the configuration file.
Notes:
- If the only element in the configuration file is <import‑configList> with a reset_all value, then available printers or servers in the application are deleted.
- If the <behavior> or <import‑configList> element is not in the configuration file, then the default <import‑configList> value is merge.
Import the sample configuration file to do the following:
- Enable adding and deleting printers or servers from the application.
- Add or update the following printers and servers in the application:
- Cloud Print Management
- LPM On‑Premises
- Lexmark Color Laser Printer or MFP
- Lexmark Mono Laser Printer or MFP
- Delete the printers and servers that are not in the configuration file.
- Configure the ports that are required for the application to communicate with the printers and servers, depending on the customer environment.
Sample configuration file
<?xml version="1.0" encoding="UTF-8"?>
<config>
<providers>
<provider>
<name>Cloud Print Management</name>
<address>https://lsp.lexmark.com/YourCompany</address>
</provider>
<provider>
<name>Lexmark Print Management On‑Premises</name>
<address>https://123.123.123.123/mobile</address>
<providerType>server‑premise</providerType>
</provider>
<provider>
<name>Lexmark Color Laser Printer</name>
<address>123.123.123.124</address>
<providerType>printer</providerType>
<auto‑discover>true</auto‑discover>
</provider>
<provider>
<name>Lexmark Mono Laser Printer</name>
<address>123.123.123.125</address>
</provider>
</providers>
<settings>
<add-providers>true</add-providers>
<delete-providers>true</delete-providers>
<easy‑saas>true</easy‑saas>
<supports‑camera>true</supports‑camera>
<supports‑photos>true</supports‑photos>
<supports‑web>true</supports‑web>
<supports‑manual‑add>true</supports‑manual‑add>
<supports‑qrcode>true</supports‑qrcode>
<supports‑network‑search>true</supports‑network‑search>
</settings>
<cloud‑config>
<data‑center>0</data‑center>
</cloud‑config>
<network>
<direct‑printing‑port>631</direct‑printing‑port>
<secure‑print‑release‑port>443</secure‑print‑release‑port>
<web‑port>80</web‑port>
<printer‑capabilities‑data‑port>9100</printer‑capabilities‑data‑port>
<premise‑server‑ssl‑port>9743</premise‑server‑ssl‑port>
</network>
<behavior>
<import-configList>merge</import-configList>
</behavior>
</config>
To disable adding and deleting printers or servers, and apply the list of providers in the configuration file, implement the following changes:
<settings>
<add-providers>false</add-providers>
<delete-providers>false</delete-providers>
</settings>
<behavior>
<import-configList>use_config</import-configList>
</behavior>