I have a D-Link DSL 2750U Router which also has a USB Port that can be used to connect a USB Printer and make the router work as a Print Server. I have been trying to print to a HP Laser Jet 1020 Printer using this print server from Fedora 23/24. The D-Link documentation suggests specifying http://172.16.100.1:631/printers/HP as the Printer URI. This configuration works very well over the network while using a Windows system but it does not print at all from the Fedora machine even after trying various permutations and combinations. Also, the printer works fine when its connected locally to the Fedora 24 system.
Has anyone tried a similar thing or can give any suggestions ?
This laser printer is a "special printer" and uses the foo2zjs driver ( http://foo2zjs.rkkda.com/ ) to print on Linux and it loads a firmware on the printer. The D-Linux DSL 2750U is also a Linux device and is running ippd for this print server to work. The printer is assigned the /dev/usb/lp/lp0 device on the D-Link router. I could also find the firmware for this printer on the router box under /etc/hotplug/firmware directory and I assume it will be getting pushed to the printer when its connected.
TIA,
Manish Kathuria
On Tue, 26 Jul 2016 19:55:41 +0530 Manish Kathuria wrote:
Has anyone tried a similar thing or can give any suggestions ?
If the dlink box is running some variation of cups, then you might try connecting to 172.16.100.1:631 with a web server to see if the admin interface has any useful info.
Usually for network printers I have to use a ipp: url to print. Something like ipp://10.134.60.18/ipp
On Tue, Jul 26, 2016 at 8:11 PM, Tom Horsley horsley1953@gmail.com wrote:
On Tue, 26 Jul 2016 19:55:41 +0530 Manish Kathuria wrote:
Has anyone tried a similar thing or can give any suggestions ?
If the dlink box is running some variation of cups, then you might try connecting to 172.16.100.1:631 with a web server to see if the admin interface has any useful info.
Usually for network printers I have to use a ipp: url to print. Something like ipp://10.134.60.18/ipp --
The D-Link box is running a program called ippd and while they suggest specifying http://172.16.100.1:631/printers/HP as the printer, accessing http://172.16.100.1/ or http://172.16.100.1:631/printers through a browser does not show anything.
I did try using ipp://172.16.100.1/ipp as the printer URI but it did not work.
On 07/26/2016 07:54 AM, Manish Kathuria wrote:
On Tue, Jul 26, 2016 at 8:11 PM, Tom Horsley <horsley1953@gmail.com mailto:horsley1953@gmail.com> wrote:
On Tue, 26 Jul 2016 19:55:41 +0530 Manish Kathuria wrote: > Has anyone tried a similar thing or can give any suggestions ? If the dlink box is running some variation of cups, then you might try connecting to 172.16.100.1:631 <http://172.16.100.1:631> with a web server to see if the admin interface has any useful info. Usually for network printers I have to use a ipp: url to print. Something like ipp://10.134.60.18/ipp <http://10.134.60.18/ipp> --The D-Link box is running a program called ippd and while they suggest specifying http://172.16.100.1:631/printers/HP as the printer, accessing http://172.16.100.1/ or http://172.16.100.1:631/printers through a browser does not show anything.
I did try using ipp://172.16.100.1/ipp http://172.16.100.1/ipp as the printer URI but it did not work.
Try browsing http://172.16.100.1:631 ---------------------------------------------------------------------- - Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com - - AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 - - - - Diplomacy: The art of saying "Nice doggy!" until you can find a - - big enough rock. - ----------------------------------------------------------------------
On Tue, Jul 26, 2016 at 3:23 PM, Rick Stevens ricks@alldigital.com wrote:
On 07/26/2016 07:54 AM, Manish Kathuria wrote:
On Tue, Jul 26, 2016 at 8:11 PM, Tom Horsley <horsley1953@gmail.com mailto:horsley1953@gmail.com> wrote:
On Tue, 26 Jul 2016 19:55:41 +0530 Manish Kathuria wrote: > Has anyone tried a similar thing or can give any suggestions ? If the dlink box is running some variation of cups, then you might try connecting to 172.16.100.1:631 <http://172.16.100.1:631> with a web server to see if the admin interface has any useful info. Usually for network printers I have to use a ipp: url to print. Something like ipp://10.134.60.18/ipp <http://10.134.60.18/ipp> --The D-Link box is running a program called ippd and while they suggest specifying http://172.16.100.1:631/printers/HP as the printer, accessing http://172.16.100.1/ or http://172.16.100.1:631/printers through a browser does not show anything.
I did try using ipp://172.16.100.1/ipp http://172.16.100.1/ipp as the printer URI but it did not work.
Try browsing http://172.16.100.1:631
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
-- Diplomacy: The art of saying "Nice doggy!" until you can find a -
big enough rock. -
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
May seem off here, but have you tried HPLIP. HP, in my experience, has been good about working with Linux; especially with there Linux driver HPLIP (HP Linux Imaging and Printing). If the router is successfully creating something to be discovered via the network then HPLIP should pick it up fairly easy. If interested check out the Fedora Wiki on the subject at:
https://fedoraproject.org/wiki/Printing/HPLIP
Once installed usually can add through normal add printer , add network printer scenario, but read documentation just to be sure for your own case. Hope this helps.
Allegedly, on or about 26 July 2016, Manish Kathuria sent:
The D-Link documentation suggests specifying http://172.16.100.1:631/printers/HP as the Printer URI. This configuration works very well over the network while using a Windows system but it does not print at all from the Fedora machine even after trying various permutations and combinations.
I'm going to ask the obvious question: Is your Linux computer in the same subnet as the printer? (i.e. 172.16..)
Is that the IP of the printer?
For what it's worth, even if it is, browsing to that IP may not do you any good. They may simply have the printer listening, without providing any interface. That's what my HP LaserJet 4M does (it's there on the network, listening and printing, but doesn't provide any kind of interface to the outside world).
Is that the IP of the router?
In that case, I'd expect that the router is acting as an internet printing server, and ought to have some kind of interface. But you may have more luck going to the root of the server (instead of directly to the printer address), http://172.16.100.1:631/, to see if that gives you an interface.
Other things to consider:
How is the Windows box printing to the printer? Is it pre-rendering, or is it sending generic printing data to the server, and the server rendering for the specific printer. You may have to do the same thing.
On Linux, a computer can send PostScript or PDF to a printer server, and have it talk to the printer in its own language. Or, you can pre-render on the computer, and send that directly to the printer. In the past, I'd found that CUPs could automatically handle both types, but other people say that you had to set up specific printer queues for each.
On Wed, Jul 27, 2016 at 1:28 AM, fred roller fredroller66@gmail.com wrote:
On Tue, Jul 26, 2016 at 3:23 PM, Rick Stevens ricks@alldigital.com wrote:
On 07/26/2016 07:54 AM, Manish Kathuria wrote:
On Tue, Jul 26, 2016 at 8:11 PM, Tom Horsley <horsley1953@gmail.com mailto:horsley1953@gmail.com> wrote:
On Tue, 26 Jul 2016 19:55:41 +0530 Manish Kathuria wrote: > Has anyone tried a similar thing or can give any suggestions ? If the dlink box is running some variation of cups, then you might try connecting to 172.16.100.1:631 <http://172.16.100.1:631> with a web server to see if the admin interface has any useful info. Usually for network printers I have to use a ipp: url to print. Something like ipp://10.134.60.18/ipp <http://10.134.60.18/ipp> --The D-Link box is running a program called ippd and while they suggest specifying http://172.16.100.1:631/printers/HP as the printer,
accessing
http://172.16.100.1/ or http://172.16.100.1:631/printers through a browser does not show anything.
I did try using ipp://172.16.100.1/ipp http://172.16.100.1/ipp as the printer URI but it did not work.
Try browsing http://172.16.100.1:631
That shows a blank page.
- Rick Stevens, Systems Engineer, AllDigital ricks@alldigital.com -
- AIM/Skype: therps2 ICQ: 226437340 Yahoo: origrps2 -
-- Diplomacy: The art of saying "Nice doggy!" until you can find a -
big enough rock. -
--
May seem off here, but have you tried HPLIP. HP, in my experience, has been good about working with Linux; especially with there Linux driver HPLIP (HP Linux Imaging and Printing). If the router is successfully creating something to be discovered via the network then HPLIP should pick it up fairly easy. If interested check out the Fedora Wiki on the subject at:
https://fedoraproject.org/wiki/Printing/HPLIP
Once installed usually can add through normal add printer , add network printer scenario, but read documentation just to be sure for your own case. Hope this helps.
I had tried using HPLIP also but that does not detect it as a network or wireless printer. For configuring the wireless printer using HPLIP one needs to connect the printer through USB once so that it is identified and when I tried that option, it did not recognize it as a known wireless printer. So I think it works only for the known HP Wireless / Network Printers.
On Wed, Jul 27, 2016 at 9:00 AM, Tim ignored_mailbox@yahoo.com.au wrote:
Allegedly, on or about 26 July 2016, Manish Kathuria sent:
The D-Link documentation suggests specifying http://172.16.100.1:631/printers/HP as the Printer URI. This configuration works very well over the network while using a Windows system but it does not print at all from the Fedora machine even after trying various permutations and combinations.
I'm going to ask the obvious question: Is your Linux computer in the same subnet as the printer? (i.e. 172.16..)
Yes
Is that the IP of the printer?
For what it's worth, even if it is, browsing to that IP may not do you any good. They may simply have the printer listening, without providing any interface. That's what my HP LaserJet 4M does (it's there on the network, listening and printing, but doesn't provide any kind of interface to the outside world).
Exactly. It does not let me browse.
Is that the IP of the router?
The printer's IP is the same as the wireless router (i.e. 172.16.100.1 and the Linux system is 172.16.100.x)
In that case, I'd expect that the router is acting as an internet printing server, and ought to have some kind of interface. But you may have more luck going to the root of the server (instead of directly to the printer address), http://172.16.100.1:631/, to see if that gives you an interface.
Tried that also, and it did not show anything on the browser. The process
list on the DLink Router shows a program named ippd running which provides the interface to the printer.
Other things to consider:
How is the Windows box printing to the printer? Is it pre-rendering, or is it sending generic printing data to the server, and the server rendering for the specific printer. You may have to do the same thing.
It is a ZjStream printer (also termed as a GDI / host based printer by many) where the rendering takes place on the Windows PC. On Linux, the printing is made possible using the foo2zjs driver or the HPLIP. I have tried using those drivers while configuring it as a network printer but it does not work. Whenever the printer is connected to the USB port on the Linux system and switched on a firmware file is pushed to it. I think that's not happening when its connected to the print server.
On Linux, a computer can send PostScript or PDF to a printer server, and have it talk to the printer in its own language. Or, you can pre-render on the computer, and send that directly to the printer. In the past, I'd found that CUPs could automatically handle both types, but other people say that you had to set up specific printer queues for each.
-- [tim@localhost ~]$ uname -rsvp Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64
Boilerplate: All mail to my mailbox is automatically deleted, there is no point trying to privately email me, I only get to see the messages posted to the mailing list.
If you don't understand how e-mail threading works, then follow the instructions given by those who do, and don't argue with them.
El 27/07/16 a las 15:22, Manish Kathuria escribió:
On Wed, Jul 27, 2016 at 9:00 AM, Tim <ignored_mailbox@yahoo.com.au mailto:ignored_mailbox@yahoo.com.au> wrote:
Allegedly, on or about 26 July 2016, Manish Kathuria sent: > The D-Link documentation suggests specifying > http://172.16.100.1:631/printers/HP as the Printer URI. This > configuration works very well over the network while using a Windows > system but it does not print at all from the Fedora machine even after > trying various permutations and combinations. I'm going to ask the obvious question: Is your Linux computer in the same subnet as the printer? (i.e. 172.16..)Yes
Is that the IP of the printer? For what it's worth, even if it is, browsing to that IP may not do you any good. They may simply have the printer listening, without providing any interface. That's what my HP LaserJet 4M does (it's there on the network, listening and printing, but doesn't provide any kind of interface to the outside world).Exactly. It does not let me browse.
Is that the IP of the router?The printer's IP is the same as the wireless router (i.e. 172.16.100.1 and the Linux system is 172.16.100.x)
In that case, I'd expect that the router is acting as an internet printing server, and ought to have some kind of interface. But you may have more luck going to the root of the server (instead of directly to the printer address), <http://172.16.100.1:631/>, to see if that gives you an interface.Tried that also, and it did not show anything on the browser. The process list on the DLink Router shows a program named ippd running which provides the interface to the printer.
Can you access the router's print server port via telnet?
telnet 172.16.100.1 631
If not try disabling the Fedora's firewall.
Also, last week i had a problem with a customer, and it was he configured a wrong net mask in the Linux box.
I suppose that ping and traceroute to the printserver's IP give the expected results, did you tried it?
On Wed, Jul 27, 2016 at 7:10 PM, Jose Maria Terry Jimenez <jtj@tssystems.net
wrote:
El 27/07/16 a las 15:22, Manish Kathuria escribió:
On Wed, Jul 27, 2016 at 9:00 AM, Tim ignored_mailbox@yahoo.com.au wrote:
Allegedly, on or about 26 July 2016, Manish Kathuria sent:
The D-Link documentation suggests specifying http://172.16.100.1:631/printers/HP as the Printer URI. This configuration works very well over the network while using a Windows system but it does not print at all from the Fedora machine even after trying various permutations and combinations.
I'm going to ask the obvious question: Is your Linux computer in the same subnet as the printer? (i.e. 172.16..)
Yes
Is that the IP of the printer?
For what it's worth, even if it is, browsing to that IP may not do you any good. They may simply have the printer listening, without providing any interface. That's what my HP LaserJet 4M does (it's there on the network, listening and printing, but doesn't provide any kind of interface to the outside world).
Exactly. It does not let me browse.
Is that the IP of the router?
The printer's IP is the same as the wireless router (i.e. 172.16.100.1 and the Linux system is 172.16.100.x)
In that case, I'd expect that the router is acting as an internet printing server, and ought to have some kind of interface. But you may have more luck going to the root of the server (instead of directly to the printer address), http://172.16.100.1:631/, to see if that gives you an interface.
Tried that also, and it did not show anything on the browser. The process
list on the DLink Router shows a program named ippd running which provides the interface to the printer.
Can you access the router's print server port via telnet?
telnet 172.16.100.1 631
Yes, it works.
If not try disabling the Fedora's firewall.
Also, last week i had a problem with a customer, and it was he configured a wrong net mask in the Linux box.
I suppose that ping and traceroute to the printserver's IP give the expected results, did you tried it?
Network connectivity is fine. Probably its just compatibility. I felt that
it should work since the print server itself (and the router device) is Linux based.
Allegedly, on or about 27 July 2016, Manish Kathuria sent:
Network connectivity is fine. Probably its just compatibility. I felt that it should work since the print server itself (and the router device) is Linux based.
I wonder if it makes use of UPnP? You might want to look in that.