Sending MV print queue to WORD

37 views
Skip to first unread message

JJCSR

unread,
Dec 29, 2011, 3:42:33 PM12/29/11
to Pick and MultiValue Databases
For some time, now, in both D3 and REALITY, I have had a program that
converts an MV printed output to MS WORD. However, one of the
shortcomings has been the inability to send the correct code for WORD
to recognize a "form feed" [CHAR(12)]. I have attempted to insert
"char(27):char(12)", as well as a simple "char(12)", but to no
avail. The heading line prints, but not necessarily at the top of
the next page.

Has anyone had any success with this type of application? Most of
my MV-toWORD conversions work fine, but that's because the number of
lines to print, per page, work out to be the number of lines WORD uses
to cause it's own top-of-form; I have no control over those form
feeds.

Thanks, in advance, and Happy New Year to one and all.

Jim Cronin
Dir. MIS
Kittery Trading Post


Richard_Wilson

unread,
Dec 29, 2011, 4:29:53 PM12/29/11
to Pick and MultiValue Databases
Word 2007 seems to work fine

I created a TXT file and inserted ctl L for my test

Rich

Richard Wilson

unread,
Dec 29, 2011, 4:26:58 PM12/29/11
to mvd...@googlegroups.com
it appears word 2007 handles FF's fine

what version do you use

Rich

Scott Ballinger

unread,
Dec 29, 2011, 4:49:43 PM12/29/11
to mvd...@googlegroups.com
It might be that word does not use FF [char(12)] as a page-break indicator...
What do you see when you look at a word document with something like textpad?

/Scott Ballinger
206 713 6006 (cell)



--
You received this message because you are subscribed to the Google Groups "Pick and MultiValue Databases" group.
To post to this group, send email to mvd...@googlegroups.com.
To unsubscribe from this group, send email to mvdbms+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mvdbms?hl=en.


TonyG

unread,
Dec 29, 2011, 6:02:02 PM12/29/11
to mvd...@googlegroups.com
I have a lot of experience with Word internals from working on my JET to Word converter and other utilities.
 
Word is certainly not plain text.  Older Word .doc files are binary.  They use a coded sequence, not char12, initated by shift-Enter for page breaks.
 
Newer Word uses XML for markup.  If you look at the XML for a .docx you'll see what it does.
 
Rather than sending the plain text print queue to Word, I'd recommend printing to an intelligent driver which then uses the Word document model to generate real Word files.  PrintWizard can be used for this.  I can write something as well.
 
HTH
T

JJCSR

unread,
Dec 30, 2011, 2:14:42 PM12/30/11
to Pick and MultiValue Databases
Thanks, all, for your replys. I "googled" the question and found an
answer, which had me creating an ".RTF" file, opposed to ".DOC", and
now my PICK-TO-DOC files are working fine.

Incidentally, the version I am using is WORD 2010.

Again, thanks.
Reply all
Reply to author
Forward
0 new messages