Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

micros 3700 EJPrint

Status
Not open for further replies.

OlSmokie

Technical User
Mar 23, 2010
6
0
0
We have two workstations and we have beeing trying to use EJPrint to print out some journal pages. One journal will print out any or all pages with no problem, but the other (the main dining one) will load but when we try to do anything with it it gives us a "metafile is not valid" error.This journal goes back over 3 years and contains 11,017 pages. Is there a way to repair this file, and if not, how do we stop it and start a new journal?
Any help would be greatly appreciated.
 
Hi,
You should be automating the removal of the log daily, in you EOD batch file. The system will start a new log the next day when someone logs onto the workstation. An example is as follows:

TIME /T >> %RESROOTDIR%\Archives\Hold\Filemain.log
ECHO Gathering and deleting journal files>> %RESROOTDIR%\Archives\Hold\Filemain.log

IF EXIST %RESROOTDIR%\Journals\*.txt COPY %RESROOTDIR%\Journals\*.txt %RESROOTDIR%\Archives\Hold
IF EXIST %RESROOTDIR%\Journals\*.txt DEL %RESROOTDIR%\Journals\*.txt

TIME /T >> %RESROOTDIR%\Archives\Hold\Filemain.log
ECHO Gathering and deleting \*.log files>> %RESROOTDIR%\Archives\Hold\Filemain.log

IF EXIST c:\*.log COPY c:\*.log %RESROOTDIR%\Archives\Hold
IF EXIST c:\*.log DEL c:\*.log

TIME /T >> %RESROOTDIR%\Archives\Hold\Filemain.log
ECHO Gathering (not deleting) %RESROOTDIR%\Bin Log files>> %RESROOTDIR%\Archives\Hold\Filemain.log

IF EXIST %RESROOTDIR%\Bin\*.log COPY %RESROOTDIR%\Bin\*.log %RESROOTDIR%\Archives\Hold

//These lines will ZIP and store the logs in a directory called HOLD

TIME /T >> %RESROOTDIR%\Archives\Hold\Filemain.log
ECHO zipping up files>> %RESROOTDIR%\Archives\Hold\Filemain.log

CD %RESROOTDIR%\Archives\Hold
\Pkzip\Pkzip Log.zip *.*
IF EXIST Log.zip COPY Log.zip %RESROOTDIR%\Archives\001.zip
IF EXIST *.* DEL /Q *.*

\\These lines will use PKZIP (as per path above) to zip the log archive and nale it with todays date.

You can open journals with notepad also, or Wintail, but if it is corrupted I think you might have lost your data.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top