Print to File - Append to File?

From: TonyC (TonyC_at_discussions.microsoft.com)
Date: 02/27/05


Date: Sun, 27 Feb 2005 13:01:01 -0800

I have set up a Print to File - Generic/Text Only printer. This is working
fine. But the program I am printing from seems to be sending every line of
print separately, that is, when printing, the window pops up and asks for a
file name for every line of print, and then saves each line of print in a
separate file. I could have 1000 lines of print, and would have to enter 1000
different file names for each file.

I am sure the actual problem is from the program I am printing out of,
because if I print a test page, or out of Word, I don't have this problem.

Is there some way to configure the print to file to append all the text to a
single file as it receives text?

I might be able to add printer codes to the end of the lines being sent from
the program I am printing from. Is there a control code I could add that
would tell the Generic/Text Only driver not to start a new file?

Or any other methods of getting all these lines of text into a single file
without having to manually enter thousands of file names first?

Any suggestions would be appreciated.



Relevant Pages

  • RE: saving comments, Office Word 2003
    ... I should add, belatedly, that I have tried selecting a generic/text only ... printer and printing to file, but the resulting file (even if I change the ... extension to *.txt or *.doc) is unreadable: most of the text seems simply to ...
    (microsoft.public.word.docmanagement)
  • Printing on Generic Text Only Printer
    ... I'm trying to develop a module for printing a receipt on an ordinary text printer, using the "Generic/Text Only" driver provided by the operating system. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Serial Communications problem
    ... It really depends on how technical you want to get in your printing. ... This example may need your printer codes added either before, ... > code this to send the hex characters to the printer. ... > time a key or return is hit, it does not do much else and all keys echo ...
    (microsoft.public.vc.mfc)
  • Re: Spooling print jobs in VFP6
    ... I have another question regarding printing from a text file. ... PROMPT command because they needed to tell it to print to the second tray on ... the resultant text file (or file with printer codes) will not have ... >>> In my case there will be reports from different parts of the program, ...
    (microsoft.public.fox.vfp.reports.printing)
  • Re: Spooling print jobs in VFP6
    ... Your best bet for that kind of special printing is to define another printer ... with its default as the 2nd tray and do your printing to that printer. ... How do I do that when they're batch printing? ... the resultant text file (or file with printer codes) will not have ...
    (microsoft.public.fox.vfp.reports.printing)