•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 391,655 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,790 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser:
Views: 5749 | Replies: 5 | Solved
![]() |
Hi to all,
I have a program that will print a file automatically after downloading it from the web server, the problem is how can i delete or cancel print job already in the printer queue... i already try but it does not delete or cancel job that are already sent in the printer queue.
can anyone help me about this problem
thanks
I have a program that will print a file automatically after downloading it from the web server, the problem is how can i delete or cancel print job already in the printer queue... i already try
printer.killdoc
can anyone help me about this problem
thanks
Hi Veena,
I already try that but still it does not work... and by the way what I want to delete or cancel is already in the printer queue 1 page only, can it be deleted or canceled or any possible way to do that...
if it is not too much for you, can you give me a simple example for this...
thanks Veena
Regards,
millanskie
I already try that but still it does not work... and by the way what I want to delete or cancel is already in the printer queue 1 page only, can it be deleted or canceled or any possible way to do that...
if it is not too much for you, can you give me a simple example for this...
thanks Veena
Regards,
millanskie
one more thing, when i send file in the printer queue I already apply the reason for that is I really want it to be printed.... But for some reason like printer error or something that i need to cancel the printing is no longer applicable... do you know some solution for this.... any idea.
Thanks
Printer.endDoc
Printer.KillDoc
Thanks
Hi,
After sending it to Printer Queue, u cant write KillDoc, as u said, it is no longer applicable.
and more over, KillDoc works for BackGround printing Enabled only, that is the application Starts printing immedialtely after u give "Printer.Print" statement. that means it will not wait for .NewPage or .EndDoc.
Printer is in the same system or is it a network printer?
Regards
Veena
After sending it to Printer Queue, u cant write KillDoc, as u said, it is no longer applicable.
and more over, KillDoc works for BackGround printing Enabled only, that is the application Starts printing immedialtely after u give "Printer.Print" statement. that means it will not wait for .NewPage or .EndDoc.
Printer is in the same system or is it a network printer?
Regards
Veena
Hi,
anyway thanks for your help, I appreciate it... I had try searching in goolgle and I've found something in this site http://www.mvps.org/vb about printer info and I already download thier sample program, I hope I can get the answer I am looking for....
Again thanks Veena for the help.
Regards
Millan
anyway thanks for your help, I appreciate it... I had try searching in goolgle and I've found something in this site http://www.mvps.org/vb about printer info and I already download thier sample program, I hope I can get the answer I am looking for....
Again thanks Veena for the help.
Regards
Millan
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Visual Basic 4 / 5 / 6 Marketplace
- how to write code for update,delete,cancel buttons in datagrid using vb.net only..plz (Web Developers' Lounge)
- Need a printer/PC genius (Peripherals)
- Adding data to print job (Visual Basic 4 / 5 / 6)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Is This Project Possible?
- Next Thread: open properties of old project


Linear Mode