This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
jag's profile picture

Printed page title with multiple lines?

Started by jag, 04 January 2016 - 09:07 PM
jag #1
Posted 04 January 2016 - 10:07 PM
Is it possible to have the printed pages' title to have multiple lines?

I am of course referring to the printer.setPageTitle() function.

See my example below:





The first image is just a screenshot whereas the second one is altered to showcase how I want it to be. Is this possible, and if so how do I do it?
HPWebcamAble #2
Posted 05 January 2016 - 12:08 AM
I first thought you could stick a newline character (\n) into the title. No, that doesn't work.


[attachment=2468:Printing newline in printed page title.png]
Bomb Bloke #3
Posted 06 January 2016 - 03:25 AM
It's blatant cheating, but cPrint lets you do this… sorta.

It's a trick: printed books (like any other object) can have a "lore" tag set that adds a line under their name. cPrint lets you set this lore tag, whereas regular printers do not.

There's an example of how to do this in the instructions. The most obvious problem is that you need to be an OP to print books this way.