Solved

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

Posted on 2004-08-13
3
148 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

17 Experts available now in Live!

Get 1:1 Help Now