.env.sample
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
GBCP_PRINTER_NAME
This is the name of the printer that we want to send our prints to. You can run the following command to get the names of all of the…
GBCP_PRINTER_WIDTH_PX
This is something that you may have to tinker with to get the correct value. Changing this value will adjust the width of the images as…
GBCP_PRINTER_LINE_PADDING
Depending on your printer, you may need to add extra to the bottom of the print, to account for the print feed / cut line alignment. This…
GBCP_PRINTER_WIDTH_COLUMNS
This value is used to calculate the right alignment of any text that will appear under the image. Again you'll have to tinker with this…
GBCP_PRINT_DESCRIPTION
We can add a description to the bottom of the image, if desired.
GBCP_VIDEO_DEVICE_NAME
For the webcam-capture script, we need to know which camera to pull from for our images. To see the list of devices, you can run `imagesnap…
GBCP_VIDEO_DEVICE_DELAY_HALFSECONDS
The amount of delay to add to the webcam capture script to give visual indication of when the picture is being taken. It appears that…
brew install flyctl && fly launch --from https://github.com/christina-de-martinez/inbound-message-printer
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/christina-de-martinez/inbound-message-printer
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/christina-de-martinez/inbound-message-printer