problems printing to a file.
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
problems printing to a file.

 
Post new topic   Reply to topic    Windows Server Forum Index -> General Discussion
Author Message
J
Guest





Posted: Tue Jan 11, 2005 10:13 pm    Post subject: problems printing to a file. Reply with 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.
Back to top
Eugene Taylor
Guest





Posted: Tue Jan 11, 2005 11:12 pm    Post subject: Re: problems printing to a file. Reply with quote

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.
Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> General Discussion All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB