#1
|
|||
|
|||
Auto-Print Envelopes from Captured Text
I am looking to print envelopes from a txt file with one click. Of course. Actually I have a sequence in my head, which follows, followed by a sample of the source data, followed by a prepared-for-printing variant. Comments would be appreciated. Somehow, I'm sure for heavy users this is an out of pocket widget. I apparently am not using the right search terms.
Sequence 1. Paste source info into notepad. 2. Save as known temporary filename.txt. 3. Open filename.txt with Word 2016 4. Move to top of document 5. Find and Replace all double Paragraph Marks with Double Paragraph Marks enclosing an Asterisk 6. Move to the Top of the Document 7. Advance to the first Asterisk 8. Select Everything after the first Asterisk until the Next Asterisk 9. Invoke Envelope Printing of the Selected Text 10. Move to the Next Asterisk 11. Repeat 8 - 10 Until No More Asterisks Are Found End I am looking to replace Steps 4 to 11 with a macro of some type, assuming the default printer has envelopes in a tray, the tray has been configured specifically for envelope, such that selecting an address block and printing an envelope just pops the envelope into the receiving tray. Sample Captured Data heading Stuff Name One Address One A Address One B City One, State One Zip One Name Two Address Two A City Two, State Two Zip Two Name Three Address Three A Address Three B Address Three C City Three, State Three Zip Three Name Four Address Four A Address Four B Address Four C City Four, State Four Zip Four Name Five Address Five A Address Five B City Five, State Five Zip Five Name Six Address Six A Address Six B Address Six C City Six, State Six Zip Six Name Seven Address Seven A Address Seven B City Seven, State Seven Zip Seven Name Eight Address Eight A Address Eight B Address Eight C City Eight, State Eight Zip Eight Name Nine Address Nine A Address Nine B City Nine, State Nine Zip Nine Name Ten Address Ten A City Ten, State Ten Zip Ten Name Eleven Address Eleven A Address Eleven B City Eleven, State Eleven Zip Eleven End of sample data set Start of prepared-for-printing data set heading Stuff * Name One Address One A Address One B City One, State One Zip One * Name Two Address Two A City Two, State Two Zip Two * Name Three Address Three A Address Three B Address Three C City Three, State Three Zip Three * Name Four Address Four A Address Four B Address Four C City Four, State Four Zip Four * Name Five Address Five A Address Five B City Five, State Five Zip Five * Name Six Address Six A Address Six B Address Six C City Six, State Six Zip Six * Name Seven Address Seven A Address Seven B City Seven, State Seven Zip Seven * Name Eight Address Eight A Address Eight B Address Eight C City Eight, State Eight Zip Eight * Name Nine Address Nine A Address Nine B City Nine, State Nine Zip Nine * Name Ten Address Ten A City Ten, State Ten Zip Ten * Name Eleven Address Eleven A Address Eleven B City Eleven, State Eleven Zip Eleven * End of prepared-for-printing data set Alternatively, I would appreciate a pointer or two to 1. a really good public code repository for examples, and/or 2. a nice online training site. I'm okay at picking up things once I see a well executed example or two. Everyone says coding is the future. Guess I've put this off long enough. Thanks for your attention. |
#2
|
||||
|
||||
I would have thought mail merge would be the way to go here - or you could use http://www.gmayor.com/Envelope_Label_Add_In.htm which will prinbt a selection of addresses as envelopes.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Envelopes always want to print on a full page instead of an envelope | Guynoeyes | Word | 1 | 02-09-2017 09:51 AM |
Unable to print envelopes in Word 2010 & 2013 | Delta223 | Word | 1 | 04-13-2013 12:15 AM |
Pasting image captured with a java program 'on to clipboard' into MSWord 2007 is blur | tarunkumarreddy | Word | 0 | 02-03-2012 09:42 PM |
Daily Auto Print | bgreenfamily | Word | 5 | 08-29-2011 03:30 AM |
Auto print each day | bgreenfamily | Word | 0 | 08-12-2011 09:17 AM |