Solved

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

Posted on 2004-08-13
3
149 Views
Last Modified: 2010-04-20
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
Comment
Question by:LDAPW
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
pulupul earned 150 total points
ID: 11797877
Check this library, it might help: http://sourceforge.net/projects/lphttp
If you use it you should follow GPL license though.
0
 
LVL 3

Expert Comment

by:pulupul
ID: 11797968
Ups I just realized that project has not released any files yet, forget it.
0
 
LVL 23

Assisted Solution

by:rama_krishna580
rama_krishna580 earned 100 total points
ID: 11851901
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

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now