Skip to Content Information Center
Mobile Print

Mobile Print

Understanding the configuration file elements and their values

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.
    • <name>—Type the name of the printer or server.
    • <address>—Type the IP address or URL of the printer or server.
    • <providerType>—Define whether the device is a printer or an LPM On‑Premises server.
      • For Lexmark Print Management On‑Premises, type server‑premise to show the LPM On‑Premises icon in the Print Release section of the application home screen.
      • For printers, type printer to make it available for automatic discovery.
    • <auto‑discover>—Type true to discover the printer automatically after importing the configuration file. For this setting to take effect, make sure that <providerType> is set to printer.
    • Note:  This setting applies to one provider only. If <auto‑discover> is added to multiple providers, then automatic discovery applies only to the first provider.

  • <settings>—Define alterations to the application features, behavior, and settings after importing.
    • <add‑providers>—Type true to allow adding printers or servers from the application.
    • <delete‑providers>—Type true to allow deleting printers or servers from the application.
    • <easy‑saas>—Type true to enable access to LPM Cloud permanently.
    • <enable‑log>—Type true to allow and export logs from the Lexmark Print Service Plugin.
    • Notes:

      • This setting applies to the plug‑in only.
      • If logging is enabled, the Export Logs option is shown on the plug‑in settings screen. You can also send the logs to an e‑mail destination or view it using your mobile device file manager.
    • <supports‑camera>—Type true to allow printing camera captures or starting a scan from the camera.
    • <supports‑clipboard>—Type true to allow printing from the clipboard.
    • <supports‑help>—Type true to allow access to the help pages.
    • <supports‑jobs>—Type true to allow access to job queues.
    • <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‑photos>—Type true to allow printing photos or starting a scan from the gallery.
    • <supports‑nfc>—Type true to allow printing by using NFC.
    • <supports‑qrcode>—Type true to allow adding printers by using a QR code. For this setting to take effect, make sure that <add‑providers> is set to true.
    • <supports‑scan>—Type true to allow scanning a document.
    • <supports‑web>—Type true to allow printing web pages from the application.
    • 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.
  • <premise-server-config>—Define the premise server configuration for the single sign‑on (SSO) authentication setup for the Lexmark Print Service Plugin.
    • <sso‑url>—Type the server URL to use for the SSO authentication.
    • <sso‑client‑id>—Type the client ID of the SSO server.
    • <sso‑resource>—Type the resource URL of the SSO server.
  • <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 is 631.
    • <secure‑print‑release‑port>—Type the port number to use for secure communication with the servers. The default port is 443.
    • <web‑port>—Type the port number to use for web communication. The default port is 80.
    • <printer‑capabilities‑data‑port>—Type the port number to use for sending raw data to the printer. The default port is 9100.
    • <premise‑server‑ssl‑port>—Type the port number to use for releasing print jobs on the servers. The default port 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 the printers and servers from the application 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 existing printers and servers from the application.
        • Add the printers and servers that are in the configuration file, but are 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:
    • Lexmark Print Management Cloud
    • Lexmark Print Management On‑Premises
    • Lexmark Color Laser Printer
    • Lexmark Mono Laser Printer
  • Delete the printers and servers that are not in the configuration file.
  • Configure the ports 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>Lexmark Print Management Cloud</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‑clipboard>true</supports‑clipboard>
     <supports‑camera>true</supports‑camera>
     <supports‑photos>true</supports‑photos>
     <supports‑web>true</supports‑web>
     <supports‑jobs>true</supports‑jobs>     
     <supports‑manual‑add>true</supports‑manual‑add>
     <supports‑qrcode>true</supports‑qrcode>
     <supports‑scan>true</supports‑scan>
     <supports‑network‑search>true</supports‑network‑search>
     <supports‑nfc>true</supports‑nfc>
   </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>

To add the premise server settings in the configuration file, add the following elements:

<premise-server-config>
   <sso-url>win-b5pn9bqqcv6.orcton4.local</sso-url>
   <sso-client-id>058e04a1-8f95-46fd-8e42-6e52d90e7e4d</sso-client-id>
   <sso-resource>http://mobile.claims</sso-resource>
</premise-server-config>

Note:  The premise server configuration is applicable only for the single sign‑on (SSO) authentication setup for the Lexmark Print Service Plugin.

¿Este artículo ha sido útil?
Top