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)
|
|
|
|
|
2023-07-02 11:57:13 +02:00
|
|
|
Version 3.1 implementation works roughly as follows
|
2021-11-12 15:32:04 +01:00
|
|
|
##### SBC
|
2023-07-02 11:57:13 +02:00
|
|
|
* 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
|
|
|
|
* 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
|
2023-07-02 11:57:13 +02:00
|
|
|
Files in this repository cover all the SBC setup
|
2021-11-12 15:32:04 +01:00
|
|
|
#### Installation
|
2023-07-02 11:57:13 +02: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
|
2023-07-02 11:57:13 +02:00
|
|
|
* Add a firewall rule to block access to port 8080
|
2023-07-08 14:14:09 +02:00
|
|
|
* REVIEW THE SCRIPT TO ONLY SET UP PRINTSCAN, INSTALLATION IS DONE BY armbian-setup
|