Difference between revisions of "Printer.setPageTitle"
From ComputerCraft Wiki
m (-> printer api) |
m (Category -> API Functions) |
||
Line 15: | Line 15: | ||
}} | }} | ||
− | [[Category: | + | [[Category:API_Functions]] |
Revision as of 10:05, 30 November 2012
Function printer.setPageTitle | |
Sets the title of the page being printed | |
Syntax | printer.setPageTitle(string title) |
Returns | none |
Part of | ComputerCraft |
API | printer |
Examples
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" |