Computing.Net > Forums > Disk Operating System > printing rtf with dos

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

printing rtf with dos

Reply to Message Icon

Name: pushcode
Date: February 19, 2004 at 08:43:03 Pacific
OS: Win 2000
CPU/Ram: PIII 512
Comment:

I am trying to print an rtf document with a dos batch file. From what I can tell, it can be done like this:
print drive/document.rtf /d:printername

However, I noticed that it seems to be printing out the actual rtf character/code rather than the formatted document...which in this case has header and footer, logo, tables, and lots of other Word type of formatting. Can this kind of file be printed with a dos batch file?

Any examples would be great. Thanks.




Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: February 19, 2004 at 08:54:20 Pacific
Reply:

First of all the Print command reported is NOT a DOS command, but a Win 2000 statement not related at all with the real DOS Print command.
The Print command in both operating environments (DOS and Win 2000) prints plain ascii file omly,i.e. text documents without formatting.
To print an rtf file you need to invoke a word processor able to convert it into a printable charachters stream via a device driver.


0

Response Number 2
Name: pushcode
Date: February 19, 2004 at 09:01:15 Pacific
Reply:

Okay.

Any idea how to do that? I know Word is installed on the machine where the rtf's are. Can Word be invoked automatically, and print, then close w/out user intervention?

Thanks.


0

Response Number 3
Name: IVO
Date: February 19, 2004 at 09:11:27 Pacific
Reply:

Yes, you can do it in that way,and I can help you, but you need to be patient as now I have to attend an urgent calling. Later I'll be back. meanwhile some other guy may satisfy your need.


0

Response Number 4
Name: Wengier
Date: February 19, 2004 at 10:04:56 Pacific
Reply:

pushcode,

"Can Word be invoked automatically, and print, then close w/out user intervention"

So why not try Windows 2000 Forum rather than DOS Forum? Windows 2000 does not include "DOS", and the Windows 2000 program (i.e. Word) won't work in DOS. The "Command Prompt" in Win2000 is just the WinNT/2K/XP+ system console, which is NOT DOS. Below is the *quotation* from the warning messages of this forum:

"DO NOT post questions related to NT Batch scripting on this forum. Use the Programming forum.

Use the Windows NT, 2000 or XP forum for questions regarding the Windows NT, 2000 or XP "DOS" command prompt."

For more information about the "Command Prompt" (Win32 Console) in WinNT/2K/XP+, you may read this page:

http://mywebpages.comcast.net/stewartb/cmdprompt.html


0

Response Number 5
Name: pushcode
Date: February 19, 2004 at 10:33:47 Pacific
Reply:

Wengier,

Relax. Get a life. I'll leave.


0

Related Posts

See More



Response Number 6
Name: Wengier
Date: February 19, 2004 at 10:38:24 Pacific
Reply:

Thanks pushcode. Take care.


0

Response Number 7
Name: Wengier
Date: February 19, 2004 at 12:35:15 Pacific
Reply:

OK, this thread has been redirected to the Windows 2000 Forum:

http://computing.net/windows2000/wwwboard/forum/56213.html


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

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


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: printing rtf with dos

dos printing on bjc2100sp www.computing.net/answers/dos/dos-printing-on-bjc2100sp/11207.html

DOS printing problem(with Canon MPC 400) www.computing.net/answers/dos/dos-printing-problemwith-canon-mpc-400/11219.html

Ending a program with DOS www.computing.net/answers/dos/ending-a-program-with-dos/14630.html