printer.setPageTitle

From ComputerCraft Wiki
Revision as of 10:05, 30 November 2012 by Pinkishu (Talk | contribs) (Category -> API Functions)

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"