2
Answers

How to print a text file in dos mode ?

Nafihudheen KT

Nafihudheen KT

13y
4.3k
1
        In my inventory project I am printing the bill in DOS Mode using a batch file.

        It prints perfectly when I print it in a networked printer using the code 

        "type > \\System_Name\Printer_Name"

        But when I tried to use this in the same system that the printer is attached, by changing the code "type > Printer_Name", it is not working.

Is anybody know why this ?, Please share it.


Thanking you all,
Answers (2)
0
jrosa

jrosa

NA 7 0 20y
I found my own solution... I found that I could not have a DateTimePicker control bound to the dataset. When the DateTimePicker control was bound to the dataaset, the data would not display in any of the controls on the form. When I "un-bound" the DateTimePicker control, then the data woudl display properly. I bound an edit box to the date column and then updated the DateTimePicker control when the value of the edit box changed.