printscan-server/README.md

29 lines
1.3 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
This repository contains files used to set up our printscan server.
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
2024-09-24 20:24:28 +02:00
* if you need adjustments (as in https://github.com/sbs20/scanservjs/blob/master/docs/10-configuration.md), first do:
* `sudo ln -s /usr/share/webapps/scanservjs /usr/lib/scanservjs`
2021-11-12 15:32:04 +01:00
### Files
Files in this repository cover only the server setup. SBC setup is now handled by `armbian-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
2024-10-06 19:16:53 +02:00
* `printers.conf.pi2last` is the last known working CUPS printers configuration which allowed to share HP printer
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