Warning: Constant ABSPATH already defined in /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php on line 24 Warning: Cannot modify header information - headers already sent by (output started at /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php:24) in /customers/0/c/e/ogenstad.net/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1673 Warning: Cannot modify header information - headers already sent by (output started at /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php:24) in /customers/0/c/e/ogenstad.net/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1673 Warning: Cannot modify header information - headers already sent by (output started at /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php:24) in /customers/0/c/e/ogenstad.net/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1673 Warning: Cannot modify header information - headers already sent by (output started at /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php:24) in /customers/0/c/e/ogenstad.net/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1673 Warning: Cannot modify header information - headers already sent by (output started at /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php:24) in /customers/0/c/e/ogenstad.net/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1673 Warning: Cannot modify header information - headers already sent by (output started at /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php:24) in /customers/0/c/e/ogenstad.net/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1673 Warning: Cannot modify header information - headers already sent by (output started at /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php:24) in /customers/0/c/e/ogenstad.net/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1673 Warning: Cannot modify header information - headers already sent by (output started at /customers/0/c/e/ogenstad.net/httpd.www/wp-config.php:24) in /customers/0/c/e/ogenstad.net/httpd.www/wp-includes/rest-api/class-wp-rest-server.php on line 1673 {"id":22,"date":"2006-05-03T15:54:22","date_gmt":"2006-05-03T14:54:22","guid":{"rendered":"http:\/\/ogenstad.net\/2006\/05\/03\/how-to-change-fonts-in-sydi\/"},"modified":"2006-05-03T15:54:22","modified_gmt":"2006-05-03T14:54:22","slug":"how-to-change-fonts-in-sydi","status":"publish","type":"post","link":"https:\/\/ogenstad.net\/2006\/05\/03\/how-to-change-fonts-in-sydi\/","title":{"rendered":"How-to Change Fonts in SYDI"},"content":{"rendered":"

I got an email from a user asking if I could change fonts in SYDI. My answer to him was; you<\/strong> change them.<\/p>\n

There are two ways of doing this in SYDI both of them are easy.<\/p>\n

The first way is to edit the script source. Open up SYDI-Server.vbs in a text editor and scroll down a bit to this section;<\/p>\n

strFontBodyText = “Arial”
\nstrFontHeading1 = “Trebuchet MS”
\nstrFontHeading2 = “Trebuchet MS”
\nstrFontHeading3 = “Trebuchet MS”
\nstrFontHeading4 = “Trebuchet MS”
\nstrFontTitle = “Trebuchet MS”
\nstrFontTOC1 = “Trebuchet MS”
\nstrFontTOC2 = “Trebuchet MS”
\nstrFontTOC3 = “Trebuchet MS”
\nstrFontHeader = “Arial”
\nstrFontFooter = “Arial”<\/p>\n

Just change the font names to what you want. If you don’t want to get your hands dirty by touching the code there is a fancier way of doing this too.<\/p>\n

If you’ve used the help menu, cscript.exe sydi-server.vbs \u00e2\u20ac\u201ch, you might have seen the \u00e2\u20ac\u201cT option. What the Template (-T) option does is that it uses a Word Template file .dot and uses the settings from that file when writing the report for SYDI. The .dot file you choose to use can be one of your company’s template files or you can create a template just for SYDI.<\/p>\n

To get started, run SYDI against your machine to create a word document. When the report is created, go to the Format drop down and choose “Styles and Formatting”. I’m using an English version of Word 2003 but it should be similar in other versions. From the Styles and Formatting section, change show to “Formatting in Use”. Now you can see the different formats used in the report.<\/p>\n

Create a new word document, go the Styles and Formatting section, show “All Styles” and scroll down to Body Text, right click and select Modify, change the font to the one you want. I’ll just change the Body Text now but you can change all the ones found in “Formatting in Use” from the SYDI report.<\/p>\n

Choose File, Save As. Change the Save as Type to “Document Template (*.dot)” and save the file as C:\\SYDI\\template.dot (or to your favorite directory).<\/p>\n

To test your new template:<\/p>\n

Cscript.exe sydi-server.vbs \u00e2\u20ac\u201cTC:\\sydi\\template.dot<\/p>\n

Hint:<\/strong> If you save the template in its default location you don’t need to specify the path when using \u00e2\u20ac\u201cT.<\/p>\n

If you’re having trouble implementing this or anything else related to SYDI, don’t hesitate to contact me.<\/p>\n

[tags]sydi, network documentation, system administration, software, inventory[\/tags]<\/p>\n","protected":false},"excerpt":{"rendered":"

I got an email from a user asking if I could change fonts in SYDI. My answer to him was; you change them. There are two ways of doing this in SYDI both of them are easy. The first way is to edit the script source. Open up SYDI-Server.vbs in a text editor and scroll […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/ogenstad.net\/wp-json\/wp\/v2\/posts\/22"}],"collection":[{"href":"https:\/\/ogenstad.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ogenstad.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ogenstad.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ogenstad.net\/wp-json\/wp\/v2\/comments?post=22"}],"version-history":[{"count":0,"href":"https:\/\/ogenstad.net\/wp-json\/wp\/v2\/posts\/22\/revisions"}],"wp:attachment":[{"href":"https:\/\/ogenstad.net\/wp-json\/wp\/v2\/media?parent=22"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ogenstad.net\/wp-json\/wp\/v2\/categories?post=22"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ogenstad.net\/wp-json\/wp\/v2\/tags?post=22"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}