I want to create a virtual printer which will be visible under "Devices and Printers" say "ABC Print Driver"
User can select this "ABC Print Driver" as default printer.
When some one gives any print by selecting "ABC Print Driver", it should first authenticate the user with the windows User name and Password against the Active Directory by popping up a dialog and then capture the details (document type, size, time etc) and then, instead of sending it to actual printer, it should upload the printed document to some FTP server.
I am also thinking of catching the prints issued using spooler.
First I will register for spooler notification.
Whenever I get a notification from the spooler that a document is spooled/printed, I will try to get the details such as, "printed by", "submitted date", "job id", "job size" etc. Then I will cancel the job and I will store the print job at some FTP location.
I am doing this so that users can store their prints and get them printed at a later stage.
Please let me know which approach is appropriate.
Also point me to some examples if you know any.
i am working on Project called Inventory Management System for Hardware shop and i play developer role.
Now The database has category table which is consist of many categories such as Motherboard , Ram , Processor and so on.
Now the question is what is best way to store specification in database
because every category has its own specification ,
I Have Two Way :-
either by creating different table for each specification of Category
or create single table for all specification of Every Category.
i am confuse between this two.which one is best and faster.
Thanks in advance..
"value_type" could be "TEXT", "INT", "DOUBLE", "FLOAT", etc. And the application handles the value type as necessary. So if the value type is "FLOAT", the user must input a valid 'float' value. And so on.
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.