J
Guest
|
Posted:
Tue Jan 11, 2005 10:13 pm Post subject:
problems printing to a file. |
|
|
We have a network shared printer that prints the output to a file. The
server is Windows 2000 and it uses the generic/ text only print driver.
When a report from a dos application is triggered, it writes to this
shared printer, and though the report is actually 200 separate small 1
page reports, when printing from a DOS 6.2 computer it actually appends
the next pages onto the file so you end up with one large text document
containing the 200 small reports.
When this exact same procedure is done from a windows 2000 or XP
command prompt each one of the 200 small reports overwrites the
previous one, so in the end you just have the last of the 200 reports
in the text file. I've tried modifying every setting on the printer on
the windows 2000 server, but nothing seems to change this behavior to
the way we want it - 1 big text file. Does anyone have any ideas on
this?
And no, we cannot change the way the application outputs the data.
Thanks. |
|
Eugene Taylor
Guest
|
Posted:
Tue Jan 11, 2005 11:12 pm Post subject:
Re: problems printing to a file. |
|
|
To append text to an existing file use the >> redirector instead of >.
so it would be command>>file
"J" <jbaczynski@empirecorp.org> wrote in message
news:1105460009.042086.61150@f14g2000cwb.googlegroups.com...
| Quote: | We have a network shared printer that prints the output to a file. The
server is Windows 2000 and it uses the generic/ text only print driver.
When a report from a dos application is triggered, it writes to this
shared printer, and though the report is actually 200 separate small 1
page reports, when printing from a DOS 6.2 computer it actually appends
the next pages onto the file so you end up with one large text document
containing the 200 small reports.
When this exact same procedure is done from a windows 2000 or XP
command prompt each one of the 200 small reports overwrites the
previous one, so in the end you just have the last of the 200 reports
in the text file. I've tried modifying every setting on the printer on
the windows 2000 server, but nothing seems to change this behavior to
the way we want it - 1 big text file. Does anyone have any ideas on
this?
And no, we cannot change the way the application outputs the data.
Thanks.
|
|
|