9.2 Set_Printer not functioning? (OpenInsight 32-Bit)
At 13 APR 2011 01:11:36PM Cully A Cobb wrote:
I'm encountering a wierd issue with Set_Printer in 9.2. When I execute the following code, stat is set to True after each line, but nothing prints:
stat=Set_Printer("INIT") ;* Start printing
stat=Set_Printer("TEXT", "Test 1 2 3") ;* Print text
stat=Set_Printer("TERM") ;* End printing
If I execute this next block, it will take me to page setup, wehere I click ok, and it will print:
stat=Set_Printer("INIT",
,
,,
,1) ;* Start printingstat=Set_Printer("TEXT", "Test 1 2 3") ;* Print text
stat=Set_Printer("TERM") ;* End printing
If I execute this last block, it will print directly to the printer:
stat=Set_Printer("INIT",
,
,,
,0) ;* Start printingstat=Set_Printer("TEXT", "Test 1 2 3") ;* Print text
stat=Set_Printer("TERM") ;* End printing
Why does the first block not work? It functions in 8.0.3 just fine. I'm not sure if I have an evironment setup issue here or if this is a genuine difference in behavior.
Thanks in advance,
Cully
At 14 APR 2011 09:08AM Bob Orsini wrote:
In 9.2 there is a new version of OIPI called OIPI.Net. Looks like this version does not allow for an INIT command without any parameters. As a work around either switch to the old version or use the parameters.
At 14 APR 2011 01:41PM Cully A Cobb wrote:
I was afraid of that. Thanks Bob.