Do all printing through remote cups server

Alright I figured it out! thanks for the help.

Automatic Configuration using IPP

Note:

This method of configuration does not work on macOS 10.7 or later because sandboxed applications do not always have direct network access.

CUPS can be configured to run without a local spooler and send all jobs to a single server. However, if that server goes down then all printing will be disabled. Use this configuration only as absolutely necessary.

The default server is normally the local system (“localhost”). To override the default server create a file named /etc/cups/client.conf with a line as follows:

ServerName server

The server name can be the hostname or IP address of the default server. If the server is not using the default IPP port (631), you can add the port number at the end like this:

ServerName server:port

The default server can also be customized on a per-user basis. To set a user-specific server create a file named ~/.cups/client.conf instead. The user client.conf file takes precedence over the system one.

Finally, you can set the CUPS_SERVER environment variable to override the default server for a single process, for example:

CUPS_SERVER=server:port firefox

will run the Firefox web browser pointed to the specified server and port. The environment variable overrides both the user and system client.conf files, if any.