Exporting peak data givess the same results as the following commands:
@*: info peaks
or
@*: lua F:execute("info peaks >>'peaks.txt'")
As far as I know, you can't avoid printing header lines per file.
You could use a sed script in a shell to get rid of undesirable lines once the peaks file is exported:
$ cat peaks.txt
# PeakType Center Height Area FWHM parameters...
%_1 VoigtA 1320.52 3.1331 105.127 30.1162 105.127 1320.52 16.9704 0.1
# PeakType Center Height Area FWHM parameters...
%_2 VoigtA 1320.52 3.13303 105.124 30.1162 105.124 1320.52 16.9704 0.1
# PeakType Center Height Area FWHM parameters...
%_3 VoigtA 1320.52 3.1331 105.127 30.1162 105.127 1320.52 16.9704 0.1
# PeakType Center Height Area FWHM parameters...
%_4 VoigtA 1027.15 1.68812 42.4811 22.5868 42.4811 1027.15 12.7276 0.1
$ sed -i.bak '/^#/d; /^$/d' peaks.txt
$ cat peaks.txt
%_1 VoigtA 1320.52 3.1331 105.127 30.1162 105.127 1320.52 16.9704 0.1
%_2 VoigtA 1320.52 3.13303 105.124 30.1162 105.124 1320.52 16.9704 0.1
%_3 VoigtA 1320.52 3.1331 105.127 30.1162 105.127 1320.52 16.9704 0.1
%_4 VoigtA 1027.15 1.68812 42.4811 22.5868 42.4811 1027.15 12.7276 0.1
Please, remember than first column in the file
%_n corresponds to channel
#(n-1)
I hope it helps