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 03 AUG 1998 09:26:52PM Kelly wrote:

I have a menu calling a screen to display customer details.

A button calls a program to print customer details.

When I return to the customer screen it is 'frozen'. However, I can shutdown the menu.

The basic code has been based on the on-line help:

hwnd=Get_property(@window, 'HANDLE')

stat=Print_init(0, 'Customer Details', hwnd)

status=Print_SetFont(FontStruct)

Printer On

line=Customer Details:'

status=Print_Text(line)

Printer Off

status=Print_End()

Any suggestions?

What is the relationship between Printer On/Off and Print_Init/End?


At 03 AUG 1998 11:14PM Aaron Kaplan wrote:

I'm a bit shaky on this, but I don't think you need either the Printer On or Printer Off in this situation.

[email protected]

Sprezzatura, Inc.

www.sprezzatura.com_zz.jpg


At 04 AUG 1998 02:39AM Kelly wrote:

Aaron,

I tried leaving off Printer On/Off and didnt get a report.

Similarly tried removing Print_Init/End with the same result.


At 06 AUG 1998 01:05PM Mike Ruane, WinWin Solutions Inc. wrote:

Kelly-

Remove the printer on/off messages, and don't get the handle of the window to pass to the Print_Init function.

We've had plenty of trouble with the handle, such as locking, and don't send it anymore.

Hope it helps-

Mike

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/647c935971f52d16852566560007f450.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1