printscan-server/README.md

28 lines
1.1 KiB
Markdown
Raw Normal View History

2021-10-22 16:27:27 +02:00
# Printscan server
2022-03-11 10:45:26 +01:00
## Version 3.1
2021-10-22 16:27:27 +02:00
2021-10-22 17:00:31 +02:00
This repository contains files used to set up our printscan server on a freshly installed Armbian. Target is Bullseye.
2021-10-22 16:27:27 +02:00
### Introduction
(see wiki for need and concept explanation)
2022-03-11 10:45:26 +01:00
Version 3.1 implementation works roughly as follows:
2021-11-12 15:32:04 +01:00
##### SBC
* the Armbian-based device is connected to local network, and an all-in-one printer is connected to it via USB;
* SANE and CUPS services are installed and running on the device;
* CUPS is configured to provide a remote printer to network;
2022-03-11 10:45:26 +01:00
* SANE is configured to provide local scan;
* [scanservjs](https://github.com/sbs20/scanservjs) runs on the SBC, providing a web interface for scan.
2021-11-12 15:32:04 +01:00
### Files
2022-03-11 10:45:26 +01:00
Files in this repository cover all the SBC setup.
2021-11-12 15:32:04 +01:00
#### Installation
2022-03-12 12:43:44 +01:00
* `setup.sh` is a script automating the installation and configuration of required software.
* `cupsd.conf` is the config file for CUPS, set by setup script.
* `scanservjs.conf` is an Apache HTTP vhost file for scanservjs.
2022-03-12 11:29:46 +01:00
### TODO
* When new conf-sync will be available, adapt functions `get_conf()` and `set_conf()`.
2022-03-12 12:42:37 +01:00
* Add an update script for scanservjs.
2022-03-21 12:00:57 +01:00
* Add a firewall rule to block access to port 8080.