main_logo

Cloud Server Print

How to install and setup the Hardware

Applicable Interface

USB
Connecting
• Connect the USB cable to the B-gate and the host, and turn on the B-gate.
 
Wired LAN
Connecting

• After B-gate booting is complete, proceed to "Opening the printer cover  Pressing the Feed key Closing the printer cover", and the B-gate self-test describing the LAN configuration information is printed.

• Check the ETH_DHCP value in the self-test. If the value is Disabled, open the network configuration of the host (e.g., PC) and set the LAN of the host to the same as the LAN configuration of the B-gate. For example, if the default IP of the B-gate is 192.168.192.168, set the IP of the host to 192.168.192.x (x = 1 ~ 254) and the Subnet Mask to 255.255.255.0.

• When connecting the LAN cable with the ETH_DHCP value set to Enabled, the B-gate automatically brings IP information from the DHCP server (router). By printing the self-test of B-gate, you can check the IP assigned to B-gate.
Setting

• Utilities are provided so that users can set up the interface.

• Web Utilities: It can be accessed by entering IP of B-gate in the address window of the web browser.

• Native Utilities: Utility apps that can run on each OS are provided.

Wireless LAN
Connecting

• Connect the supported WLAN dongle to the B-gate, and turn on the B-gate.

• After B-gate booting is complete, proceed to "Opening the printer cover  Pressing the Feed key Closing the printer cover", and the B-gate self-test describing the WLAN configuration information is printed.

• First check the network value in the self-test. If the value is adhoc, open the wireless connection menu of the host (PC, tablet, smartphone) and set it as adhoc before connecting. The default network mode for B-gate is adhoc, ESSID is BIXOLON_adhoc, and IP address is 192.168.1.1.

• If the value is infra, connect the host to the AP connected to the B-gate.

• Check the WLAN_DHCP value in the self-test. If the value is disable, the host (e.g. PC), open the network configuration and set the host's WLAN to the same as the B-gate's WLAN configuration. For example, if the default IP of the B-gate is 192.168.192.168, set the host IP to 192.168.192.x (x = 1 ~ 254) and Subnet Mask to 255.255.255.0.

• When connecting the LAN cable with the ETH_DHCP value set to enabled, the B-gate automatically brings IP information from the DHCP server (router). By printing the self-test of B-gate, you can check the IP assigned to B-gate.
Setting

• Utilities are provided so that users can set up the interface.

• Web Utilities: It can be accessed by entering the IP of B-gate in the address window of web browser.

• Native Utilities: Utility apps that can run on each OS are provided.
 
Bluetooth
Connecting

• Turn on the B-gate that supports Bluetooth.

• After B-gate booting is complete, proceed to "Opening the printer cover  Pressing the Feed key Closing the printer cover", and the B-gate self-test describing the WLAN configuration information is printed.

Check the device Name value in the self-test.

Pair the devices you want to connect from the list of devices found in the host.

Setting

• Utilities are provided so that users can set up the interface.

• Native Utilities: Utility apps that can run on each OS are provided.

How to install peripherals

Connecting

Connect supported peripherals to the USB-A type on the back of the B-gate, and turn on the B-gate.

After B-gate booting is complete, proceed to "Opening the printer cover → Pressing the Feed key → Closing the printer cover", and the B-gate self-test describing the enabled peripheral configuration information is printed.

How to install and setup the Cloud Server

Setup the Cloud Server Instance

In order to use the Cloud Server Print functionality, Bixolon’s Cloud Server Handler should be installed on your Cloud Instance. You can use either your own private cloud server or public cloud servers (Amazon AWS EC2or Google Cloud Compute Engine) for the Cloud Server Print.

Cloud Instance Requirement

1. Ubuntu 16.04 64-bit and later or any Linux 64-bit Cloud Instance(AWS/Google Cloud).
2. 
Open port 8080 on your Cloud Instance.
 

AWS Clound Insance Reference :
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EC2_GetStarted.html


Google Cloud Compute Engine Refernce:

https://cloud.google.com/compute/docs/quickstart-linux

B-gate Cloud Server Handler Installation

In order to install the Bixolon’s Cloud Server handler program (CloudServerHandler.tar.bz2), please do the following steps,

1. Open your Cloud Instance 
2. Copy the CloudServerHandler.tar.bz2 into your Cloud Instance
3. Open terminal and navigate to the CloudServerHandler.tar.bz2 file’s directory
4. Run the following commands
a. tar –xvf CloudServerHandler.tar.bz2
b. cd CloudServerHandler
c. chmod +x ./setup.sh
d. sudo ./setup.sh

The above commands will install the B-gate Cloud Server Print Handler. Reboot your Cloud Instance

How to connect B-gate to Cloud Server

The B-gate comes with a built-in webserver and a Web Configuration Tool (BGATE WebCONFIG Tool). All B-gate’s Web Print configuration and settings are done via BGATE WebCONFIG Tool. Since the BGATE WebCONFIG Tool is a web application, the supported interfaces are

LAN (Local Area Network)
WLAN (Wireless Local Area Network)
 

Caution

The BGATE WebCONFIG Tool is password protected, please contact BIXOLON for account credential details.

LAN

1. Connect the LAN cable into the B-gate and then turn on the B-gate.
2. After the B-gate is booted, Open Printer Cover → Press and Release Feed Button → Close Printer Cover. This will print the B-gate’s Self Test Page, which includes LAN Configuration Information as well.
3. From the Self Test Page, take a note on the value of ETH_DHCP, if the value is Disabled then, open your Host(e.g. PC) Network Configuration and set your Host in the same LAN network as the B-gate’s LAN Configuration. For example, if the B-gate’s default IP is 192.168.192.168 then, make your Host IP into 192.168.192.X (x = 1~255) and the Subnet Mask is 255.255.255.0 and Save your new setting.
4. If the ETH_DHCP value is Enabled then just connect the LAN Cable, the B-gate will automatically acquire the IP Information from your DHCP Server(router), print the B-gate self Test Page again to get know the B-gate’s IP Information.
5. Open the web browser on your Host and enter the B-gate’s IP in the address bar, if it is open the BGATE WebCONFIG Tool then you have configured your PC and the B-gate Correctly.

WLAN

1. Connect a WLAN Dongle into the B-gate and turn on the B-gate.
2. After the B-gate is booted, Open Printer Cover → Press and Release Feed Button → Close Printer Cover. This will print the B-gate’s Self Test Page, which includes WLAN Configuration Information as well.
3. From the Self Test Page, take a note on the value of the Network, if the value is infra then, use the B-gate network utilities to set the WLAN configuration.
4. If the Network value is adhoc then, connect your host (PC/Tablet/Smart Phone) to the B-gate. The default ESSID of the B-gate is BIXOLON_adhoc and the default IP address is 192.168.1.1
5. Open the Wireless Connection on your Host(e.g. PC/Tablet/Smart Phone) and connect to BIXOLON_adhoc and configure Static IP setting with the IP Address is 192.168.1.2 and the Subnet Mask is 255.255.255.0 and save the new setting.
6. Open the web browser on your Host and enter the B-gate’s IP in the address bar, if it is open the BGATE WebCONFIG Tool then you have configured your PC and the B-gate Correctly.

Utility Setup

Network Configuration

Verify LAN Information
1) Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
2) Click General Information >> Wired TCP/IP Info menu, it will display the current LAN Settings information.


Set LAN Information

1) Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
2) Click Configuration >> Set LAN TCP/IP Menu.
3) After entering the required LAN information click on the Set LAN IP button.
4) Restart the B-gate after receiving the LAN setting success message from the B-gate to apply the new LAN setting information.


Verify WLAN Information

1) Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
2) Click General Information >> Wireless TCP/IP Info menu, it will display the current WLAN information.


Set WLAN Information

1) Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
2) Click Configuration >> Set WLAN TCP/IP  menu.
3) After entering the required WLAN information click on the Set WLAN IP  button.
4) Restart the B-gate after receiving the WLAN setting success message from the B-gate to apply the new WLAN setting information.

External Printer Configuration

USB Printer Settings

A printer, which is connected to the B-gate via USB does not require a separate ID setting. The B-gate will recognize the connected USB printer by the USB physical connection and the connected USB printers can be controlled with the specified ID by the B-gate.

1) Local Printer: The ID of the Printer which is integrated in B-gate(local_printer)
2) USB Printer: The ID of the Printer which is connected to the B-gate via USB port (usb_printer1 ~ 4)



Network Printer Settings

An external network printer, which is connected to the B-gate requires a separate unique ID setting. The B-gate will recognize the connected network printer using the given unique ID.
 

1) Verify Network Printer Information
(1) Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
(2) Click  Device >> Register Network Printer menu.
(3) Device List will display all the registered printer information.
 
2) Register Network Printer
(1)Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
(2)Click Device >> Register Network Printer menu.
(3)Enter the required information and then click the Register Device button.
Register Network Printer

3) Register Network Printer
(1)Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
(2)Click Device >> Register Network Printer menu.
(3)From the Device List table, click the Remove Printer button on the printer you want to delete.

Rerouting Printer Settings

Rerouting printers are just like backup printer, when the designated printer is out of service, then the printer job will automatically redirect to the registered rerouting printer based on its priority.
 

Caution The Rerouting Device ID and the Network Printer Device ID are different IDs


1) Verify Rerouting Printer Information

(1) Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
(2) Click Device >> Register Rerouting Printer menu.
(3) The Rerouting Printer List table will display the registered rerouting printer list information.
 
