Overview


The printing component is an application which serves for the remote printing within Komet Sales system.

System Requirements

In order to have this component running, your company needs to meet the following requirements:

  1. Java Runtime Environment (JRE) 7. Please note it is not necessary to install the full SDK. JRE can be downloaded from the Oracle site.
  2. The JAVA_HOME environment variable must be created and mapped to the java directory.
  3. An Internet connection that allows the component to connect with Komet Sales and Amazon Web Services.
  4. Admin rights over the server so the new software can be installed and computer services can be managed.
  5. The server has the JAVA_HOME environment variable that points to the folder where JAVA has been installed (It is usually found under C:\Program Files\Java\jre).


Installation Instructions

The Remote Printing application is delivered as a ZIP file that contains all files and libraries needed for execution. In order to install this component please follow these steps:

  1. Create a folder on the 'C:\' drive called: "logs". It should be named C:\logs\.

  2. On the 'C:\' drive, create a folder called: "temp". It should be named C:\temp\.
  3. Download the following file, unzip it and save its contain into the C:\ drive :

    Important

    All the files must be saved in a single folder called C:/KometPrinter-PRODUCTION. Sometimes a double folder is created in the location. Please verify there is just one single file.

  4. Download the following file, unzip it and save all its contain into the C:/KometPrinter-PRODUCTION file:
    https://s3.amazonaws.com/kometsales.printer.component/KometPrinter.jar

  5. Contact Komet Sales to obtain the setup file config.properties, needed for this process.
  6. Copy the file config.properties (this file changes per location, if the user's company is multilocation, a file is needed for each location) to folder C:/KometPrinter-PRODUCTION.

    Please be sure the file's name is config.properties, this name must no be changed.


  7. Go to "C:/KometPrinter-PRODUCTION" and execute the batch file “Install”. 
  8. In order to confirm whether the service has been successfully installed:
    Go to Control Panel > Management Tools > Services. A new service named “KometPrinter-PRODUCTION” should be listed.
  9. To start the service, please execute the batch file named “start” or start the service from the “Services” screen as described in the previous step.


To stop the service, please execute the batch file named “stop” or stop the service from the “Services” screen.

Important

Make sure you have admin rights.

The name of the printer must be exactly the same as the name of the printer server component that was installed. Example: If the printer is called "HPLASER JET4320 XCFSLLFS", the name must be the same.

Instructions to Uninstall

To uninstall the application please follow the steps below:

  1. Stop the service.
  2. Execute the "uninstall" batch file located in "C:\KometPrinter-PRODUCTION\" directory.
  3. The file is now uninstalled.
Related Articles

Komet Sales is not responsible for installing the server files your system will require. This has to be done strictly by the customer or an IT.

Troubleshooting the printer component


What to do if the label is very small when printed?

Change the driver DPI. For example, if the current driver is set at 200 dpi change it from 200 dpi to 300 dpi.

What to do if the label is very large when printed?

Change the driver DPI. For example, if the current driver is set at 300 dpi change it from 300 dpi to 200 dpi.

Missing text on either side of the label but the font size is OK

Make sure that the ribbon is properly setup and aligned with the printer head. If not, the ribbon is not going in between the label and the printer head, thus making some sections of the label stay blank.

How to confirm if the printing component has been installed successfully?

Go to Control Panel > Management Tools > Services. A new service named “KometPrinter-PRODUCTION” should be listed.

Printer seems to duplicate everything that is printed on any printer

Please contact the support team and request a new JAR file with the component.

What to do if the service doesn't start?

Open the log file placed under the C:/logs or C:/KometPrinter-PRODUCTION/logs folder. The below are the error messages you may find and the solution for these: 

  • Message: Unable to execute Java command. The system cannot find the file specified. (0x2)
    • Solution: Make sure the Java package has been properly installed and the server has the JAVA_HOME environment variable that points to the folder where JAVA has been installed. It is usually located under C:\Program Files\Java\jre
  • Message: com.amazonaws.AmazonClientException: Unable to execute HTTP request: peer not authenticated
    • Solution: Make sure that the computer where the component was installed is able to reach Amazon (https://queue.amazonaws.com/) and does not have any restrictions to browsing the Internet.