Printing via CUPS works fine if the application is run directly on the host. When running within a Docker container, the print job needs to be sent to the CUPS server on the host.
Documentation recommends to install CUPS into the container as well and use the CUPS_SERVER environment variable to redirect jobs to the host. lp still complains about "no default destination" and I was not able to resolve this within a reasonable amount of time.
Any hints or ideas are welcome.
Printing via CUPS works fine if the application is run directly on the host. When running within a Docker container, the print job needs to be sent to the CUPS server on the host.
Documentation recommends to install CUPS into the container as well and use the
CUPS_SERVERenvironment variable to redirect jobs to the host.lpstill complains about "no default destination" and I was not able to resolve this within a reasonable amount of time.Any hints or ideas are welcome.