2)Register Rerouting Printer
(1) Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
(2) Click Device >> Register Rerouting Printer menu.
(3) Enter the required information in the Register Rerouting Printer fields and then click the Register button.
 
3) Remove Rerouting Printer
(1)Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
(2)Click Device >> Register Rerouting Printer menu.
(3)From the Rerouting Printer List table, click the Remove Printer button on the printer you want to delete from the Rerouting Printer List.
 
4) Change Priority
(1)Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
(2)Click Device >> Register Rerouting Printer menu.
(3)From the Rerouting Printer List table, click the Up or Dw button on the rerouting  printer to change its priority and then click the UPDATE PRIORITY button.

Cloud Server Print Settings
Cloud Server Print is a special feature supported by the B-gate, A unique Shop Name has been given to the B-gate and the B-gate is registered to Cloud Server with that Shop Name. Customer can send the print job to the Cloud Server with the Shop Name. When the Cloud Server Print is enabled on the B-gate, the B-gate will automatically fetch the job from the Cloud Server and print

1) Register Cloud Server Account

(1)Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.

(2) Click the Cloud  menu.

(3) Enter the required details and then click the Register button.
 

2) Delete Cloud Server Account

(1) Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.

(2) Click the Cloud menu.

(3) Click the RE-REGISTER button.
 

3) Enable Cloud Server Print

(1) Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.

(2) Click Cloud >> Cloud Server Print menu.

(3) Enter the required details and then click the START button.(Ping Interval: Access cycle information from B-gate Cloud Server)
 

4) Disable Cloud Server Print

(1) Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.

(2) Click Cloud >> Cloud Server Print menu.

(3) Click the STOP button.
 

Caution

In order to use Cloud Server Print, the B-gate should be connected to the internet and able to access the Cloud Server as well.

Development Environment

Web Application usually runs in web browsers, so there is no need for specific operating system supports; however, the selection of web browser should be relevant. Since our BIXOLON’s B-gate uses HTML 5 features, it is essential to use HTML5 supported web browsers, this section will discuss about the browser versions which are supported by our SDK APIs.

Supported Web Browser Versions

  • IE (Internet Explorer): 10.0 and above
  • Chrome: 16 and above
  • Chrome Mobile: 16 and above
  • Safari: 6.0 and above
  • Safari Mobile: 6.0 and above
  • Firefox: 11.0 and above
  • Firefox Mobile: 11.0 and above
  • Opera: 12.10 and above
  • Opera Mobile: 12.10 and above
  • Android Browser: 4.4 and above
  • Black Berry Browser: 7.0 and above

Caution

If you use a Web browser that does not support Web Socket then, the function may not work properly

Sample Apps

The B-gate comes with a built-in Sample App to test the B-gate’s Cloud Server Print functionality.

Cloud Server Print Testing
1. Open the BGATE WebCONFIG Tool by entering the B-gate’s IP address in the address bar of the web browser.
2. Click Cloud Server Demo menu.
3. A new web page for the Cloud Server Print demo will appear in your web browser.
4. There are 4 kinds of demo applications,
  • EDITOR -  Make your sample print page and Print
  • COFFEE SHOP – Sample Coffee Shop demo
  • QUEUE TICKET – sample Queue Ticket Printing
  • COUPON            – Sample Coupon Printing
5. To print a Sample Queue Ticket, Enter the Cloud IP Address in Cloud IP Address box and then click Get Shops button and then select your designated shop from the shop list drop down box, by default. After selecting the designated Shop, click the QUEUE TICKET button and it will send the sample queue ticket to the selected shop via cloud and display the order status.


6. To print a Sample Coupon, Enter the Cloud IP Address in Cloud IP Address box and then click Get Shops button and then select your designated shop from the shop list drop down box. After selecting the designated Shop, click the Coupon button and it will send the sample coupon to the selected shop via cloud and display the order status.


7. To check Editor Demo, click the EDITOR button to show the sample editor demo application. Design your sample print page by clicking the required buttons on the left side. After designing your sample print page enter the Cloud IP Address in Cloud IP Address box and then click Get Shops button selecting your designated shop from the shop list drop down box. After selecting the designated Shop, click the PRINT DATA button and it will send the sample print page to the selected shop via cloud and display the order status.



8. To test the Coffee Shop demo click the COFFESHOP button and it will show the Coffee Shop demo application. Click your items order, then Enter the Cloud IP Address in Cloud IP Address box and then click Get Shops button selecting your designated shop from the shop list drop down box. After selecting the designated Shop, click the PRINT button and it will send your order to the selected shop via cloud and display the order status.


 

Caution

In order to use Cloud Server Print, the B-gate and the device which is open the Cloud Server Print Demo application should be connected to the internet and able to access the Cloud Server.