Install Client on Ubuntu Linux

Client workstations must have hardware capable of running the operating system with a minimum of 100MB of free hard disk space for the client installation. Additional space for print drivers being installed will likely be required as well.

For a successful install it is recommended that you have the latest version of Ubuntu Linux and CUPS printing.

Install on Ubuntu LTS 18

Ubuntu/CUPS Update Commands (Optional)

Copy Code

Update CUPS

sudo apt update
apt-get --reinstall install cups-daemon

Install and Configure the Client

  1. Get the client install .deb file from the server:
    Copy Code

    64 bit

    wget https://Home_URL_Here/client/setup/printerinstallerclient_amd64.deb
  2. Install the client, set the Home URL, and authorize the client with the following command:

    Replace <HOME_URL_HERE> with URL of your instance. Replace <AUTH_CODE_HERE> with your authorization code.

    Copy Code

    64 bit

    sudo dpkg -i printerinstallerclient_amd64.deb || sudo apt-get -f install && sudo /opt/PrinterInstallerClient/bin/./set_home_url.sh https <HOME_URL_HERE> && sudo /opt/PrinterInstallerClient/bin/use_authorization_code.sh <AUTH_CODE_HERE>

    If you are on a 64-bit HP ThinPro device, install the Client with the following command:

    Copy Code
    sudo dpkg -i printerinstallerclient_amd64.deb || sudo apt-get -f install && sudo /writable/opt/PrinterInstallerClient/bin/./set_home_url.sh https <HOME_URL_HERE> && sudo /opt/PrinterInstallerClient/bin/use_authorization_code.sh <AUTH_CODE_HERE>

Install on Ubuntu LTS 20

Install Dependencies

  1. Install APT Dependencies.

    Copy Code

    Install APT Dependencies

    apt-get install --no-install-recommends --no-install-suggests -y \
      cups \
      libc-bin \
      libcups2 \
      libgssapi-krb5-2 \
      libtcl8.6 \
      libtk8.6 \
      libappindicator3-1 \
      libssl1.1 \
      net-tools
  2. Download and Install PrinterLogic Dependencies.

    Copy Code

    Install PrinterLogic Dependencies

    wget http://security.ubuntu.com/ubuntu/pool/main/libf/libffi/libffi6_3.2.1-8_amd64.deb
    sudo dpkg -i libffi6_3.2.1-8_amd64.deb
    sudo apt-get -f install

Install and Configure Client

  1. Download and Install the Client.

    Copy Code
    Download and Install Client
    wget https://printerlogic.printercloud.com/client/setup/printerinstallerclient_amd64.deb
    sudo dpkg -i printerinstallerclient_amd64.deb
    sudo apt-get -f install
  2. Stop the Client.

    Copy Code

    Stop Client

    sudo systemctl stop printer-installer-client
    sudo killall -s SIGKILL PrinterInstallerClientService
    sudo killall -s SIGKILL PrinterInstallerClientInterface
    sudo killall -s SIGKILL PrinterLogicIdpAuthentication
    sudo killall -s SIGKILL system_tray_icon
    #If the device is configured as the Service Client, the commands below stop the additional services running.
    sudo killall -s SIGKILL PrinterLogicServiceManager
    sudo killall -s SIGKILL PrinterLogicServicePrinterApp
    sudo killall -s SIGKILL PrinterLogicServiceIdentitySync
    sudo killall -s SIGKILL PrinterLogicServiceSNMP
    sudo killall -s SIGKILL PrinterLogicServiceOffNetworkClient
    sudo killall -s SIGKILL PrinterLogicServiceOffNetworkServer
  3. Add LD_Library_Path for dependencies.

    Copy Code

    Add Dependencies Path

    sudo sed -i 's/^\$EXE \&/LD_LIBRARY_PATH="$INSTALL_DIRECTORY\/service_interface\/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" $EXE \&/' /opt/PrinterInstallerClient/service_interface/run_service.sh
  4. Start the Client.

    Copy Code

    Start Client

    sudo systemctl start printer-installer-client
  5. Set Home URL.

    Copy Code

    Set HomeURL

    sudo /opt/PrinterInstallerClient/bin/set_home_url.sh <HomeURL_Scheme> <HomeURL>
  6. Set Authorization Code.

    Copy Code

    Set Authorization Code

    sudo /opt/PrinterInstallerClient/bin/use_authorization_code.sh <AuthCode>

Replace <HOME_URL_HERE> with URL of your instance. Replace <AUTH_CODE_HERE> with your authorization code.

General Commands

Starting the Client

Copy Code

Start Client

sudo systemctl start printer-installer-client

Stopping the Client

Copy Code

Stop Client

sudo systemctl stop printer-installer-client
sudo killall -s SIGKILL PrinterInstallerClientService
sudo killall -s SIGKILL PrinterInstallerClientInterface
sudo killall -s SIGKILL PrinterLogicIdpAuthentication
sudo killall -s SIGKILL system_tray_icon
#If the device is configured as the Service Client, the commands below stop the additional services running.
sudo killall -s SIGKILL PrinterLogicServiceManager
sudo killall -s SIGKILL PrinterLogicServicePrinterApp
sudo killall -s SIGKILL PrinterLogicServiceIdentitySync
sudo killall -s SIGKILL PrinterLogicServiceSNMP
sudo killall -s SIGKILL PrinterLogicServiceOffNetworkClient
sudo killall -s SIGKILL PrinterLogicServiceOffNetworkServer

Refreshing the Client

Copy Code

Client Refresh

sudo /opt/PrinterInstallerClient/bin/refresh.sh

List all PrinterLogic Binaries currently running

Copy Code

List Binaries

sudo ps aux | grep "$(cat /etc/pl_dir)"

Setting Proxy Server on Mac/Ubuntu/RedHat

If using a proxy server, you may need to additionally set these environment variables (normally set in /etc/environment).

Copy Code
Proxy Server
http_proxy=<proxy_server_fqdn_or_ip>:<port>
https_proxy=<proxy_server_fqdn_or_ip>:<port>

Example:

  • http_proxy=proxy.mycompany.com:8080
  • https_proxy=proxy.mycompany.com:8080

To disable the Proxy completely, see the PL_PROXY overrides below.

General Overrides