> For the complete documentation index, see [llms.txt](https://docs.bossithq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bossithq.com/receipt-printers/sunmi-receipt-printers/sunmi-lan-receipt-printer-configuration/assigning-a-static-ip-address.md).

# Assigning a Static IP Address

Assigning a Static IP Address gives your printer a fixed network address, ensuring it doesn't change each time the device or router restarts. This allows the POS system to consistently detect the printer.

## How to Assign a Static IP Address

{% stepper %}
{% step %}

### Connect the Printer to the  Internet

Connect the printer to the internet either via ethernet cable or via Wi-Fi. Verify that the blue light on the cloud icon is on to confirm internet connectivity.

See these steps to connect it to Wi-Fi: [Sunmi Cloud Printer Configuration](/kitchen-printers/sunmi-cloud-printer-configuration.md)

<figure><img src="/files/2M9qWnzKUpTERPbiF4BN" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Obtain Printer Information

At the back of the device, there is a button. **Press it twice.** This generates a receipt containing network information.

<figure><img src="/files/jQBxHylmBQqTgS4bQDqz" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Go to the Device Page

On the Network Page that printed out, get the IP details.

{% hint style="info" %}
It will be under \[LAN] if you're using ethernet cable, and it will be under \[Wi-Fi] if you're connected via Wi-Fi.
{% endhint %}

Type this IP address on a browser to access the device page.

{% hint style="warning" %}
The device you're using must also be connected to the same network.
{% endhint %}

<figure><img src="/files/jewiC4AqHBgTVZ3rtLEy" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Log In on the Page

Once you enter the IP address, you will be redirected to a page asking you to log in. Just click Log In.

{% hint style="info" %}
Initial password is empty, you can log in directly.
{% endhint %}

<figure><img src="/files/DwFaaTuIaQYlkdZHhape" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Enter Network Information

From the Navigation Bar on the left, click on **Ethernet** if you're connected via ethernet cable or **Wi-Fi** if you're connected via Wi-Fi. Enter the details (IP, SubnetMask, GateWay) from the printed Network Page.

<figure><img src="/files/B6w8wa5BOGYeixFCqK3e" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/l9zEUCkMiiNJ6GXCw8lR" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Carry Out Another Network Page Print from the Printer

Press the button at the back of the printer twice again to print out the network page. A section that says \[LAN Fixed] or \[Wi-Fi Fixed] would confirm that the printer has been assigned a fixed IP.

<figure><img src="/files/fOR1SOm87x25lCu4K7EZ" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.bossithq.com/receipt-printers/sunmi-receipt-printers/sunmi-lan-receipt-printer-configuration/assigning-a-static-ip-address.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
