ferepost.blogg.se

Set paper size word
Set paper size word









set paper size word

In addition my printer is a shared printer in our office network. To be more specific please see my subtitle regarding my specs. After a few steps you will be able to see this template in your Microsoft Office programs and if my guess is right other programs that require printer’s properties will also get the same result. Our main objective here is to make a user defined Folio paper size template. Again, after many tours on my printer’s settings I finally discovered the right solution and hopefully this tip will also help others that have a problem with 8.5 x 13 inches paper and the MS Office or the US Legal size. Explaining them this subject over and over is a tedious work so I need to find a solution. I often experience my co-workers in our office that keep on asking my help when they attempt to use this Legal paper size in Microsoft Office. I spent hours to look for possible option to make a paper size template but Canon printer’s option has nothing to offer me. I can see the German Legal Fanfold in my print server properties that has the same dimension of 8.5 x 13 inches but I have no idea why it is not visible to Microsoft Office.įortunately there is printer like Epson which lets you define your own paper size and save it as template however, Canon printers, perhaps not all Canon printers, are not user-friendly when you need a custom paper size because you need to always change the printer’s option to have a custom size. According to my research the 8.5 x 13 inches is called Folio paper size or German Legal Fanfold therefore Legal and Folio paper size are two different sizes. In United States and or other similar countries Legal paper size is defined as 8.5 x 14 inches but in my country, Philippines, we are oriented by paper suppliers that Legal size has the dimension of 8.5 x 13 inches.

set paper size word

Set paper size word windows#

Works perfectly in Windows 7, Microsoft Office 2007, and Canon IP 2770 printerĪ couple of years ago, I found a little problem about printing a document to a Legal size of paper because, for instance, in Microsoft Office (any versions) I can choose the Legal paper size if I desire a long bond paper but using this paper size will not fit our local version of long size of paper. The only issue you may face is when the Printer doesn't have the size paper you get this error: Requested PaperSize is not available on the currently selected printer.Make a User Defined 8.5 x 13 inches Paper Size as Folio or German Legal Fanfold Here is a screenshot showing it works with A4 and Letter: = WdPaperSize.wdPaperA4Īll you need to do is > Visual Studio > Create a New Prorject > Office > Word 2010 (or 2007) Add-In and paste in the above code. = WdPaperSize.wdPaperA4 Īdding locic to set paper size when a document is created or opened is up to you, I'm guessing you'll need to determine if the document being opened has purposely been saved in a non-A4 size.ĮDIT: This does work, I dont know what you mean with the comment ThisAddIn isnt a member or Globals and ActiveDocument isnt a member of Application in VB.NET - you cant skip these top two lines, here is the VB.Net version: Private Sub ThisAddIn_Startup(sender As Object, e As System.EventArgs)ĭim app As Application = ĭim doc As Word.Document = app.ActiveDocumentįor Each section As Section In doc.Sections For example, you can loop through all the sections of the document: private void ThisAddIn_Startup(object sender, System.EventArgs e)Īpplication app = įoreach (Section section in doc.Sections) Since page size can vary from section to section, the best thing is to set the PageSetup properties of the Document.Section object.











Set paper size word