mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-07-02 01:53:21 +00:00
![Jonathan Coates](/assets/img/avatar_default.png)
No clue how we're going to do this for the dynamic peripheral system if/when that ships, but this is a good first stage. Like the Java APIs, this relies on stub files, so we can't link to the implementation which is a bit of a shame. However, it's a good first step.
12 lines
285 B
Lua
12 lines
285 B
Lua
--- @module[kind=peripheral] printer
|
|
|
|
function write(text) end
|
|
function getCursorPos() end
|
|
function setCursorPos(x, y) end
|
|
function getPageSize() end
|
|
function newPage() end
|
|
function endPage() end
|
|
function setPageTitle(title) end
|
|
function getInkLevel() end
|
|
function getPaperLevel() end
|