PCPERFORM not working how to get OIPI to launch document (AREV32)
At 29 AUG 2011 10:35:25AM Matthew Watson wrote:
I am having the hardest time trying to get documents created by AREV32 to preview using OIPI. The documents have already been created and I want to print them off but am going to let them preview it on OIPI if I can.
The PCPERFORM statement does not work for me when I brought over the AREV3.12 to AREV32.
Where can I find AREV32 commands? The AREV3.12 books works only so far and then the AREV32 makes it obsolete.
I am struggling to get this system working were it is hard to find commands. I am searching everywhere.
At 29 AUG 2011 11:28AM Dave Harmacek wrote:
"The documents have already been created" exactly what does this mean? Somehow printed to disk in some format?
As you know, PCPERFORM was used in Arev DOS to suspend operations and execute a DOS command.
Since this is no longer a DOS environment, you should use the Windows routines: See the RUNWIN service of the function Utility, or Shellexecute, or the SRP free utilities if you need to run some other program in Windows.
OIPI is a set of document creation routines. See the OI Programmer's Reference Manual, open ProgRef.chm .
Arev32 is essentially running OpenInsight routines, so examining the OI Programmer's Reference Manual of OI may help you some.
I know of no list of AREV32 commands. They are the same as Arev DOS, but some no longer work in the Windows environment. It is also helpful to examine the CTO subroutines, like CTO_GUI_SUBROUTINE.
Dave Harmacek
Harmacek Database Systems
At 29 AUG 2011 11:54AM Bob Orsini wrote:
Dave is correct. Some of the CTO_GUI commands work much better. If you must use the AREV32 command that simulates this in AREV32 you can use (perfrom "suspend xxxxxxx").
At 29 AUG 2011 12:28PM Matthew Watson wrote:
The previous programmer created a subroutine to print off documents (*.txt) and it used pcperform then the path then >prn.
Well the printing does not happen anymore it just hangs.
So I want the documents to open up in OIPI so they can view the documents and print them off if they see that nothing has to be corrected in the system.
example (Create a bill the night before and print it off if the bill is correct the next morning.)
At 29 AUG 2011 12:51PM Dave Harmacek wrote:
If the print off documents are created, then you could use notepad.exe to display the contents of the file.
You can re-write the printing subroutine to print to the printer where you have already assigned the current printer to the OIPI port. Try the command SETPRINTER to see the OIPI-PORTRAIT and OIPI-LANDSCAPE printers. You will
then automatically get a preview screen and the ability to print it to a proper printer (depending upon your setup).
Dave Harmacek
Harmacek Database Systems
At 29 AUG 2011 05:53PM Robert Catalano wrote:
Matthew,
You can find the CTO commands in the Character to OpenInsight Reference Guide. This guide can be found in the documents folder under your OpenInsight directory.
Robert Catalano | Revelation Software
Director of Sales
99 Kinderkamack Road | First Floor | Westwood, NJ 07675 USA
V: +1 800.262.4747 | F: +1 201.722.9815
At 31 AUG 2011 03:52PM Bob Orsini wrote:
Mathew, Give me a call at revelation (800-262-4747) and I can assist you with this.