![how to change default printer in office 2013 how to change default printer in office 2013](https://www.online-tech-tips.com/wp-content/uploads/2020/06/repair-office.png)
![how to change default printer in office 2013 how to change default printer in office 2013](https://media.gcflearnfree.org/ctassets/topics/255/default_set.png)
If you just make sure that Printers is in your uses clause, you can use just Printers.Printer, and changing the target platform (VCL Win32/64, FMX 32/64, OSX) will adjust the uses clause for you based on the build configuration.
#How to change default printer in office 2013 code
If AnsiContainsText(Printer.Printers, `Labels`) thenĪs a note: I'd remove the VCL prefix from your references it means your code won't be available across platforms. We can then find the appropriate printer with a loop: function GetLabelPrinterIndex: Integer įor i := 0 to - 1 do Instead of having the application know which department it's being run in to choose the label printer, we just give the printers names containing the word Labels - Fiscal Labels, Admin Labels, etc. However, on occasion, I also need to print out some other things which are usually emails. Each has a different printer that holds pin-feed (dot matrix) labels, but we have apps that run in all departments. Ive got a printer with relatively expensive ink cartridges as Ive mainly bought it for printing photos.
![how to change default printer in office 2013 how to change default printer in office 2013](https://i.ytimg.com/vi/rvMbJZghz14/maxresdefault.jpg)
Here's the situation we have: Our office is divided into three basic departments (Fiscal, Admin, and Customer Service). It's highly unlikely that the typical system has too many printers available for this to be efficient we have a couple of dozen, and it's fine. If you're not specifying the exact name, you can do a partial match by iterating the list. If they're not exact, including CASE, IndexOf will return -1, which means "use the default printer".įor a specific example, using IndexOf('hp laserjet') will return -1 if the actual printer name is HP LaserJet or hp laserjet 5. If you are using Word 2016 for Mac, go to /Users/ username/Library/Group Containers/UBF8T346G9.The name passed to IndexOf must match exactly with what's in Printer.Printers in order to work. In the Open dialog box, browse to the folder that contains the Normal.dotm file. If you open Normal.dotm from the Finder, Word will create a new blank document based on the template. To make changes to Normal.dotm, you must open the file from Word. You can customize the Normal template and change default settings for many aspects of a document, such as text formatting, paragraph formatting, document formatting, styles, text, pictures, AutoText entries, and keyboard shortcuts. On the Format menu, click Document, and then click the Layout tab.Ĭhange other default settings in the Normal template For example, the layout attributes for new blank documents are based on the Normal template. On the Format menu, click Document, and then click the Margins tab.Ĭhanging the default layout in any template means that the section breaks, headers and footers, and other layout attributes are used in every new document that is based on that template. For example, the margins for new blank documents are based on the Normal template. Go to 'Settings' and then 'Printers.' Right-click on the printer and select 'Use Printer Online.' Check to see if there are any print jobs and clear them. Follow the steps below: To attempt to get your printer online. Make any changes that you want, and then click Default.Ĭhanging the default margins in any template means that the margin settings are used in every new document that is based on that template. Another way you can get your printer back online. On the Format menu, click Font, and then click the Advanced tab. Open the template or a document based on the template whose default settings you want to change. For example, the character spacing for new blank documents is based on the Normal template. Changing the default font also changes the Normal style, which affects any other style that is built on the Normal style.Ĭhanging the default character spacing in any template means that the settings for scale, spacing, position, kerning, and other typographic features are used in every new document that is based on that template. Note: Most of the styles in Word are based on the Normal style.