Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi, I am trying to print from the dos edit program. Everything prints fine, but when the printing finishes, I am stuck in the edit screen and cannot get out without hitting control alt del and restarting my computer. Is there a way to avoid this? Also I am printing a document that I have pulled off the web and saved as text file and would like to add page breaks to it. Is there a way to accomplish this? Obviously this is not the ideal printing situation, but due to equipment limitations, I must print from dos. Thanks!

I don't think you can insert a control
character in EDIT. You need character 12
(form feed). Alt 012 does not work.
Alt in EDITN prefaces a menu selection.Try another editor. There are many other
editors. I use PE which is part of the
old Word Perfect Library. The freeware
PEDIT can insert control codes. There are
many others.Or. Use a DOS Word Processor, like DOS
versions of Word Perfect or Microsoft WORD.

You can enter control characters in DOS Edit by first hitting CTRL-P then the ALT-keypad sequence (or whatever) you wish to insert (also useful for writing 'escape sequences' for ANSI).
Not sure if that'll fix the problem, but there you go.hey Dan Penny ;-)

To jboy
Thanks for the tip on inserting control
characters. Didn't know that one.
Usually use edit only to do config.sys and
autoexec.bat.tech-fred

Yeah, it seems to be a well kept secret ;-)
Learned how to do it for ANSI batch files on the old DOS Edit - I like the DOS7 version better, it's a bit more efficient.

After the printing finishes, the printing window stays on the screen and I can't use alt anything, almost like it is frozen.
Also, I probably didn't explain the page breaks thing well enough. I wrote the program that creates the information that I am pulling off of the web to print. I am trying to add some sort of command into the information that I am posting from the web server, that will cause page breaks to appear where I want them. So I need a command that I can put into the code so when the page is downloaded and saved as text only, and then printed from dos, the dos editor will recognize it as a page break and start a new page. I had seen something about the character 12, but I don't know how to implement it. Any help would be much appreciated.
Thanks!

Ok, I haven't tested it, but in the 'old' days, many text documents would have a 'form feed' character embedded to separate pages.
To put this control character into DOS Edit:press CTRL-p
hold down ALT and press 1 2
when you release the keys, should be an odd little character (it's the "female" symbol, or "mirror of Venus").
Maybe that will do the trick.

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |