printer.setPageTitle

From ComputerCraft Wiki
Revision as of 00:43, 1 December 2012 by AfterLifeLochie (Talk | contribs) (Please do not change categories without confirming with me first.)

Jump to: navigation, search


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"