Printing Documents

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
[email protected]
Posts: 278
Joined: Tue Aug 05, 2008 3:16 pm

Printing Documents

Post by [email protected] »

I have the following process which is launched via a menu item:

FIND 'All Installed GSS Software'
PRINT DOCUMENT ReleaseLetter

When I run the process, it just hangs.

I have confirmed that the ReleaseLetter document works fine by adding a button to BO form of GSS Software.

Am I doing this correctly. My goal is to be able to run a query and the output be a MS Word document.
[email protected]
Posts: 278
Joined: Tue Aug 05, 2008 3:16 pm

Another thing

Post by [email protected] »

If I change the PRINT DOCUMENT to DISPLAY DOCUMENT it doesn't lock up. It displays MS Word with just one of the records versus the 2 that are returned from the query.
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

When I run the process, it just hangs.
Do the logs provide any clues?

Tom
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

It displays MS Word with just one of the records versus the 2 that are returned from the query.
It sounds like you may want to do something like what's described at

http://www.awareim.com/forum/viewtopic. ... mail+merge

Tom
[email protected]
Posts: 278
Joined: Tue Aug 05, 2008 3:16 pm

WHy

Post by [email protected] »

I'm not sure why I should have to do that. I even looked at another one of your posts.

http://www.awareim.com/forum/viewtopic. ... mail+merge
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

I'm not sure why I should have to do that.
If you are looking to produce 1 Word doc with a page break for each instance of the BO involved, you should use the process in the Word mail merge link.

I have not used the PRINT action, so I can't help you with that part.

Tom
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

PRINT DOCUMENT is supposed to print on the printer of the SERVER. If the printer is not available or not turned on, the process is likely to "hang".

Take a look at the LogViewer and the output of the Aware IM Server for any additional clues.
Aware IM Support Team
[email protected]
Posts: 278
Joined: Tue Aug 05, 2008 3:16 pm

I will check that out

Post by [email protected] »

Ok, I will check that out. What about my issue where it only displays one record when I try using DISPLAY Document? Am I doing the processing incorrectly?
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

rgates,

What result were you thinking you would see in your Word doc with DISPLAY DOCUMENT -- the first instance of the found BO followed by the second instance?

Tom
[email protected]
Posts: 278
Joined: Tue Aug 05, 2008 3:16 pm

Yep

Post by [email protected] »

Yes or a separate document for each BO.
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

1- If looking for 1 doc with all instances one after another separated by a page break, you will need to follow the mail merge instructions I gave you. Trust me, it works.

2- "A separate document for each BO" -- I'm not aware of a way to get this to happen.

Tom
[email protected]
Posts: 278
Joined: Tue Aug 05, 2008 3:16 pm

Not completely

Post by [email protected] »

I was able to get one document generated with all BOs. The only issue I have is that the Headers and Footers don't appear. I have a header and footer in the details document. They don't appear. So, I thought would I would put the header and footer into the "driver" document. Unfortunately, when I do that I get an internal error.

Any ideas?
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

No ideas come to mind.

Tom
[email protected]
Posts: 278
Joined: Tue Aug 05, 2008 3:16 pm

Thanks!

Post by [email protected] »

Thanks for your help! I have submitted a ticket with support on this last issue.
aware_support
Posts: 7525
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

What error are you getting? Can you send us the BSV?
Aware IM Support Team
Post Reply