Printing Application Setup

Modified on Thu, 20 Apr 2023 at 07:48 PM

Printer Setup

 

These are instructions for setting up the Argox-CP2140 barcode printer.

Similar steps will be required for any other barcode printer like TSC-P200 or Zebra-GTX800

   


Install Device Driver

https://www.seagullscientific.com/drivers/printer-driver-features/?m=argox+cp-2140+pplb

 

Setup Barcode Label Size

 

Printer Setup Drivers

 


 

Barcode Sticker Printing

 

Once the data is returned in API response the sticker is created in HTML DOM and then it is converted to raw image data then is sent to INCREFF Print App

 

 

Instructions to install INCREFF Print App


  1. Open chrome://flags/#allow-insecure-localhost
  2. Click on "Enable"
  3. Restart Chrome
  4. Start apache-tomcat-8.5.20\bin\startup.bat
  5. Visit http://localhost:8080/print/
  6. You should see a welcome page


Note: You will have to run this file every time windows start or you close this program.


For Proxy secured networks,

  1. Bypass proxy server for local addresses' should also be enabled in 'Internet Options -> Connections tab -> LAN settings' in all the systems connected to the printer.
  2. In Increff-Printing-Winx64-8005-v1\apache-tomcat-8.5.20\bin\setenv.bat file, please remove the "rem" keyword from the start of the line mentioning JAVA_OPTS=-Djava.net.useSystemProxies=true. Save the file and re-run the tomcat.
  3. If step 2 doesn't solve the problem, the below steps should be considered.
  4. Please remove the "rem" keyword from the start of the line mentioning JAVA_OPTS=-Dhttp.proxyHost. The same IP address and port number must be added in place of "<Your Proxy Domain URL or IP Address>" and "<Your Proxy Port>" in Increff-Printing-Winx64-8005-v1\apache-tomcat-8.5.20\bin\setenv.bat file.  Save the file and re-run the tomcat. 
  5. If it still doesn't work, alter step 2, ie, add the "rem" keyword
  6. If it still doesn't work, We would need to disable the Proxy.

 


  

Links for downloading

Port 8005,

Version 6:

 64-bit - https://static.increff.com/print-app/64-Bit/Increff-Printing-Winx64-8005-v6.zip
 32-bit - https://static.increff.com/print-app/32-Bit/Increff-Printing-Winx32-8005-v6.zip 

 

Version 5:


If the print app (JAVA app) fails to start due to the error "default port 8005" already in use by another application" then download from the below links (to change the port to 8015) 



Port 8015,

Version 6:

 64-bit - https://static.increff.com/print-app/64-Bit/Increff-Printing-Winx64-8015-v6.zip
 32-bit - https://static.increff.com/print-app/32-Bit/Increff-Printing-Winx32-8015-v6.zip 


Version 5:

 64-bit - https://static.increff.com/print-app/64-Bit/Increff-Printing-Winx64-8015-v5.zip

 32-bit - https://static.increff.com/print-app/32-Bit/Increff-Printing-Winx32-8005-v5.zip


Port 9979,

Version 6:

 64-bit - https://static.increff.com/print-app/64-Bit/Increff-Printing-Winx64-9979-v6.zip
 32-bit - https://static.increff.com/print-app/32-Bit/Increff-Printing-Winx32-9979-v6.zip 


Version 4:



Once you have downloaded the appropriate printer application software for your system:

  1. Unzip the downloaded software.
  2. Please go through the README document contained inside the unzipped folder. 

 

  

Prerequisite Condition

  1. The Barcode Printer driver should be installed, and sticker size should be saved at the OS level.
  2. Java Tomcat should have run access on every system.
  3. Internet access should be allowed for Java Tomcat on both Public and private networks.
  4. Catalina log will show the error reason if Tomcat is not working.
  5. Below URLs and applications should be whitelisted and should have access to the internet before starting operations

 

Apache-tomcat -> logs folder -> Catalina.log


To Test if Printer Setup is done

        Start apache-tomcat-8.5.20\bin\startup.bat

        Visit http://localhost:8080/print/

        Users should see a welcome page where the user can give a Test Print.


How to start the Print Application automatically?

        The Startup folder in Windows contains a list of shortcuts for those applications that start when your Windows start.

 

        The Current Users Startup folder in Windows 10 is located at:

        C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup

 

        These programs start up for the currently logged-in user only. To directly access this folder, open Run, type shell: startup, and hit Enter.

 

 

    Add shortcuts to the startup.bat in this folder. Now, when the system is shut down and turned on again, the print application will start automatically.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article