Envelope Printing in LibreOffice Writer on Canon LBP 151 Printer

I am using Ubuntu 22.04, Canon LBP 151 DW printer and Version: 24.2.6.2 (X86_64) / LibreOffice Community

Build ID: ef66aa7e36a1bb8e65bfbc63aba53045a14d0871

CPU threads: 20; OS: Linux 6.8; UI render: default; VCL: gtk3

Locale: en-IN (en_IN); UI: en-US

Calc: threaded

Previously I managed envelope printing on one HP printer and one Kyocera Printer by selecting the paper size as #10 Envelope and Output Paper Size as #10 Envelope. But now on Canon LBP 151 printer I am not getting the option of Output Paper Size as #10 Envelope. I can manage envelope printing by converting the document to .pdf and printing from document viewer. But if I print directly from LibreOffice even if I tried Page Layout as #10 Envelope the preview is shown in the image and I have to put the Envelope on one side I cannot adjust the paper tray slider according to envelope.