Piqae Docs
Platform APIs

Printers, profiles, and stock

Discover what is available and expose safe print choices to your application.

List available resources

typescript
const [nodes, printers, stocks, targets] = await Promise.all([
  customer.agents.list(),
  customer.printers.list(),
  customer.stocks.list(),
  customer.targets.list()
]);

Profiles are native snapshots

A profile is an immutable capture of operating-system driver settings on one node. The same OS printer can have several profiles—for example A4 colour, A4 duplex, tray 2 letterhead, or an OKI label stock with vendor-specific calibration.

What the web app should show

  • Friendly profile and stock name.
  • Page dimensions, orientation, colour, duplex, copies policy, and printable area.
  • Node and printer online state.
  • Native validation and last successful test.
  • A stable target ID when routing rather than a specific OS queue is desired.

Was this page useful?