How to set the paper size
1. Move to “Printer Properties”.

2. You can set the paper size in advanced option field of the Paper/Print setting.

3. You can set the length of the paper using direct command.
Refer to the command manual