Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote connection #15

Open
bgarret opened this issue Sep 9, 2019 · 4 comments
Open

Remote connection #15

bgarret opened this issue Sep 9, 2019 · 4 comments

Comments

@bgarret
Copy link

bgarret commented Sep 9, 2019

Hello,

Thanks for the work done so far, this looks very clean. I'd be interested in adapting the library to work with a remote CUPS host.

Is it something that would be possible with the current architecture? If yes, could you give me a few pointers so I know where to look for?

Benoit

@bgarret
Copy link
Author

bgarret commented Sep 9, 2019

Ignore my previous message, it looks to be working using the following code to initialize the client :

$client = new Client("username", "password", ["remote_socket" => "tcp://REMOTE_IP:631"]);

Would you be interested in a pull request to put this in the doc? It currently says that the socket transport is mandatory.

@chriskonnertz
Copy link

Yeah this is very important and should be meantioned in the docs! @smalot

@nashsaint
Copy link

I get syntax error, should there be a comma after password?

@bgarret
Copy link
Author

bgarret commented Jan 20, 2020

I get syntax error, should there be a comma after password?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants