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

Samsung Xpress C430W printer. #10

Open
globetrotterdk opened this issue Feb 7, 2022 · 5 comments
Open

Samsung Xpress C430W printer. #10

globetrotterdk opened this issue Feb 7, 2022 · 5 comments

Comments

@globetrotterdk
Copy link

I am trying to get a Samsung Xpress C430W printer working with NomadBSD. I currently have the color laser printer connected by an ethernet cable to my router. I need to find the IP address, the DNS host name of the printer(or both) and somehow set it up so that I can print from NomadBSD. CUPS doesn't detect the printer when connected via the ethernet. CUPS did detect the printer when connected to USB, but appeared not to be able to use the correct PPD file provided with the Universal Linux Driver (ULD) that is currently provided by HP, as CUPS was never able to print.

I have as stated above, now connected the printer via ethernet, in the hope of (if nothing else) I will be able to print using netcat, but to do that, I need to figure out the printer IP or DNS host name... Any ideas?

@mrclksr
Copy link
Member

mrclksr commented Feb 7, 2022

See https://www.cups.org/doc/network.html

If the command doesn't show your printer, try:

$ avahi-browse -a -r -t

@globetrotterdk
Copy link
Author

globetrotterdk commented Feb 7, 2022

Thanks for the quick reply. No, nothing. However, this makes me think that the problem is partially the fault of IPFW. Unfortunately, It seems like it isn't possible to use the ipfwGUI to open up the necessary ports:
631 tcp, 631 udp, 9100 tcp and 9100 udp
Even I am successful at this, I still will not be able to get CUPS to work as long as CUPS doesn't work with my printer (never a problem in Linux). Of course this could be the result of the incorrect location or permissions of the PPD files, as I have been trying to get it to work from my ~/Downloads/uld/noarch/share/ppd/ folder...

@mrclksr
Copy link
Member

mrclksr commented Feb 8, 2022

Thanks for the quick reply. No, nothing. However, this makes me think that the problem is partially the fault of IPFW. Unfortunately, It seems like it isn't possible to use the ipfwGUI to open up the necessary ports:
631 tcp, 631 udp, 9100 tcp and 9100 udp

I don't think ipfw is the problem here, however, to be really sure, you can disable ipfw, and check if it makes a difference.
Try to query your printer via /usr/local/libexec/cups/backend/snmp @LOCAL
If the printer does not answer, look up its IP in the router menu.

Of course this could be the result of the incorrect location or permissions of the PPD files, as I have been trying to get it to work from my ~/Downloads/uld/noarch/share/ppd/ folder...

Copy the *.ppd file to /usr/local/share/ppd/Samsung:

$ sudo mkdir /usr/local/share/ppd/Samsung
$ sudo cp ~/Downloads/uld/noarch/share/ppd/*.ppd /usr/local/share/ppd/Samsung/
$ sudo service cupsd restart

@globetrotterdk
Copy link
Author

globetrotterdk commented Feb 9, 2022 via email

@mrclksr
Copy link
Member

mrclksr commented Feb 10, 2022

I had to evacuate, so it will be a while before my computer and printer meet again, but thank you for the information.

What happend?

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

2 participants