OIPI print init failure (OpenInsight 32-Bit)
At 27 JUL 2005 11:40:06AM Paxton Scott wrote:
OI 7.1 W2k
VSPRINT7.OCX is registered. defauld printer defined.
Can anyone see the problem with this init statement?
a -4 is returned when the init statement executes.
This is an old program which used to run under oicgi on 16bit.
Sometime after converting to oecgi it begin to fail.
Code snippet:
Compile function web_receipe(recipe_key,html_filename)
/*
Routine to put a receipe in HTML for web displayAuthor: J. Paxton Scott
Date: 29 Dec 2002
Revisions:
/
DECLARE FUNCTION Set_Printer, get_printer, Msg
$INSERT OIPRINT_EQUATES
$Insert Colors
debug
recipe_rec=xlate("RECIPES",recipe_key,
,'X') * *— stat1=';stat2=';stat3=';stat4=';stat5=';stat6=';stat7=' stat8=';stat9=';stat10=' *— * Print to an HTML File *— Filename =HappyHome Recipe':@FM:
:@FM: 4 :@FM: html_filenamename='
stat1=Set_Printer("INIT",FILENAME,
,
,'',5:@VM:@VM:1)if stat1 # 1 then goto errorend
*—
* Set Font
*—
font=Times New Roman,12,L,0" ;* 10 point, Left just, Normal
convert "," to @fm in font ;* Use @fm delimiters
stat=Set_Printer("FONT", font) ;* Set font
ideas?
[url=http://www.arcscustomsoftware.com]ARCS, Inc.
At 27 JUL 2005 12:39PM Bob Orsini wrote:
Paxton, OIPI does not work via web in OI 7.1.
At 27 JUL 2005 02:41PM Paxton Scott wrote:
Do you mean it requires the display manager to be running? IF so, I could go back to oicgi and run inet_gateway…right?
Paxton
At 27 JUL 2005 02:52PM Bob Orsini wrote:
I believe it does not work at all with the web.
At 30 JAN 2006 03:34PM Jim B wrote:
Bob,
Mike told me that this (compatibility with OECGI.exe) was fixed in 7.2
Jim
At 30 JAN 2006 03:54PM Mike Ruane wrote:
Using OLE; see your most recent email