Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

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 printing

stat=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 printing

stat=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.

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/477df45bde4cf13685257871005e722a.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1