Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Printing

component

Component

 

Excerpt

The application was developed in Java but runs as a Windows Service. 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, it can be downloaded from the Oracle site.
  2. The JAVA_HOME environment variable must be created and mapped to the java directory.
  3. 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. Download the following files:

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

    Info

    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 "HP LASER JET 4320 XCFSLLFS", the name must be the same.

  3. On the 'C:\' drive, create a folder called: "temp". It should be named C:\temp\.
  4. Unzip the compressed file KometPrinter-PRODUCTION.zip into the C:\ drive, so all the files go to the folder C:/KometPrinter-PRODUCTION.
  5. Copy the file KometPrinter.jar to C:/KometPrinter-PRODUCTION.
  6. Contact Komet Sales to obtain the setup file config.properties, needed for this process.
  7. 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.
  8. Go to "C:/KometPrinter-PRODUCTION" and execute the batch file “Install”. 
  9. 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.
  10. 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.
  11. To stop the service, please execute the batch file named “stop” or stop the service from the “Services” screen.

Note: Make sure you have admin rights.

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.

 


 

Panel
titleRelated Articles

Content by Label
showLabelsfalse
showSpacefalse
labelsprinting-component, printing

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 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.

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 doesn't have any restrictions to navigate in Internet.