@command([fileprint])

Hi,

i’m trying to use the command :

@command([fileprint];“”;“”;“”;“”;“”;“Another Form”;“”;“”;“”;“”) to print a form that is called “Another Form” (not the current form that i am in).

What i really want to do is from one form, print the current form as well as printing other forms on the database.

In the action, i was hoping to be able to prints 5 different forms automatically.

Is there a bug with this version of lotus?

If so, is there a work around to my problem.

Please help,

Thanks.

Subject: RE: @command([fileprint])

You don’t show your exact code (just one line when obviously there must be more), and you don’t say what it does and what you expected it to do. You also don’t say what is the situation when you run the code.

Therefore it’s difficult to say whether you have encountered a bug or whether you are just expecting different behavior than Notes provides.

Also, a point of terminology. You don’t print a form. You print a document using a form. I assume you want to print the same document with its original form and then with diferent forms.

You might note from the help for FilePrint command, that the form argument is ignored when command is used from a document window.

You can use ViewSwitchForm to open the document using a different form, and then print from there. You’ll have to use @PostedCommand for all these commands, since they will otherwise execute out of order. As I just pointed out in another message, it’s also possible to use a dialogbox containing a self-printing form, and just open that dialog.

Subject: @command([fileprint])

Try using lotusscript - you have much more control.

Subject: RE: @command([fileprint])

You an switch from just for printing, in this way it works:with a button in the document, used only in reading mode:

@Command( [SwitchForm] ; “Form used to view the document” );

@Command( [FilePrint] ; “”; “”; “”; “”; “”; “Form used to PRINT the document”; “”; “”; “”; “”);

@Command( [SwitchForm] ; “Form used to view the document” )