Skip to content

Simple Scan

Simple Scan is a quick, easy way to scan paper documents to optimized, searchable PDF documents (or images) and send them almost anywhere. Protocol Launcher allows you to generate deep links to open Simple Scan and trigger scanning with predefined destinations and formats.

Usage

There are two ways to use this library:

  • On-Demand import from subpaths enables tree-shaking and keeps bundles small.
  • Full Import from the root package is convenient but includes all app modules.

Pick On-Demand for production builds; Full Import is fine for quick scripts or demos.

Select Installation Method

On-Demand
Recommended. Optimized for production.
Full Import
Convenient. Good for quick scripts.

Open Simple Scan

On-Demand
ts
import { open } from 'protocol-launcher/simple-scan'

const url = open()

Scan

On-Demand
ts
import { scan } from 'protocol-launcher/simple-scan'

const url = scan({
  destination: 'email',
  format: 'pdf',
  quality: 'original',
})