Mailinglist Archive: opensuse (3139 mails)

< Previous Next >
Print using a web server's print queues
  • From: Alfredo Cole <alfredo@xxxxxxxx>
  • Date: Mon, 16 Oct 2006 14:15:25 +0000 (UTC)
  • Message-id: <200610160815.15299.alfredo@xxxxxxxx>
Hi:

This may be off topic.

I have an application that uses an iPAQ to take physical inventory. The
application works through the browser connecting via wi-fi to a Suse server
running Apache (Suse 9.3). I need to print a summary to one of the print
queues at the server, using a cgi written in C. I can write the printout to a
file, and I thought I might be able to use the system command like:

system ("lpr -Pprinter_name filename")

but Apache will not run the system command. My only solution I can think is
using a cron job that will print the files but maybe someone has a better
solution. Any ideas?

Thank you.

--
Alfredo Cole-Tuckler

< Previous Next >
Follow Ups