Commit 96245291 authored by Benjamin Rokseth's avatar Benjamin Rokseth
Browse files

Add Epson thermal printer drivers

parent 6f1dd77e
......@@ -21,7 +21,7 @@ RUN useradd --groups=sudo,lp,lpadmin --create-home --home-dir=/home/print --shel
# Kohaprinter backend and extra cups drivers
COPY --from=builder /app/kohaprinter /usr/lib/cups/backend/
COPY drivers /
COPY drivers /drivers
COPY config/ /etc/cups/
RUN chown .lp /etc/cups/ppd/*.ppd
# RUN dpkg -i --force-architecture ql720nwlpr-1.0.1-1.i386.deb
......@@ -38,9 +38,14 @@ RUN chown .lp /etc/cups/ppd/*.ppd
# while [ ! -f /var/run/cups/cupsd.pid ]; do sleep 1; done &&\
# cupsctl --remote-admin --share-printers &&\
# kill $(cat /var/run/cups/cupsd.pid)
RUN dpkg -i --force-all --force-architecture /ql720nwpdrv-3.1.5-0.i386.deb && apt-get clean &&\
# Brother label printer (32bit)
RUN dpkg -i --force-all --force-architecture /drivers/ql720nwpdrv-3.1.5-0.i386.deb && apt-get clean &&\
rm -rf /var/lib/apt/lists/*
# Epson thermal printers
RUN dpkg -i /drivers/pcs-3.17.0.0-1.amd64.deb &&\
dpkg -i /drivers/tmx-cups-backend-1.2.4.0-1.amd64.deb &&\
dpkg -i /drivers/tmx-cups_1.2.2-1_amd64.deb &&\
apt-get clean &&\
rm -rf /var/lib/apt/lists/*
COPY startCups.sh /
CMD ["/startCups.sh"]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment