Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / October 2007

Tip: Looking for answers? Try searching our database.

XDocument.PrintOut on 2 printers at same time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Edd1984 - 09 Oct 2007 16:39 GMT
Hi,

I inserted the following code for printing in InfoPath:

function PRINT::OnClick(eventObj)
{
    XDocument.PrintOut();// Write your code here
}

If I click on the Button, it will print the form on the default printer. I
would like, that if I click on the Button, it should print right away on two
printers, witch I define in the code, for example.

Can someone help me here?

Thanks,

Edd
mparker1113 - 09 Oct 2007 19:19 GMT
Looks to me like alls that you ahve to do is call the XDocument.PrintOut()
method again, loading the method with the printer you want it to write to. I
would be you could find that answer by googling.  Sorry if no helpful..

> Hi,
>
[quoted text clipped - 14 lines]
>
> Edd
Edd1984 - 09 Oct 2007 19:43 GMT
Googeling did not help at all. just found the basic print command, what I am
already using. So, does somebody have a code, that I can use?

Thanks,

Edd

>Looks to me like alls that you ahve to do is call the XDocument.PrintOut()
>method again, loading the method with the printer you want it to write to. I
[quoted text clipped - 5 lines]
>>
>> Edd
Edd1984 - 09 Oct 2007 19:43 GMT
Googeling did not help at all. just found the basic print command, what I am
already using. So, does somebody have a code, that I can use?

Thanks,

Edd

>Looks to me like alls that you ahve to do is call the XDocument.PrintOut()
>method again, loading the method with the printer you want it to write to. I
[quoted text clipped - 5 lines]
>>
>> Edd
Edd1984 - 09 Oct 2007 19:44 GMT
Googeling did not help at all. just found the basic print command, what I am
already using. So, does somebody have a code, that I can use?

Thanks,

Edd

>Looks to me like alls that you ahve to do is call the XDocument.PrintOut()
>method again, loading the method with the printer you want it to write to. I
[quoted text clipped - 5 lines]
>>
>> Edd
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.