Click here to Skip to main content
15,881,559 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am new to windows driver development.

My requirement is as user click on print file (pdf etc) option a another popup should displayed with some input textboxes. As user click submit button on popup. It prepend the popup textbox (user input) with already existing file content and it get printed (on printer) or saved as pdf on desk.

I want to know if it is possible? If yes, how to proceed ?

Thanks in advance.

What I have tried:

My approach using "Basic v4 Printer Driver" link referred - https://docs.microsoft.com/en-us/windows-hardware/drivers/print/building-a-basic-v4-printer-driver

Follow steps as per link, but stuck in deployment step as facing some network issues.
while connecting to target machine it give error "connection failed."
Posted
Updated 24-Feb-20 22:02pm
v2
Comments
OriginalGriff 24-Feb-20 6:17am    
You are going to have to explain yourself in much better detail as per what you are trying to achieve - because that doesn't mean anything to me at least - and what you have tried so far.

Use the "Improve question" widget to edit your question and provide better information.
ZurdoDev 24-Feb-20 7:21am    
You don't need to develop a driver to do this, you just need to write code to print. You can do it in C# easily if you google c# print document.
Richard MacCutchan 24-Feb-20 7:56am    
You don't need a print driver to do that. You need an application that reads the file (in whatever formats you support) and adds the text at the place you want. You can then send the modified text to the printer driver or write it to a PDF file. But you need to provide more details as to your exact requirements.
[no name] 25-Feb-20 11:58am    
You have 2 functions. In the first case, you can simply "print" your "textbox page" before printing / sending the pdf. In the second case, create a "text box" pdf and merge it with the other.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900