It is possible to make settings for custom sized paper. The following procedure explains for Windows WordPad as an example of how to print on custom sized paper for a specific application.
Be sure to load paper in the paper feed tray.
Display the data to be printed.
Click [Print] on the [WordPad] menu.
From [Select Printer], select the printer.
Click [Preferences].
The [Printing Preferences] dialog box appears.
In the [Document Size:] menu on the [Detailed Settings] tab, click [Custom Paper Size...].
The [Custom Paper Sizes] dialog box appears.
Enter the paper size in [Width:] and [Length:].
Specify [Measurement Unit...] if required.
Select [Portrait] or [Landscape] according to the paper orientation.
Click [OK].
The screen returns to the [Print] dialog box.
Click [Print].