open-index/open-npm huggingface dataset:
npm package: @ottimis/sunmi-native-print
Description: Plugin to print through Sunmi printers
Author: MM
Latest version: 7.0.1

# @ottimis/sunmi-native-print

Plugin to print through Sunmi printers

## Install

```bash
npm install @ottimis/sunmi-native-print
npx cap sync
```

## API

<docgen-index>

* [`echo(...)`](#echo)
* [`connect(...)`](#connect)
* [`disconnect(...)`](#disconnect)
* [`sendRawData(...)`](#sendrawdata)
* [`checkPrinterStatus()`](#checkprinterstatus)

</docgen-index>

<docgen-api>
<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->

### echo(...)

```typescript
echo(options: { value: string; }) => Promise<{ value: string; }>
```

| Param         | Type                            |
| ------------- | ------------------------------- |
| **`options`** | <code>{ value: string; }</code> |

**Returns:** <code>Promise&lt;{ value: string; }&gt;</code>

--------------------


### connect(...)

```typescript
connect(options?: {} | undefined) => Promise<{ success: boolean; }>
```

| Param         | Type            |
| ------------- | --------------- |
| **`options`** | <code>{}</code> |

**Returns:** <code>Promise&lt;{ success: boolean; }&gt;</code>

--------------------


### disconnect(...)

```typescript
disconnect(options?: {} | undefined) => Promise<{ success: boolean; }>
```

| Param         | Type            |
| ------------- | --------------- |
| **`options`** | <code>{}</code> |

**Returns:** <code>Promise&lt;{ success: boolean; }&gt;</code>

--------------------


### sendRawData(...)

```typescript
sendRawData(options: { data: string; }) => Promise<{ success: boolean; }>
```

| Param         | Type                           |
| ------------- | ------------------------------ |
| **`options`** | <code>{ data: string; }</code> |

**Returns:** <code>Promise&lt;{ success: boolean; }&gt;</code>

--------------------


### checkPrinterStatus()

```typescript
checkPrinterStatus() => Promise<{ success: boolean; }>
```

**Returns:** <code>Promise&lt;{ success: boolean; }&gt;</code>

--------------------

</docgen-api>