On-scan and on-press components

Can we use a on-scan and on-press components in same line ?
I don’t want to use two different buttons for on-scan and on-press but, inside the same line can I use both

Hi Soumya

on-scan only works for the <scan-barcode /> component and that same component does not have a on-press action.