clear_console
licenses_print
There is a way to work around Steam client's buffer size limitation by using SteamCMD.
First, you will need to download it and login with your account normally.
After you've done that, you can use this command to save output into a file:
steamcmd +login YOUR_ACCOUNT +licenses_print +quit > licenses.txt