What it does

The first ever in the world Alexa Skill to print from Amazon Alexa to a Brother QL printer!

How we built it

A quick flow on how it's built:

On opening the Alexa skill for the first time, the unique Alexa device id is stored inside DynamoDB and is assigned a connection string.

When the user tries to print, the database is queried to check if there is a device connected to it. The android device acts as a middleman to print because it's using the Brother printer mobile SDK.

On the Brother printer, click on the Bluetooth button to enable paring and then pair it up with your mobile device by scanning devices near by. Next, in the app, the user enters the connection string to connect to the Alexa device. Once connected, the user is ready to print with Alexa.

How the Alexa skill works:

When the user says "print", followed by the phrase they want to print, the intent is analyzed and DynamoDB is queried for the endpoint of the matching device. With the device endpoint, a message is sent to that device using AWS Simple Notification Service (SNS) and Firebase FCM. It's then parsed and printed to the brother printer!

The backend is deployed on an EC2 instance running a t4g.micro. The Alexa skill is deployed on AWS Lambda also running a 64bit arm graviton processor

Accomplishments that we're proud of

Designing, implementing, and getting the whole flow of this setup to work is what I'm proud of!

What's next for Alexa's Brother's Printer

More intents for the Alexa Skill, designing more templates for different types of labels, multi language support using AWS transcribe. USPS API incorporation for validating addresses in shipping labels.


Dance of the Sugar Plum Fairy – Kevin MacLeod (No Copyright Music)

Built With

Share this project: