Sure you can.
You need to use a task scheduler, or the AT command to run a batch file at whatever time you want.
In the batch file:
%iberdir%\bin\rpt.exe /date %1 /RP
0r--
%iberdir%\bin\rpt.exe /date DATA /RP
You can see that you can set the date of the report, you can also add /LOAD "default.pmix.set" to change the settings file that you want to load, but I haven't been able to get this to work.
so, another example:
D:\aloha\bin\rpt.exe /date 20060607 /RP /load "default.pmix.set"
You can do this for any report by changing the /Rx flag.
Let us know what reports you want and I'll tell you the flag to use, there are too many to list.
sales summary = C
Hourly Sales = H
Employee Labor = A
I assume you meant "hourly sales and labor"
So, to reiterate, use /Rx, where x is listed above.
Also, if you are using the old labor#1, #2, #3 reports (like v5.0), you can specify those by using the /NUM n, where n is 1,2 or 3.
I haven't played around much with the LOAD parameter, but it must work, somehow. I tried to put the whole path between the quotes, but that didn't seem to help. I'm sure it has something to do with the location that rpt.exe is looking for the setting files. (and BTW, this only works in v5.2+)
If you get it working, please post your solution here.
Thanks.
I have used the aut print from batches but really like one P-Mix each day filtered by day part. The only time this would not take care of your needs would be if your P-Mix is used mid day for item inventory reconciliations. If you are needing it for that the auto print will only be valid if you are closed mid day or you count at the exact time the report prints...
v5.2x and newer, maybe 5.0x
P-Mix report settings. If you create a P-Mix and save it you can uato print by including the "saved report name" as stated earlier in the thread.
that brings up another good point,
I have found that some reports actually need to be saved in aloha manager first before they will work from a command line. Especially if you are exporting from a command line. [by using /Ex instead of /Rx.]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.