473,480 Members | 1,587 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ms word document custom printing through .net

4 New Member
hi, i need your help, i'll receive some ms word documents (paragraphs, bullets, different fonts in a document -family-size-format, images, etc. a "normal" document) and i need to print them on a preprinted sheet that have 2 sections for printing data.

Expand|Select|Wrap|Line Numbers
  1. +------------------------------------------+
  2. |                                          |
  3. |   +----------------------------------+   |
  4. |   |                                  |   |
  5. |   |       Field for printing         |   |
  6. |   |                                  |   |
  7. |   |                                  |   |
  8. |   +----------------------------------+   |
  9. |                                          |
  10. |   +----------------------------------+   |
  11. |   |                                  |   |
  12. |   |       Field for printing         |   |
  13. |   |                                  |   |
  14. |   |                                  |   |
  15. |   +----------------------------------+   |
  16. |                                          |
  17. +------------------------------------------+
how can i break up ms word document data to fit in the fields for printing of the preprinted page?



- if i had grammar or spelling errors please point me them up to fix them -
Mar 28 '07 #1
2 1286
SammyB
807 Recognized Expert Contributor
hi, i need your help, i'll receive some ms word documents (paragraphs, bullets, different fonts in a document -family-size-format, images, etc. a "normal" document) and i need to print them on a preprinted sheet that have 2 sections for printing data.

Expand|Select|Wrap|Line Numbers
  1. +------------------------------------------+
  2. | |
  3. | +----------------------------------+ |
  4. | | | |
  5. | | Field for printing | |
  6. | | | |
  7. | | | |
  8. | +----------------------------------+ |
  9. | |
  10. | +----------------------------------+ |
  11. | | | |
  12. | | Field for printing | |
  13. | | | |
  14. | | | |
  15. | +----------------------------------+ |
  16. | |
  17. +------------------------------------------+
how can i break up ms word document data to fit in the fields for printing of the preprinted page?



- if i had grammar or spelling errors please point me them up to fix them -
I don't think you need any programming or .NET to do this. I believe that in Word 2003, in the page setup, you can divide a page into two sub-sections. Unfortunately, I only have Word 2000 on this machine.
Mar 28 '07 #2
madval
4 New Member
I don't think you need any programming or .NET to do this. I believe that in Word 2003, in the page setup, you can divide a page into two sub-sections. Unfortunately, I only have Word 2000 on this machine.
Well, I posted the better case to my problem, because it can be 2, 3 or 4 sections per page.

I've tried to use a RichTextBox control where I'll load ms word document data (for testing I been copy&paste data) into richtextbox and tried to break up the printing area, which works fine, but every section gets printed in a different page. I really don't know if it would be possible to print more than one section per page but I'm trying to. Any ideas?
Mar 29 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
16136
by: Microsoft | last post by:
I'm trying to display a word document inside a web page, but everytime I do I get this error: Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied: 'CreateObject' Does...
1
1555
by: Raju Joseph | last post by:
Hi All, I have a small problem at hand and am looking for suggestions. I have created a wrapper for word 2000 for our application which is in VB.NET 2003. Everything works fine in the sense...
4
7605
by: Jeff Harbin | last post by:
I've got an ACCESS 2000 application that I'm developing. One of the outputs of this app will be to generate a series of 'jobs' which corresponds to a record in the database. Each record will be...
5
3302
by: Stefania Scott | last post by:
I am trying to print a word document from Access. The code I've written works well in my computer but does not in the one were it is needed. Here the piece of code: 'doc path strObjectPath =...
4
2054
by: scorpion53061 | last post by:
I have my Word document being created in a seperate thread. THe applicaiton is not visible. The end user can choose to view the document upon completion or just have it print. Viewing is...
1
2561
by: electrixnow | last post by:
I wrote a program in VC++ that generates a text file report. I would like to get this report data into a word document that my company uses. I could use bookmarks for reference in the document. Is...
1
7527
by: Laurent Navarro | last post by:
Hi, I created a C# application which opens a Word document, fills some fields and sends the whole document to the printer. Everything is working great but I find the printing step very slow....
1
1836
by: Derek Hart | last post by:
I have a vb.net winforms application that loops through several thousand word documents and prints them, with the filenames being read from a SQL database. I am using late bound code to load MS...
9
4236
by: DeZZar | last post by:
Hi all, Basically I want the data in an open form to merge with a word template and create a new document. So a user navigates to a particular records and presses a button "Produce Document"...
0
7044
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7087
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6741
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4483
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2985
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.