Scanner
Allows computers to read the data from written books, book and quills, printed pages and printed books
| Functions | Description | 
|---|---|
| getPage(page) | Gets the written text from the page | 
| getAuthor() | Gets the author of a written book | 
| getTitle() | Gets the title the scanned item | 
| getCopyStatus() | Gets the state of a written book | 
getPage(page)
Description
Gets the written text from the page
Parameters
- page: number - The page index to get
 
Returns
- boolean - The state of the operation
 - string - The text from the book, or an error message
 
getAuthor()
Description
Gets the author of the book (only supported on written books)
Returns
- boolean - The state of the operation
 - string - The author of the book, or an error message
 
getTitle()
Description
Gets the title of the book (supported by written books, and printed pages/books)
Returns
- boolean - The state of the operation
 - string - The Title of the book, or an error message
 
getCopyStatus()
Description
Gets the copy status of the book (only supported by written books)
💡 IMPORTANT
The values for the copy status are returned as such
"ORIGINAL", "COPY", "COPY OF COPY"
Returns
- boolean - The state of the operation
 - string - The copy state of the book, or an error message