How to install the POS thermal printer, app is hosted on the server

Printing on different computer while app host is different (Printing on client computer while app is at hosting server)

This case is applicable only if your app is hosted on a public hosting server while printer is connected to your local system/computer/network.This case is applicable for most of USERS.


  • 1. Download webserver - XAMP ... Download XAMPP . Install It (Do not install it to C Drive - It may generate sometime file write issues)
  • 2. Download the pos printing server http://www.ultimatekode.com/pos_printer.zip
  • 3.

    For XAMPP Open XAMMP Installation Directory/htdocs Folder

    Extract downloaded file to htdocs (yourlocalserver)/pos_printer
  • 4. Open htdocs/pos_printer/config.php
  • 5. Check config.php line no 27 , enter your hosted pos app url
  • $config['app_url'] = 'http://youdomain.com/yourfolder/';

    Example http://billing.ultimatekode.com/yourfolder/ - do not forget last '/' slash


  • 6. Check config.php line no 35 , enter your rest key.
    You can generate key in GeoPOS>Left Side Menu
    Settings> REST API
  • $config['rest_key'] = 'YOURKEY_HERE';
  • 7. Check config.php line no 50 , enter your printer connection type.
    For FilePrintConnector = 'file'
    NetworkPrintConnector = 'network'
    WindowsPrintConnector (USB) = 'windows'
    DummyPrintConnector = 'test'
    Please enter one value, example for windows 'windows'
  • $config['printer_connection'] = 'test';
  • 8. Note: Edit Only If you have entered $config['printer_connection'] = 'file'; in step 7 than please edit line no 64, otherwise skip it. Enter your value example : /dev/usb/lp0 - you can it in your terminal
    $config['print_file'] = '/dev/usb/lp0';
  • 9.Note: Edit Only If you have entered $config['printer_connection'] = 'network'; in step 7 than please edit line no 67 , otherwise skip it. Enter your local network printer ip
    $config['print_network'] = array("10.x.x.x", 9100);
    if you printer ip is public you can follow CASE 1

  • 10.Note:Edit Only If you have entered $config['printer_connection'] = 'windows'; in step 7 than please edit line no 70 . Enter your value for
    $config['print_windows'] = 'LPT1';

    Here 'LPT1' can be your printer's share name -> go to windows printer settings > printer properties > enable sharing (you will get the share name like ESPXYZ)

  • 11. Later go to Geo POS app printer settings> add printer > select REST Based Printer Server as Printer Type
  • 11. In the Printer Connector section - enter http://localhost/pos_printer/index.php
  • 12. In the Business Locations section - Default
  • 13. In the Printing Mode section - Basic
    Advance Mode Requires Imagick Extension on ;local host and Hosting server as well.
  • 14. in POS Section > Pay+Print Now Button work only for CASE 1

 

Compatibility

     Linux     Mac           Windows  
Ethernet    Yes Yes Yes
USB Yes Not tested Yes
USB-serial Yes Yes Yes
Serial Yes Yes Yes
Parallel Yes Not tested Yes
SMB shared Yes No Yes
CUPS hosted Yes Yes No

Supported Printers

  • 3nStrat POS-08
  • AURES ODP-333
  • AURES ODP-500
  • Bematech-4200-TH
  • Bematech LR2000E
  • Bixolon SRP-350III
  • Black Copper BC-85AC
  • Citizen CBM1000-II
  • Citizen CT-S310II
  • Dapper-Geyi Q583P
  • Daruma DR800
  • DR-MP200 (manufacturer unknown)
  • EPOS TEP 220M
  • Epson EU-T332C
  • Epson FX-890 (requires feedForm() to release paper).
  • Epson TM-T20
  • Epson TM-T20II
  • Epson TM-T70
  • Epson TM-T70II
  • Epson TM-T81
  • Epson TM-T82II
  • Epson TM-T88II
  • Epson TM-T88III
  • Epson TM-T88IV
  • Epson TM-T88V
  • Epson TM-U220
  • Epson TM-U295 (requires release() to release slip).
  • Epson TM-U590 and TM-U590P
  • Equal (EQ-IT-001) POS-58
  • Excelvan HOP-E200
  • Excelvan HOP-E58
  • Excelvan HOP-E801
  • Excelvan ZJ-8220
  • Gainscha GP-5890x (Also marketed as EC Line 5890x)
  • Gainscha GP-U80300I (Also marketed as gprinter GP-U80300I)
  • gprinter GP-U80160I
  • Hasar HTP 250
  • Metapace T-1
  • Metapace T-25
  • Nexa PX700
  • Nyear NP100
  • Okipos 80 Plus III
  • Orient BTP-R580
  • Partner Tech RP320
  • P-822D
  • P85A-401 (make unknown)
  • Rongta RP326US
  • Rongta RP58-U
  • Senor TP-100
  • SEYPOS PRP-300 (Also marketed as TYSSO PRP-300)
  • Sicar POS-80
  • Silicon SP-201 / RP80USE
  • SPRT SP-POS88V
  • Star BSC10
  • Star TSP100 ECO
  • Star TSP100III FuturePRNT
  • Star TSP-650
  • Star TUP-592
  • Venus V248T
  • Xprinter F-900
  • Xprinter XP-365B
  • Xprinter XP-58 Series
  • Xprinter XP-80C
  • Xprinter XP-90
  • XPrinter XP-Q20011
  • Xprinter XP-Q800
  • Zjiang NT-58H
  • Zjiang ZJ-5870
  • Zjiang ZJ-5890K
  • Zjiang ZJ-5890T (Marketed as POS 5890T)
  • Zjiang ZJ-8220

Did you find this article useful? Yes | No

Did you find this article useful?

Yes, thanks! Not really
Last Updated: 30/04/2020 02:45

A total of 8 / 21 users found this article useful.