OpenPrinting / ps-printer-app

PostScript Printer Application
Apache License 2.0
40 stars 13 forks source link

How do I change the port? #10

Closed MensoMG closed 2 years ago

MensoMG commented 2 years ago

What if I have a server running on port 8000? How do I change to another port?

tillkamppeter commented 2 years ago

If you server is already running and you start the Printer Application, it will start on port 8001. Only if yout server starts after the Printer Application, it will not be able to start or has to take an alternative port.

At least some Printer Applications can be started with an alternative port:

ps-printer-app -o server-port=10000 server

What we need is some way to set the default port of the Printer Application by a configuration file.