D
Don Strenczewilk
I'm working on a fairly simple app for our shipping department. Basically, a
Symbol bar code scanner communicates with a webservice, allowing the
operator to scan skids onto packing slips, and then print the packing slip.
The printing will be done on the webservice server using Crystal Reports.
The problems arise with printing by the webservice and Crystal has published
a solution to the problem which involves changing the machine.config file to
make the net framework run under the "SYSTEM" account rather than "machine",
and copying printer settings from the hkey_current_user hive to the .default
hive.
So, question 1 is: are there any security implications to consider when
changing the framework's to run under the SYSTEM account?
Question 2: The cleanest way I can think of to avoid these obscure
configuration changes is to export the report to a .pdf somewhere and and
have another program, which is running under a normal user account, monitor
that directory and print and delete the .pdf's when they appear. I'd rather
not constantly poll for changes and vaguely recall that there was a win32
api that dealt with this. Can anyone point me to some code or documentation
that would help?
Question 3: Anyone got any better ideas about how to deal with this?
Thanks!
Symbol bar code scanner communicates with a webservice, allowing the
operator to scan skids onto packing slips, and then print the packing slip.
The printing will be done on the webservice server using Crystal Reports.
The problems arise with printing by the webservice and Crystal has published
a solution to the problem which involves changing the machine.config file to
make the net framework run under the "SYSTEM" account rather than "machine",
and copying printer settings from the hkey_current_user hive to the .default
hive.
So, question 1 is: are there any security implications to consider when
changing the framework's to run under the SYSTEM account?
Question 2: The cleanest way I can think of to avoid these obscure
configuration changes is to export the report to a .pdf somewhere and and
have another program, which is running under a normal user account, monitor
that directory and print and delete the .pdf's when they appear. I'd rather
not constantly poll for changes and vaguely recall that there was a win32
api that dealt with this. Can anyone point me to some code or documentation
that would help?
Question 3: Anyone got any better ideas about how to deal with this?
Thanks!