Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 13 JUL 2002 09:57:56PM Mike O'Neal wrote:

Hello all:

Am receiving OIPI error #118 when launching an S/LIST report, then pages of junk… not sure whose camp this goes to! Environment is oi 4.0.2, 32 bit s/list, Windows XP, printer is HP 1000.

Thanks much,

Mike O'Neal


At 14 JUL 2002 08:00PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Do you get the error printing to the screen as well or just to the printer?

What happens if you make your own INIT call to OIPI?

The Sprezzatura Group

World Leaders in all things RevSoft


At 14 JUL 2002 11:31PM Mike O'Neal wrote:

By the way, did I mention I'm having this problem in China, on a Chinese version of XP? The food is great though.

Nothing goes to print preview at all, all output gets sent directly to the printer, and only garbled. Have never done an INIT call to OIPI, can you advise?

Thanks,

Mike O


At 15 JUL 2002 04:49AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

There should be an OIPI.HLP file in your installation - run this to examine the syntax on the INIT calls.

-1 means the INIT message filed because OIPI could not start a new printing session. Suggests another session was still somehow active, or a GPF elsewhere triggered this condition.

-18 means an error occured while saving the report.

The Sprezzatura Group

World Leaders in all things RevSoft


At 16 JUL 2002 12:58AM Mike O'Neal wrote:

Would you be able to post a snippet of code I could run here to test? I keep getting -4, so I know I'm not passing parameters correctly.

Mike O.


At 16 JUL 2002 10:04AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Subroutine Print_Test( Void )

Declare Function Set_Printer

Branch     =  "INIT"
FileName   =  ""
Title      =  ""
PageInfo   =  ""
PrintSetup =  2
Printer    =  ""
CharMap    =  ""

Stat1  =  Set_Printer( "START32")
Stat2  =  Set_Printer( Branch, FileName, Title, PageInfo, PageSetup, PrintSetup, Printer, CharMap )
Text   =  "Hi there, World!"
Stat3  =  Set_Printer( "TEXT", Text)
Stat4  =  Set_Printer( "TERM")

The Sprezzatura Group

World Leaders in all Things RevSoft


At 16 JUL 2002 10:15PM Mike O'Neal wrote:

Thanks for the code - example worked fine, '1' returned for all STAT variables, print preview appears with 'Hi there, World', clicked on print, printed no problem.

At 'Sentence' though, typing in a simple command:

:list tablename fieldname

sends jibberish directly to the printer… print preview isn't called at all.

When running a stored report, message 'Now printing page 1 of…' report name appears, then just sits there.

Next?

Thanks much.

Mike O.


At 17 JUL 2002 02:57AM Mike O'Neal wrote:

One more note to the previous message, I can print from the exec line with the same RUN RLIST statement without any problems.


At 17 JUL 2002 08:31AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

If you print your reports to the screen, do they come out OK in the viewer? If you click the print button, do they still come out garbled?

If so, try changing print drivers to something else. If you are using HP printers, try using a previous version, like a HP4 or 5 instead of 6 and see if that makes a difference.

The Sprezzatura Group

World Leaders in all Things RevSoft


At 17 JUL 2002 08:59PM Mike O'Neal wrote:

The reports never print to the screen, they automatically go to the printer - garbled - regardless of what I do. I've never seen the print preview screen, except in the example you posted a couple of messages ago. Tried printing to a file using a generic DOS printer, same results. No other printing problems in other apps installed at this site.


At 18 JUL 2002 01:35PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

These are S/List reports, correct? You should be able to just change the PRINTER line to SCREEN to have the output go to the screen, just for this test.

The Sprezzatura Group

World Leaders in all Things RevSoft


At 18 JUL 2002 08:26PM Mike O'Neal wrote:

]These are S/List reports, correct?

Yes

]You should be able to just change the PRINTER line to SCREEN to ]have the output go to the screen, just for this test.

I *know* that. That is the problem I am describing. In summary:

1) All reports go directly to the printer, garbled, I never see the report viewer, regardless of PRINTER or SCREEN. Same is true for commands typed in at 'Sentence'

2) The code you posted a couple of days ago ('Hi There, World') worked, i.e. it brought up the print preview screen and I was able to print that.

3) I can send reports to the screen or to the printer via the Exec line using RUN RLIST "LIST…" with no problem.

4) Brand new machine, Windows XP, Chinese language version, but we are working in English. One anomaly is that this system does not seem to be able to display any accented characters. For example, when editing a record that has MV's in it (accented y), the MV's are not displayed on the screen correctly, but they are stored correctly and act exactly as expected in forms and rlist reports.

I'm in country for another 24 hours, sure hope this can be sorted out, will be next-to-impossible to figure this out from the States.

Thanks for your help,

Mike

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/5c826d1503acc38185256bf6000acc4d.txt
  • Last modified: 2024/01/04 21:00
  • by 127.0.0.1