Skip to content

Provides a wrapper api which hides the underlying printing services in QuickTravel. If required you can also manually invoke the underlying API service.

License

Notifications You must be signed in to change notification settings

sealink/printers_qt

Repository files navigation

npm version Coverage Status Build Status

Why

Provides a wrapper api which hides the underlying printing services in QuickTravel. If required you can also manually invoke the underlying API service.

PrintService (Recommended API)

QuickTravel API endpoints require a CSRF token you must provide as a constructor option.

const config = {
  quicktravel: {
    host: 'hostName',
    bearerToken: 'bearerToken'
  },
  config: {
    host: 'hostName',
    bearerToken: 'bearerToken'
  }
}

const service = new PrintService(config)
  • printTickets
  • issueTickets
  • voidTickets
  • printReservations
  • reprintTickets
  • voidTickets
  • printReceipt

QuickTravel

  • voidTickets
  • reprintTickets
  • printReceipt
  • issueAndPrint
  • issueTickets

QuickPrint

  • print-tickets

Printers Config

  • listPrintGroups
  • listPrintGroupsPrinters

Deployment

Build / Deployment is handled via travis CI. Package management is via NPM.

First create the release branch

git branch release/0.3.0

Second Update package.json and specify the version you are releasing

Next Tag and push to travis

git tag v0.3.0
git push origin master --tags

Remember to merge changes back to the master branch

About

Provides a wrapper api which hides the underlying printing services in QuickTravel. If required you can also manually invoke the underlying API service.

Resources

License

Stars

Watchers

Forks

Packages