Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2015, 12:43 PM
champlainm champlainm is offline Word 2013 AS400 data to Word Printing Windows 7 64bit Word 2013 AS400 data to Word Printing Office 2013
Novice
Word 2013 AS400 data to Word Printing
 
Join Date: Aug 2015
Posts: 2
champlainm is on a distinguished road
Default Word 2013 AS400 data to Word Printing


I created a form document with tables that will merge field data and want to print a second page only if the fields have data. I am not sure how to do this, is there an if then statement that would all this option?

Last edited by Charles Kenyon; 08-07-2015 at 05:34 AM. Reason: changed title to give more info
Reply With Quote
  #2  
Old 08-06-2015, 02:36 PM
Charles Kenyon Charles Kenyon is offline Word 2013 AS400 data to Word Printing Windows 8 Word 2013 AS400 data to Word Printing Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 7,552
Charles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud of
Default

This has nothing to do with it being a template, if you mean a Word template.
Templates in Microsoft Word

Look into Mail Merge.
Reply With Quote
  #3  
Old 08-07-2015, 05:28 AM
champlainm champlainm is offline Word 2013 AS400 data to Word Printing Windows 7 64bit Word 2013 AS400 data to Word Printing Office 2013
Novice
Word 2013 AS400 data to Word Printing
 
Join Date: Aug 2015
Posts: 2
champlainm is on a distinguished road
Default Template/Form Printing

Thanks Charles! Let me provide additional details, the template/form I am created is going to be used on an AS400 system to merge data from another application. The system will print the word template automatically, what I need it to do is print only the pages that have data. For example, If the merged data is only entered on one page then when the form prints page one prints but if additional data is entered on page 2 then both pages print.

I have not been able to find any posts that provide anything on controlling the number pages word prints without allowing the print dialog window to appear telling what pages to print, because this form is being printed through another program the users will not and should not have the option to tell it what pages to print.
Reply With Quote
  #4  
Old 08-07-2015, 05:46 AM
Charles Kenyon Charles Kenyon is offline Word 2013 AS400 data to Word Printing Windows 8 Word 2013 AS400 data to Word Printing Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 7,552
Charles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud ofCharles Kenyon has much to be proud of
Default

Again, "template" is a jargon term in Word that does not apply to what you are doing. "Form" also has special meanings in Word. The term "primary merge document" probably is closest. Not meaning to be picky, but I am being specific on the terms because if you are looking for help online, the terms you are using matter.

A mail merge automatically stops when it runs out of data, it does not create more pages. It starts with one page or label and creates the needed number for the data.

Your application could create a data file for the merge if that would help.

Please read the linked pages. They will give you information you need.
Reply With Quote
  #5  
Old 08-07-2015, 03:55 PM
macropod's Avatar
macropod macropod is offline Word 2013 AS400 data to Word Printing Windows 7 64bit Word 2013 AS400 data to Word Printing Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,224
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

What you can achieve depends on exactly how this document is being created. For starters, it's not apparent whether you're using mailmerge or some other process or why, if the second page might be empty, that page is being produced when it's not needed.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2013 AS400 data to Word Printing Stop Printing Comments Word 2013 joeo221 Word 1 10-14-2014 03:04 PM
Word 2013 AS400 data to Word Printing Word 2013 just for master index and printing mmmconsulting Word 6 09-09-2014 10:42 AM
Exiting Word 2013 with data on clipboard ScottVD Word 1 06-07-2014 02:59 PM
Word 2013 AS400 data to Word Printing Downloading data from AS400 to Excel template Milney01 Excel 2 06-29-2012 12:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:56 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft