Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 19-09-2008
Member
 
Join Date: Apr 2008
Posts: 19
Printing directly to a file in C

Hello,

I am a C programmer must complete a file .Rtf through a database.
Filling this very well, no hassle. But I would print the file directly.

For now, the program opens the file .Rtf with Microsoft Word and that is from Word that you must print, but manually!

Is it possible to print the same file without using Word or any other program?
Since the number of file to print is important, we must absolutely avoid manual.
Icing on the cake, I program on an IBM AS/400 platform. I can not use tools such as qt4 or other.

If someone has an idea ... Help me please.

Thank you.
Reply With Quote
  #2  
Old 19-09-2008
Member
 
Join Date: Apr 2008
Posts: 2,001
Hi,

To drive the word you use the VBA language, you need to launch Word directly with a VBA macro.
Reply With Quote
  #3  
Old 19-09-2008
Member
 
Join Date: Apr 2008
Posts: 19
Yes, the opening of Word is already controlled by a macro (which is known in my program in C). But what I want (and I have perhaps not been very clear, sorry) to print the file directly.

Example: Imagine that 100 files to print. I will not call 100 times Word to print my 100 files.

Thank you.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Printing directly to a file in C"
Thread Thread Starter Forum Replies Last Post
Unable to print photos in photo viewer which are opened via Zip file directly Zshawn Vista Help 9 21-04-2012 02:39 AM
Php code within php file is ignored while printing Linoo Software Development 4 10-02-2010 07:52 PM
VB.Net to open a file download in IE browser directly without asking the end user Kiran123 Software Development 4 07-02-2009 06:10 PM


All times are GMT +5.5. The time now is 05:18 AM.