Installing client software for Mac operating system

Joining an Active Directory domain

Adding the Active Directory domain to the DNS servers list
  1. From the computer, navigate to System Preferences, and then click Network.

  2. Select the network, and then click Advanced.

  3. Click DNS, and then from the DNS Servers section, click +, and then type the IP address of the Active Directory domain.

  4. From the Search Domains section, click +, and then type the Active Directory domain name.

  5. Click OK.

  6. From the Network window, click Apply.

Joining the Active Directory domain
  1. From the computer, navigate to System Preferences, and then click Users & Groups.

    Note: If the settings are unavailable, then click the lock button. An administrator account is needed to unlock the settings.
  2. Click Login Options, and then from the Network Account Server section, click Join.

  3. Configure the settings.

    • Server—The Active Directory domain controller address

    • Client Computer ID—The name of the client computer

    • AD Admin User—The account name associated with the Active Directory domain

    • AD Admin Password—The password of the account associated with the Active Directory domain

  4. Click OK.

  5. Log out from the computer, and then log in again using the user ID and password associated with the Active Directory domain.

Installing the print driver

Note: We recommend installing Lexmark Mac UPD before installing LPMC.
  1. Run the installer file from your computer.

  2. Select Extract, and then clear Start the installation software.

  3. Copy the path to the UPD files.

    Note: If you want to change the path, then browse to the folder where you want to save the UPD files.
  4. Click Install, and then follow the instructions on the computer screen.

Installing Lexmark Print Management Client

For Mac, LPMC is distributed as a single PKG file.

  1. Copy the configuration file to the folder where you saved the installation package, and then if necessary, modify it. For more information, see Understanding configuration files for Mac operating system.

  2. Install the package. Do either of the following:

    • Double-click the PKG file.

    • At the Terminal, run install.sh.

  3. Follow the instructions on the computer screen.

  4. After the installation is complete, from Activity Monitor, check if the necessary services are running.

    • LPMCapture—The Lexmark Print Capture service

    • LPMRelease—The Lexmark Print Release service

    • LPMDeleteJobTracker—The LPM Deleted Job Tracker service

    • LPMApp—The LPM user-level background application

  5. Note: After installation, the executable files, the configuration.xml file, and SSL certificates are saved in the “/Library/Lexmark/LPMC” folder. The log file is saved in “/var/tmp” as lpmc.log by default.

Understanding configuration files for Mac operating system

Logger

Setting

Default value

Description

LogFilePath

/var/tmp/lpmc.log

The path that stores the log files.

LoggingEnabled

false

  • If set to true, then the LPMC events are logged.

  • If set to debug, then more information is logged.


LPMServerlessADSettings

CaptureSettings

Setting

Default value

Description

LoopbackPort

9167

The port that communicates with the capture service for incoming print jobs. If you want to use another port, then change the port that the print queue uses.

PrintJobFileNameFormat

%d_%i.prn

The file name format that the capture service uses to save the print jobs. %d is the time when a job is printed, and %i is the current tick count.

You can use the following values as part of the file name:

%u—User name

%pd—Print driver name

%pq—Print queue name


ClientSettings

Setting

Default value

Description

PrintAndKeepLifespan

48

The number of hours before LPMC deletes the job after printing.

UnprintedJobsLifespan

48

The number of hours before LPMC deletes a job that is not released on a print queue.


ReleaseSettings

Setting

Default value

Description

EsfListenerPort

9443

The port where a job is released from the printer.

UseSSL

true

Determines whether the communication with Print Release uses SSL or not. If ServerPort is set to 80, then set the value to false to establish a non-SSL connection.


ServerSettings

Setting

Default value

Description

ActiveDirectoryUserProperty

otherLoginWorkstations

The Active Directory attribute that LPMC uses to save and retrieve data. If otherLoginWorkstations is not available, then use customAttributeName to use a custom user attribute.

ServiceAccountUserName

N/A

The user name designated as the service account. The administrator sets this setting before the deployment.


ADWriteSettings

Setting

Default value

Description

ADWriteOption

AtPrintTime

Determines when LPMC writes the workstation IP address to the Active Directory server.

Use any of the following values:

  • AtStartup—The workstation IP address is written only when LPMC starts. It is deleted when the workstation shuts down or enters a low-power state.

  • AtPrintTime—The workstation IP address is written only when a job is printed. It is deleted when the user has no more jobs held at the workstation, the workstation shuts down, or the workstation enters a low-power state. If a stored job is detected when LPMC starts, then the workstation IP address is written immediately.

  • AtStartupAndPrintTime—The workstation IP address is written when LPMC starts and when a job is printed. It is not deleted when the user has no more jobs held at the workstation. It is deleted when the workstation shuts down or enters a low-power state.


LPMServerlessSettings

CaptureSettings

Setting

Default value

Description

LoopbackPort

9168

The port that communicates with the capture service for incoming print jobs. If you want to use another port, then change the port that the print queue uses.

PrintJobFileNameFormat

%d_%i.ps

The file name format that the capture service uses to save the print jobs. %d is the time when a job is printed, and %i is the current tick count.

You can use the following values as part of the file name:

%u—User name

%pd—Print driver name

%pq—Print queue name


ClientSettings

Setting

Default value

Description

PrintAndKeepLifespan

48

The number of hours before LPMC deletes a job after printing.

UnprintedJobsLifespan

48

The number of hours before LPMC deletes a job that is not released on a print queue.


ReleaseSettings

Setting

Default value

Description

EsfListenerPort

443

The port where a job is released from the printer.

UseSSL

true

Determines whether the communication with Print Release uses SSL or not.


ServerSettings

Setting

Default value

Description

ServerIP

api.iss.lexmark.com/lpm-gateway

The release and tracking server address.

ServerPort

443

The port where a job is released from the printer.

UseSSL

true

Determines whether the communication with Print Release uses SSL or not.


ServerAPISettings

Setting

Default value

Description

APIVersion

2.0

The version of the application programming interface (API) used.

IDPServerSettings

ServerIP

ServerPort

idp.iss.lexmark.com

443

The Identity Service Provider address used to authenticate users.

The port where a job is released from the printer.

UseSSL

true

Determines whether the communication with Print Release uses SSL or not.


LPMServerSettings

CaptureSettings

Setting

Default value

Description

LoopbackPort

9168

The port that communicates with the capture service for incoming print jobs. If you want to use another port, then change the port that the print queue uses.

PrintJobFileNameFormat

%d_%i.prn

The file name format that the capture service uses to save the print jobs. %d is the time when a job is printed, and %i is the current tick count.

You can use the following values as part of the file name:

%u—User name

%pd—Print driver name

%pq—Print queue name


ServerSettings

Setting

Default value

Description

ServerIP

lsp.lexmark.com/lexmark

The SaaS release and tracking server address.

Type https://lsp.lexmark.com/<companyID>, where <companyID> is the unique name or ID assigned to the company.

ServerPort

443

The port where a job is released from the printer.


IDPServerSettings

Setting

Default value

Description

ServerIP

idp.iss.lexmark.com

The Identity Service Provider address used to authenticate users.

ServerPort

443

The port where a job is released from the printer.


DeleteJobTrackerSettings

Setting

Default value

Description

TrackDeletedJob

true

If set to false, then the deleted jobs are not tracked.

SendImmediately

true

If set to false, then LPMC sends the deleted jobs data using IntervalMode.

IntervalMode

minutes

Send the deleted jobs data after a specified interval of time. You can set the interval in minutes, hours, days, or weeks.

SendInterval

Minutes

Daily

Weekly

Day

Hour

1200

Specify when to send the deleted jobs data to the report server.

Minutes—Set any value equal to or greater than 1.

Daily—Set the value in hours with the HHMM format. The interval runs every day based on the set hour. You can set multiple instances of the Daily setting. This setting triggers the deleted jobs tracker to run multiple times during the day.

Weekly—Consists of Day and Hour values.

Day—Set any value from 1 to 7, where 1 is Sunday, and 7 is Saturday.

Hour—Set the value in HHMM format, where the interval runs based on the indicated hour of the day.

Day and Hour settings can have multiple instances.

ServerSettings

ServerIP

ServerPort

ServerSSL

0.0.0.0

9780

false

Contains the information about the report server where the deleted jobs data are stored.

OtherSettings

SiteName

N/A

More information about the deleted jobs data.

SiteName—The name of the site where the job was submitted from.


Sample configuration file for Mac operating system

