I see there was already a thread asking a similar question to mine but it has already been closed so I'll ask anew.
We'll be going from Lisboa - Rossio station to Sintra and back, on the same day. From the CP.pt website, I don't see a way to purchase these tickets online. I do, however, see the timetable for this route. Is this a route that you cannot buy tickets online and therefore can't purchase ahead of time?