# Printing question

**URL:** <https://techcommunity.softwareag.com/t/printing-question/99026>\
**Category:** Forum\
**Tags:** Mainframe-Integration, ApplinX\
**Created:** [November 23, 2011, 2:27pm UTC](https://techcommunity.softwareag.com/t/printing-question/99026 "2011-11-23T14:27:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [November 23, 2011, 2:27pm UTC](https://techcommunity.softwareag.com/t/printing-question/99026/1 "2011-11-23T14:27:58Z")

</div>

Hi,

we have now successfully rolled out our application worldwide…  
Mainframe application runs under z/os, Complete and Connect, Applinx application is version 8.1.2.3 with Java.

Now my question: there are more and more questions from all the world, if they can’t print on their net printers.  
Do you have a simple solution for some hundred users to do so? Keep in mind, that the printers are defined to Complete and Connect.

Another question is: Connect gives the possibility to ‘print’ on PC (into a file). Has anybody an idea (or even experience) how that could be realized on the (ApplinX-) server? (F.e. write to a temp directory of the server and than send by email or so?).

Thanks in advance  
Michael

---

<div class="post-metadata">

**Author:** ![Ohad\_M](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@Ohad\_M](https://techcommunity.softwareag.com/u/Ohad_M)\
**Post date:** [November 23, 2011, 2:34pm UTC](https://techcommunity.softwareag.com/t/printing-question/99026/2 "2011-11-23T14:34:30Z")

</div>

Hi Michael,

Are we talking about a web enablement project or SOA?

Regards,  
Ohad

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [November 23, 2011, 2:40pm UTC](https://techcommunity.softwareag.com/t/printing-question/99026/3 "2011-11-23T14:40:56Z")

</div>

Hi Ohad,

it’s a web enablement project.

Regards,  
Michael

---

<div class="post-metadata">

**Author:** ![Ohad\_M](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@Ohad\_M](https://techcommunity.softwareag.com/u/Ohad_M)\
**Post date:** [November 23, 2011, 3:27pm UTC](https://techcommunity.softwareag.com/t/printing-question/99026/4 "2011-11-23T15:27:57Z")

</div>

Michael,

ApplinX server supports Printer sessions. You need to configure your ApplinX application to enable printing and configure it properly.  
Once you do that, you can try and run the run\_printlet.jsp page wich contains a java applet that allows users to print to any printer that is defined on the client’s PC (including Print to file option).

For more information click [Here](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8_ga/ApplinX/desdevapp/PrintingSession.htm)

Let me know if you need further assistance.  
Best regards,  
Ohad

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [November 24, 2011, 2:29pm UTC](https://techcommunity.softwareag.com/t/printing-question/99026/5 "2011-11-24T14:29:54Z")

</div>

Thanks Ohad,

this solution seems not to work for us, because we are using load balancing. I should have mentioned that before…

Do you see any possibility for using the Connect function ‘print to file’ on the server?

Best regards,  
Michael

---

<div class="post-metadata">

**Author:** ![Ohad\_M](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@Ohad\_M](https://techcommunity.softwareag.com/u/Ohad_M)\
**Post date:** [November 27, 2011, 9:42am UTC](https://techcommunity.softwareag.com/t/printing-question/99026/6 "2011-11-27T09:42:30Z")

</div>

Hi Michael,

What kind of load balancing have you implemented?  
What is the ApplinX server/Web server Architecture on the customer site?

As long as ApplinX server and the Web server are on the same machine and the web application is configured to work with an ApplinX application that is on the local ApplinX server , using the Printlet should be possible.

Regards,  
Ohad

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [November 28, 2011, 8:57am UTC](https://techcommunity.softwareag.com/t/printing-question/99026/7 "2011-11-28T08:57:16Z")

</div>

Hi Ohad,

it’s an SAG-internal project, it’s AVS@web, if you have heard about it…  
We have got an Apache web server, which load balances to two Tomcats with the help of mod\_jk, all on the same server.  
There is no ApplinX installed on that server, the application is deployed in whole to the two Tomcats.

As I understood now, it would be possible to use this Printlet.

Is there a coherent documentation on what to do where. I only found something here, a little bit there and found nothing what to do/define on mainframe.

Thanks again for your help  
Michael

---

<div class="post-metadata">

**Author:** ![Ohad\_M](https://avatars.discourse-cdn.com/v4/letter/o/7ba0ec/32.png) [@Ohad\_M](https://techcommunity.softwareag.com/u/Ohad_M)\
**Post date:** [November 29, 2011, 1:17pm UTC](https://techcommunity.softwareag.com/t/printing-question/99026/8 "2011-11-29T13:17:17Z")

</div>

Hi Michael,

In order to tell if using the Printlet would be possible, I need to know whether or not the web session is sticky This means that once a user is redirected to one of the tomcats , he stay on that tomcat for as long as the web session is alive.

Another thing to consider is that you’ll have to use the Printlet redirector, because, the tomcat and ApplinX server are not on the same machine.

More about the redirector: [here](http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite8-2_ga/ApplinX/8-2-SP1_ApplinX/advdev/PrintletServletIntro.htm)

Let me know if this helps,  
Ohad

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:01pm UTC](https://techcommunity.softwareag.com/t/printing-question/99026/9 "2021-04-02T15:01:14Z")

</div>


