Convert the list of vertices and list of indices into a simple mesh format like OFF or PLY. And then use MeshLab to load the mesh and export it to VRML.
If what you are looking for is a way to automate the conversion to VRML from the same kind of input, then you can probably write the converter yourself by inspecting how a simple box mesh is exported to VRML by MeshLab: the VRML file still contains a list of vertices and a list of indices (among other things). You could also rely on the C++ library VCGLIB (the library used by MeshLab), although given how simple the VRML exporter is, it is unlikely to be worth doing it.
Finally, since this mesh is to be used for 3D printing, you may have other requirements (do hole-filling for instance) than the export format. In which case, VCGLIB may actually come in handy to apply mesh processing operations.