【发布时间】:2017-12-01 02:41:17
【问题描述】:
我在本教程中使用 nginx 在我的树莓派上托管了一个网站: https://andrewmichaelsmith.com/2013/08/raspberry-pi-wi-fi-honeypot/
这是一个强制门户,该网站是一个测验。完成测验后,我希望提交按钮从连接到使用本教程设置的树莓派的热敏收据打印机打印“处方”: https://learn.adafruit.com/networked-thermal-printer-using-cups-and-raspberry-pi?view=all
我可以运行教程中的命令:“lpr location/image_file.png”从树莓派的 CLI 打印。那么问题来了,如何链接提交按钮以将此命令发送到 RPi?
感谢您的任何建议!
【问题讨论】:
标签: nginx raspberry-pi remote-access thermal-printer