How paper is printed at SCE.
Clone the SCE dev tool and follow the guide for setup: https://github.com/SCE-Development/SCE-CLI#setup
sce clone q
cd Quasar
sce link q
config/config.example.json
to config/config.json
config/config.json
with the appropriate values:
{
"HEALTH_CHECK": {
"CORE_V4_IP": "this is an ip address, i.e. 127.0.0.1"
},
"PRINTING": {
"LEFT": {
"ENABLED": true,
"NAME": "name of left printer in sce",
"IP": "ip address of the left printer in sce",
"LPD_URL": "lpd://<ip address of left printer>"
},
"RIGHT": {
"ENABLED": true,
"NAME": "name of right printer in sce",
"IP": "ip address of the right printer in sce",
"LPD_URL": "lpd://<ip address of right printer>"
}
}
}
sce run q
. The server will run and accept requests on http://localhost:14000.unlink
in server.py
. Data recieved is written to the tmp
folder within this project.Note: This is for deploying production Quasar only!
id_ed25519
docker-compose up
, the generated keys will be mounted in the health check container
ENABLED
field to true for the printer you wish to print atIP
and LPD_URL
field are using the same IP address of the corresponding printerNAME
field can be whatever you want, i.e. right-printer
. It's for the lp
command to use in sending the print requestdocker-compose up --build -d
docker logs sce-printer --tail 300 -f