Get BaseMap Services and convert to Image File based in qgis-openlayers-plugin (https://github.com/sourcepole/qgis-openlayers-plugin)
./baseMap2Image.py bing_aerial -13704290 4440763 -9071872 567757 baseMap.jpeg 800 600
1 - baseMap Name (list files in html directory)
2-5 Coordinates in EPSG:3857
6 - Output File Name (JPG|PNG)
7-8 Image Size
BaseMap2Imag is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
©2012 Angel Torres
I am not responsible for any use you give to this program, I did for study purposes.