<?xml version="1.0" encoding="utf-8"?>
<Configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Logger>
    <LogFilePath>/var/tmp/lpmc.log</LogFilePath>
    <LoggingEnabled>false</LoggingEnabled>
  </Logger>
  <LPMServerlessADSettings>
	  <CaptureSettings>
          <LoopbackPort>9167</LoopbackPort>
          <PrintJobFileNameFormat>%d_%i.ps</PrintJobFileNameFormat>
	  </CaptureSettings>
	  <ClientSettings>
          <PrintAndKeepLifespan>48</PrintAndKeepLifespan>
          <UnprintedJobsLifespan>48</UnprintedJobsLifespan>
	  </ClientSettings>
	  <ReleaseSettings>
          <EsfListenerPort>9443</EsfListenerPort>
          <UseSSL>true</UseSSL>
	  </ReleaseSettings>
	  <ServerSettings>
          <ActiveDirectoryUserProperty>otherLoginWorkstations</ActiveDirectoryUserProperty>
          <ServiceAccountUsername></ServiceAccountUsername>
	  </ServerSettings>
      <ADWriteSettings>
          <!--values are {AtStartup | AtPrintTime | AtStartupAndPrintTime} -->
          <ADWriteOption>AtStartupAndPrintTime</ADWriteOption>
      </ADWriteSettings>
  </LPMServerlessADSettings>
<LPMServerlessSettings>
	  <CaptureSettings>
          <LoopbackPort>9168</LoopbackPort>
          <PrintJobFileNameFormat>%d_%i.ps</PrintJobFileNameFormat>
	  </CaptureSettings>
	  <ClientSettings>
          <PrintAndKeepLifespan>48</PrintAndKeepLifespan>
          <UnprintedJobsLifespan>48</UnprintedJobsLifespan>
	  </ClientSettings>
	  <ReleaseSettings>
          <EsfListenerPort>443</EsfListenerPort>
          <UseSSL>true</UseSSL>
	  </ReleaseSettings>
	  <ServerSettings>
          <ServerIP>api.iss.lexmark.com/lpm-gateway</ServerIP>
          <ServerPort>443</ServerPort>
          <UseSSL>true</UseSSL>
	  </ServerSettings>
      <ServerAPISettings>
          <APIVersion>2.0</APIVersion>
          <IDPServerSettings>
              <ServerIP>idp.iss.lexmark.com</ServerIP>
              <ServerPort>443</ServerPort>
              <UseSSL>true</UseSSL>
          </IDPServerSettings>
      </ServerAPISettings>
  </LPMServerlessSettings>
  <LPMServerSettings>
      <CaptureSettings>
          <LoopbackPort>9168</LoopbackPort>
          <PrintJobFileNameFormat>%d_%i.ps</PrintJobFileNameFormat>
      </CaptureSettings>
      <ClientSettings>
      </ClientSettings>
      <ServerSettings>
          <ServerIP>lsp.lexmark.com/lexmark</ServerIP>
          <ServerPort>443</ServerPort>
      </ServerSettings>
      <IDPServerSettings>
          <ServerIP>idp.iss.lexmark.com</ServerIP>
          <ServerPort>443</ServerPort>
      </IDPServerSettings>
  </LPMServerSettings>
  <DeleteJobTrackerSettings>
      <TrackDeletedJob>true</TrackDeletedJob>
      <SendImmediately>true</SendImmediately>
      <IntervalMode>minutes</IntervalMode>
      <SendInterval>
          <Minutes>5</Minutes>
          <Daily>1200</Daily>
          <Daily>2300</Daily>
          <Weekly>
              <Day>2</Day>
              <Day>3</Day>
              <Day>4</Day>
              <Day>5</Day>
              <Day>6</Day>
              <Hour>1000</Hour>
              <Hour>1500</Hour>
          </Weekly>
      </SendInterval>
      <ServerSettings>
          <ServerIP>0.0.0.0</ServerIP>
          <ServerPort>9780</ServerPort>
          <ServerSSL>false</ServerSSL>
      </ServerSettings>
      <OtherSettings>
          <SiteName></SiteName>
      </OtherSettings>
  </DeleteJobTrackerSettings>
</Configuration>

Creating a print queue

  1. From the computer, navigate to System Preferences, and then click Printers and Scanners.

  2. Click +, and then from the Add window, click IP.

  3. In the Address field, type 127.0.0.1:9167.

  4. In the Protocol menu, select HP Jetdirect - Socket.

  5. In the Name field, type the name of the print queue.

  6. In the Use menu, select Lexmark Generic Laser Printer Mono or Lexmark Generic Laser Printer Color.

  7. Click Add.