Hi everyone,
I'm currently running Centos 4 server with apache and mysql. My HP 4250dtn is connected to this server via JetDirect card. IP for HP printer is 192.168.1.100 IP for Centos 4 is 192.168.1.200
My question is how to enable the printer so that user can connect & print via http like http://192.168.1.100/printer
I don't know if this is possible, but i'm sure somebody out there can shine some light on this for me.
Thanks, JC
On Tue, 2006-02-14 at 08:58 -0800, JC wrote:
Hi everyone,
I'm currently running Centos 4 server with apache and mysql. My HP 4250dtn is connected to this server via JetDirect card. IP for HP printer is 192.168.1.100 IP for Centos 4 is 192.168.1.200
My question is how to enable the printer so that user can connect & print via http like http://192.168.1.100/printer
I don't know if this is possible, but i'm sure somebody out there can shine some light on this for me.
---- not sure that it's fair to ask the list when you probably could look at HP's documentation but ipp port is 9100
so you could probably just pipe stuff to 192.168.1.100:9100
Craig
I didn't look at HP doc, but doesn't help. What I want to do is to setup my printer so that people on the internet (i know this sounds odd, but i hope there is method that limits certain people to connect to it) can connect & print to this printer via http.
Thanks, JC
On Tue, 14 Feb 2006, Craig White wrote:
On Tue, 2006-02-14 at 08:58 -0800, JC wrote:
Hi everyone,
I'm currently running Centos 4 server with apache and mysql. My HP 4250dtn is connected to this server via JetDirect card. IP for HP printer is 192.168.1.100 IP for Centos 4 is 192.168.1.200
My question is how to enable the printer so that user can connect & print via http like http://192.168.1.100/printer
I don't know if this is possible, but i'm sure somebody out there can shine some light on this for me.
not sure that it's fair to ask the list when you probably could look at HP's documentation but ipp port is 9100
so you could probably just pipe stuff to 192.168.1.100:9100
Craig
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, Feb 15, 2006 at 06:17:11AM -0800, JC wrote:
I didn't look at HP doc, but doesn't help. What I want to do is to setup my printer so that people on the internet (i know this sounds odd, but i hope there is method that limits certain people to connect to it) can connect & print to this printer via http.
You can certainly have a cgi script that send a file to the printer. And you can use various apache methods to restrict access to that script, the question is what are you going to have them printing? Is it a web page?
so you could probably just pipe stuff to 192.168.1.100:9100
... is what the script could do, but if you want html to be rendered for printing out it gets trickier.
Well, the reason i'm asking this because I got it to work in Windows 2003 Server where all my printers can "put" on the web (http://www.mywebsite.com/printers) so people who access http://www.mywebsite.com/printers can see all my printers, then they can connect and print to it. Of course I'll require username & password before they can access printer resources.
I hope this clear up my goal a little bit.
Many thanks for your help, JC
On Wed, 15 Feb 2006, Jeff Kinz wrote:
On Wed, Feb 15, 2006 at 06:17:11AM -0800, JC wrote:
I didn't look at HP doc, but doesn't help. What I want to do is to setup my printer so that people on the internet (i know this sounds odd, but i hope there is method that limits certain people to connect to it) can connect & print to this printer via http.
You can certainly have a cgi script that send a file to the printer. And you can use various apache methods to restrict access to that script, the question is what are you going to have them printing? Is it a web page?
so you could probably just pipe stuff to 192.168.1.100:9100
... is what the script could do, but if you want html to be rendered for printing out it gets trickier.
On Wed, Feb 15, 2006 at 06:36:54AM -0800, JC wrote:
Well, the reason i'm asking this because I got it to work in Windows 2003 Server where all my printers can "put" on the web (http://www.mywebsite.com/printers) so people who access http://www.mywebsite.com/printers can see all my printers, then they can connect and print to it. Of course I'll require username & password before they can access printer resources.
Fastest way to do this is "share" the printer with one of those Win boxes and let the web user's access it through that system.
Since everything else is already setup this reduces the amount of work you have to do to get it working.
is there any linux module out there that can accomplish this?
Thanks JC
On Wed, 15 Feb 2006, Jeff Kinz wrote:
On Wed, Feb 15, 2006 at 06:36:54AM -0800, JC wrote:
Well, the reason i'm asking this because I got it to work in Windows 2003 Server where all my printers can "put" on the web (http://www.mywebsite.com/printers) so people who access http://www.mywebsite.com/printers can see all my printers, then they can connect and print to it. Of course I'll require username & password before they can access printer resources.
Fastest way to do this is "share" the printer with one of those Win boxes and let the web user's access it through that system.
Since everything else is already setup this reduces the amount of work you have to do to get it working.
On Wed, Feb 15, 2006 at 08:22:29AM -0800, JC wrote:
is there any linux module out there that can accomplish this?
Please don't top post. (see how most emails contain response comments underneath the previous comment? do that, please.)
Thanks JC
On Wed, 15 Feb 2006, Jeff Kinz wrote:
On Wed, Feb 15, 2006 at 06:36:54AM -0800, JC wrote:
Well, the reason i'm asking this because I got it to work in Windows 2003 Server where all my printers can "put" on the web (http://www.mywebsite.com/printers) so people who access http://www.mywebsite.com/printers can see all my printers, then they can connect and print to it. Of course I'll require username & password before they can access printer resources.
Fastest way to do this is "share" the printer with one of those Win boxes and let the web user's access it through that system.
Since everything else is already setup this reduces the amount of work you have to do to get it working.
Samba can be used to "share" a Linux printer with windows systems
--
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, 2006-02-15 at 08:22 -0800, JC wrote:
is there any linux module out there that can accomplish this?
Thanks JC
On Wed, 15 Feb 2006, Jeff Kinz wrote:
On Wed, Feb 15, 2006 at 06:36:54AM -0800, JC wrote:
Well, the reason i'm asking this because I got it to work in Windows 2003 Server where all my printers can "put" on the web (http://www.mywebsite.com/printers) so people who access http://www.mywebsite.com/printers can see all my printers, then they can connect and print to it. Of course I'll require username & password before they can access printer resources.
Fastest way to do this is "share" the printer with one of those Win boxes and let the web user's access it through that system.
Since everything else is already setup this reduces the amount of work you have to do to get it working.
---- I don't know of any Linux method of doing that but it probably would entail some apache methodology or a Rewrite Rule.
Samba is pretty much gonna be required for sharing resources to Windows users and within Samba, you can easily setup 'Point & Print' stuff where the driver is installed in the samba server printer share and then all a user need to do to access the printer (install the driver if necessary), is \SAMBA_SERVER_NAME\PRINTER_NAME
Perhaps you can accomplish the same thing with apache server once the above is working by doing something like this...
mkdir /var/www/html/printers /var/www/html/printers/printer_name
and in /etc/httpd/conf/httpd.conf # at the bottom...
RedirectPermanent /printer/printer_name/ \ file://\\SERVER_NAME\PRINTER_NAME
but this is completely untested and I haven't a clue that this methodology would work (and of course you would have to have httpd running).
Craig
JC wrote:
My question is how to enable the printer so that user can connect & print via http like http://192.168.1.100/printer
I don't know if this is possible, but i'm sure somebody out there can shine some light on this for me.
I think CUPS can do what you are looking for. I have not set it up, but CUPS uses the Interner Printing Protocol. So you should be able to add a network printer by pointing to:
http://192.168.1.100:631/printers/printername
You'll want to do some more searching around for more specific details (as this email is light on details), but I think that will get you headed the right direction to accomplish what you want.
/jt
On Wed, 2006-02-15 at 13:09 -0500, Jeffrey Tadlock wrote:
JC wrote:
My question is how to enable the printer so that user can connect & print via http like http://192.168.1.100/printer
I don't know if this is possible, but i'm sure somebody out there can shine some light on this for me.
I think CUPS can do what you are looking for. I have not set it up, but CUPS uses the Interner Printing Protocol. So you should be able to add a network printer by pointing to:
http://192.168.1.100:631/printers/printername
You'll want to do some more searching around for more specific details (as this email is light on details), but I think that will get you headed the right direction to accomplish what you want.
This page seems to cover what the OP wants... http://www.owlfish.com/thoughts/winipp-cups-2003-07-20.html
Paul