printer.setPageTitle

From ComputerCraft Wiki
Jump to: navigation, search


Grid Redstone.png  Function printer.setPageTitle
Sets the title of the page. This title is seen when you hover your mouse over the page in the inventory.
Syntax printer.setPageTitle(string title)
Returns nil
Part of ComputerCraft
API printer

Examples

Grid paper.png  Example
Set the title of a page to be printed.
Code
local printer = peripheral.wrap("left")

printer.newPage()
printer.setPageTitle("My page title")
printer.endPage()
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox