Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

Code for writing a simple web server to be put in a printer

Hi
Let me give you the background of what I have to do. I am going to put a product of mine in a Printer ROM and then control it from the web browser on my PC. Its like any Canon or Ricoh printers, if you want to change some settings on the printer, either you go to the printer console or you put the IP address of the printer in the web browser and the settings page pops up from where you can change the settings. Routers is another example.
So this conversion product needs to know how to process the files coming to it. For that it needs settings, I want to put some setting pages (created in some web language) inside the ROM that can be called from the web browser so I need a simple web server that I can use to call the pages and subsequently pass my options in the form of a file to the product.
I can write the web server but just need some basic code to get me started. Printer runs on Linux.
Any suggestions?

Thanks
LDAPW
0
LDAPW
Asked:
LDAPW
  • 2
2 Solutions
 
pulupulCommented:
Check this library, it might help: http://sourceforge.net/projects/lphttp
If you use it you should follow GPL license though.
0
 
pulupulCommented:
Ups I just realized that project has not released any files yet, forget it.
0
 
rama_krishna580Commented:
Hi,

Have alook at this ... http://wh2fo.sourceforge.net/examples/ews_user_guide_extract.pdf.

for more info, Look at this example program to set default printer...
http://support.microsoft.com/default.aspx?scid=kb;EN-US;266767

R.K

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now