|
|
|
@ -172,12 +172,9 @@ int main(int argc, char ** argv) {
@@ -172,12 +172,9 @@ int main(int argc, char ** argv) {
|
|
|
|
|
// Construct superblock
|
|
|
|
|
if ( Initializeprinting( &printdata, WIDTH_A4, HEIGHT_A4 ) == 0 ) { |
|
|
|
|
//Create BMPs until all data has been written to BMP
|
|
|
|
|
int bmpNo = 1; |
|
|
|
|
int currStep = printdata.step; |
|
|
|
|
while ( printdata.step == currStep ) { |
|
|
|
|
cout << "Creating BMP #" << bmpNo << " " << outfile << endl; |
|
|
|
|
Printnextpage( &printdata ); |
|
|
|
|
++bmpNo; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|