printer

The printer peripheral allows pages and books to be printed.

write(...)
getCursorPos()
setCursorPos(x, y)
getPageSize()
newPage()
endPage()
setPageTitle([title])
getInkLevel()
getPaperLevel()
write(...)Source

Parameters

  1. ...
getCursorPos()Source

Returns

  1. any...
setCursorPos(x, y)Source

Parameters

  1. x number
  2. y number
getPageSize()Source

Returns

  1. any...
newPage()Source

Returns

  1. boolean
endPage()Source

Returns

  1. boolean
setPageTitle([title])Source

Parameters

  1. title? string
getInkLevel()Source

Returns

  1. number
getPaperLevel()Source

Returns

  1. number