Polydimethylsiloxane-based optofluidics provides a powerful platform for a complete analytical lab-on-chip. Here, we report on a novel on-chip laser source that can be integrated with sample preparation and analysis functions. A corrugated sidewall structure is integrated into a microfluidic channel to form a distributed feedback (DFB) laser using rhodamine 6G dissolved in an ethylene glycol and water solution. Lasing is demonstrated with a threshold pump power of 87.9 µW, corresponding to a pump intensity of 52.7mW/cm2. Laser threshold and output power are optimized with respect to rhodamine 6G concentration and core index and found to be in good agreement with a rate equation model. Additionally, the laser can be switched on and off mechanically using a pneumatic cell inducing positive pressure on the grating.