1 (edited by towerfour 04/22/2015 01:13:46 pm)

Topic: Notepad Direct Print

We made the changes in the report output directed to notepad, which is working properly. We want to print the report from notepad as soon as the file is generated.How do we do this?
Any help will be appreciated.

Thanks
Towerfour

Re: Notepad Direct Print

Can't you just select the menu Print in Notepad for doing this?

Joe

Re: Notepad Direct Print

Joe,

Let me make the statement clear. Instead of creating a PDF, the output file will be in TXT format and stored in temp location. This will not be visible to the user. We want print the TXT file through windows CLI through Php.

What is the command & how to use it?

Regards

Yeshwanthrao

Re: Notepad Direct Print

Well, I am not an expert in this. Maybe someone from the audience can help you.

Joe

Re: Notepad Direct Print

Use Windows Scheduler and print the TXT files from the folder using normal Windows Batch commands. Why do you need PHP here?

The following links may be useful:
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/batch.mspx?mfr=true
http://en.wikibooks.org/wiki/Windows_Batch_Scripting
http://ss64.com/nt/
http://www.robvanderwoude.com/batchcommands.php

Re: Notepad Direct Print

Do it in text format instead, depends how the alignment you want.