How to send a printfile to a particular printer …

Prerequisite: The printer is correctly configured and shared in Printers and Devices on the same server where the StreamServe application is hosted.

TIP: Confirm correct configuration by outputting a test page.

  1. Open Printers and Devices on the host server and right-click on the particular printer and select Printer properties.
  2. Make note of the Share name for the printer – Required for step 5

Figure 1 displays the printer sharing configuration.

7
Figure 1: Printer sharing configuration
  1. Open the runtime and connect your PageOut process to the Printer output connector using the Static connector selection method – Click here if you need to see the configuration for the Printer output connector.
  2. Open the runtime and connect your PageOut process to the Printer output connector using the Static connector selection method – Click here if you need to see the configuration for the Printer output connector.
  3. Open the message and right-click on the particular PageOut and select Script…
  4. Insert the following code:

    setdestpath(“OPS”);

Export and deploy and test!

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s