Adding Document Styles to Print It! Mode

The Player's Print It! Mode allows you to include either the JobAid or the System Process document as part of your deployment. However, you may want to use a different document style for Print It! Mode, or you may want to add one of your custom styles to Print It.

You can do this by modifying the style.xml file. For safety sake, please make a backup of the style.xml file before you change it.

Here's how to do it:
1. Open the publishing style that you want to include in Print It! Mode.
2. Open the style.xml file in your favorite XML editor. Don't panic if you don't have a favorite XML editor - you can also use notepad.
3. Scroll down to the section with the headings for "Settings" - there will be several groupings for settings.
4. Add the following values.

xmlsettings.PNG

5. Be sure to put it after a "/Setting" tag, and not in between the tags.

stylexml modifications.PNG

6. Save the XML file.
7. Save the publishing style.
8. Publish for the player
9. In the Print It! Mode drop-down, select your newly added style.

Enjoy your Player output with your customized Print It! Mode!

If you add other document styles to Print It! Mode, I'd be interested in hearing which styles you have added. Feel free to share in the comments.

Maria Cozzolino
Manager of UPK Software Requirements and UI Design

Comments:

Thanks for this post, but it did not work for me in UPK Developer 11.1.0.

I tried updating style.xml within System / Publishing / Styles / User Productivity Kit / Test Results as per this blog post, however "Test Results" does not appear within the "Format for Print It! mode" drop-down.

To check functionality, I tried disabling "Job Aid" by placing 0 in the associated style.xml and Job Aid was successfully removed from the list.

However, when trying to re-enable Job Aid by changing the field back to 1, Job Aid does not re-appear in the list. I rolled back the Job Aid publishing project using menu option Document / History which successfully added back the drop-down list option.

Is there something else required to get this working?

Posted by Randall on September 24, 2013 at 06:41 PM PDT #

Hi Randall, it seems to work on my system. In 11.1.x, the setting has been added to the Test Results style.xml, so you do not need to add the text as described above. You would just need to find the "PrintItStyle" setting and change the value to 1. Be sure to save the xml file first AND then save the package to make sure the changes are saved.
Hope this helps! --Maria

Posted by Maria Cozzolino on September 25, 2013 at 05:01 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

The authors of this blog are members of the UPK product development, management, and marketing teams. On this blog, you'll find UPK news, tips/tricks, upcoming events, and general information on UPK - the easy-to-use, comprehensive content development, deployment, and maintenance platform for increasing project, program, and user productivity.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today