Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 08:23 AM
nikolaos
Guest
 
Posts: n/a
Default capturing the printing properties of a report of form when sent to a printer

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 whetther
candidates have mastered 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 think i can have a dummy printer and then somehow pause the printer
ans append the print jobs to a .txt file and then check the properties
of the print jobs?


do you know of any solution to this?


thanks a lot and sorry for the mass text.



 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,414 network members.