Anonymous printing IIS6.0
am 01.08.2007 03:46:36 von Robert FaulknerHi,
I recently moved a basic perl script from an old machine (IIS 4.0) to a 2003 web edtion server with Active Perl 5.6.
The purpose of the script is to accept web form submissions, write the information to a text file, print the file, and return the HTML formatted information to the web page and email a copy (through fake sendmail in the cgi directory) to a recipient and cc the submitter.
All functions work fine for anonymous access (IUSR_) except printing the textfile and returning the system time through the 'localtime' perl function or through the 'time -t' windows command. Authenticated users have no problem - printing and system time work fine. IUSR_ has full permissions on the created text file.
Previously the printing was achieved through sharing the local printer, allowing anonymous access to the share and getting the perl script to print to the share name via the windows print command.
As the new machine is running 2003 Web edition, printer sharing is not possible (argh).
Does anyone have any ideas on a way to allow an anonymous connection to print a file to a local printer through a perl script?
Thanks in advance
From http://www.developmentnow.com/g/59_0_0_0_0_0/inetserver-iis. htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com