capturing printing settings when printing reports
Hi all!!
i am relatively new to this forum. i am working on a big project in athens greece. it is all about office and vba.
basically it is an automated testing software that tests that candidates master the office applications or not. we have to develop the test engine in delphi(we have done that).
the second part is developing the scripts in vba that actually test if the candidate answered the question correctly or not and allocate the marks.
for example(question for excel: insert a formula in cell A6 that calculates the sum of cells a1:a5)
the script in vba checks if the right formula has been entered in the appropriate cell.
i have developed 1000 scripts over the last two years. but the questions we can not test are the printing questions. we have found some workarounds but do not satisfy us.
i have these questions to implement.
print 3 copies of the report "testreport" to the default printer.
any ideas how can i test that the user has sent the particular report to the printer and printed 3 copies. i mean how can i test these properties? i do not know of any way that when someone prints a report to be able to send these properties to a .txt file and then scan the .txt file for the printing (e.g landscape or portrait,collation).
please help:(
thanks a lot and sorry for the mass text.
|