Demo popup windows in Mini EMF Printer Driver software

Hi,

I am interested in buying Mini EMF Printer Driver product and I am evaluating the demo version.

Some issues remains however and I need some explanations because I can not imagine buying final product with actual emf driver behavior

Before to buy I would like to know:

1) if there is an option that can be added in option file allowing to avoid the emfcreator.exe command line window to pop up during export (this window keep previous export and increment continuously the file number: this is confusing

2) How to avoid the "Press Any key To Continue" at bottom of this command window

3) How to avoid getting each picture displayed in Paint picture viewer (when plotting hundred pictures it is a pity)

4) Ho to get a log file in output folder instead of this window ?

Regards
Customer
--------------------------------
>>Before to buy I would like to know:
>>1)if there is an option that can be added in option file allowing to avoid the emfcreator.exe command line window to pop up during export (this window keep previous export and increment continuously the file number: this is confusing

After you purchased the full version, the demo popup window will be suppressed automatically, you will not see this popup window at all, please don't worry about this matter.

>>2)How to avoid the "Press Any key To Continue" at bottom of this command window
>>3)How to avoid getting each picture displayed in Paint picture viewer (when plotting hundred pictures it is a pity)

These two issues will be suppressed in purchased version too.

>>3)Ho to get a log file in output folder instead of this window?

Please set an EXE filepath to [RunExe]=>[PATH] in option.ini file, e.g.,

[RunExe]
PATH=runexe.exe "%1" "Parameter1" "Parameter2" "Parameter3" "..."

The first parameter is the log file which contain all generated files, you can read all filenames from this log file easily, please refer to following sample code,

//Please put following items into "option.ini" file, then "runexe.exe"

//application will be called as soon as image files generated, you can

//process the created images in this application easily.

//

//[RunExe]

//PATH=C:\Program Files\VeryPDF Mini EMF Printer v2.0\emf_printer_driver\runexe.exe

 

#include <stdio.h>

#include <string.h>

#include <stdlib.h>

#include <time.h>

#include <math.h>

#include <io.h>

#include <sys/types.h>

#include <sys/stat.h>

#include <conio.h>

#include <ctype.h>

#include <string>

#include <vector>

using namespace std;

 

char *getLine(char *buf, int size, FILE *f)

{

                int c, i;

               

                i = 0;

                while (i < size - 1)

                {

                                if ((c = fgetc(f)) == EOF)

                                                break;

                                if (c == '\x0a')

                                                break;

                                buf[i++] = (char)c;

                                if (c == '\x0d')

                                {

                                                c = fgetc(f);

                                                if (c == '\x0a' && i < size - 1) {

                                                                buf[i++] = (char)c;

                                                } else if (c != EOF) {

                                                                ungetc(c, f);

                                                }

                                                break;

                                }

                }

                buf[i] = '\0';

                if (i == 0) {

                                return NULL;

                }

                return buf;

}

int ReadCreatedFiles(const char *lpTextFile, vector<string>& aryFiles)

{

                FILE *file = fopen(lpTextFile,"r");

                if(file == NULL)

                                return 0;

 

                char buf[1024];

                while (getLine(buf, sizeof(buf), file))

                {

                                int i = 0;

                                while(buf[i])

                                {

                                                if(buf[i] == 0x0d || buf[i] == 0x0a)

                                                                buf[i] = '\0';

                                                i++;

                                }

                                if(buf[0] == 0)

                                                continue;

                                aryFiles.push_back(buf);

                }

                fclose(file);

                return aryFiles.size();

}

void main(int argc, char *argv[])

{

                if(argc <= 1)

                                return;

                printf("Accept parameters by [RunExe]=>[PATH] in option.ini file,\n");

                for(int ii = 0; ii < argc; ii++)

                {

                                printf("\"%s\" ", argv[ii]);

                }

                printf("\n");

 

                vector<string> aryFiles;

                char *lpTextFile = argv[1];

                ReadCreatedFiles(lpTextFile,aryFiles);

                for(int i = 0; i < aryFiles.size(); i++)

                {

                                printf("File %03d: %s\n",i+1, aryFiles[i].c_str());

                }

                printf("Press any key to continue...\n");

                _getch();

}

 

VeryPDF

VN:F [1.9.20_1166]
Rating: 1.0/10 (1 vote cast)
VN:F [1.9.20_1166]
Rating: 0 (from 0 votes)
Demo popup windows in Mini EMF Printer Driver software, 1.0 out of 10 based on 1 rating

Related Posts

This entry was posted in Mini EMF Printer Driver and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


Verify Code   If you cannot see the CheckCode image,please refresh the page again!