Difference between revisions of "Printer.setPageTitle"

From ComputerCraft Wiki
Jump to: navigation, search
m (Category -> API Functions)
(Please do not change categories without confirming with me first.)
Line 15: Line 15:
 
}}
 
}}
  
[[Category:API_Functions]]
+
[[Category:Lua_Core_Functions]]

Revision as of 00:43, 1 December 2012


Grid Redstone.png  Function printer.setPageTitle
Sets the title of the page being printed
Syntax printer.setPageTitle(string title)
Returns none
Part of ComputerCraft
API printer

Examples

Grid paper.png  Example
Set the title of a page to be printed.
Code
Printer.setPageTitle("Test page")
Output When the page is hovered-on in the inventory, the tooltip reads "Printed Page; Test page"