#14075
TThibodeau
Participant

Hi Goolam

The first example I do not think it can be done.

Second example.

Do a search on your computer for winword.exe.
Right click on it and drag to your desktop.
Select create shortcut.
right click on shortcut and click on properties.
In the properties window that opens, click on the shortcut tab.
In the target field it will look like this
“C:Program FilesMicrosoft OfficeOFFICE11WINWORD.EXE”
After the last quotation mark type the name of the file that you want to load in winword with the complete path like this.

“C:Program FilesMicrosoft OfficeOFFICE11WINWORD.EXE” c:nvinvoice.txt

now click on save

From inside newviews set the print options to column 80
and the file name to the file that you set in the shortcut including the path such as c:nvinvoice.txt

A problem is that every time you print to a file newviews sets append to yes and you would be adding to the file every time you print.

You can write a proc that will reset append to no and set the proc an fkey.
Press the fkey before you print.
You could also include in the proc a command such as ~PD to print document or call the invoice printing procedure.

You will have to watch how many charecters you have in each line as WORD will linewrap if the line is too long you can also set the default font in word to a smaller font.

Good luck

Thomas