open-index/open-npm huggingface dataset:
npm package: @simplymobile/capacitor-godex-printer
Description: Capacitor GoDEX printer plugin
Author: SimplyMobile
Latest version: 8.0.0

# @simplymobile/capacitor-godex-printer

Capacitor GoDEX printer plugin

## Install

```bash
npm install @simplymobile/capacitor-godex-printer
npx cap sync
```

## API

<docgen-index>

* [`getVersion()`](#getversion)
* [`connectToUSB()`](#connecttousb)
* [`printFromUSB(...)`](#printfromusb)
* [`disconnect()`](#disconnect)
* [`getPrinterDPI()`](#getprinterdpi)

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

### getVersion()

```typescript
getVersion() => Promise<{ version: string; }>
```

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

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


### connectToUSB()

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

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

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


### printFromUSB(...)

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

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

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

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


### disconnect()

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

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

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


### getPrinterDPI()

```typescript
getPrinterDPI() => Promise<{ value: number; }>
```

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

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

</docgen-api>