Skip to main content

Problem:

This example demonstrates how an output file can be redirected to the Win32 Print Spooler using the printer_redirection tunable.

Resolution:

INTRODUCTION

==========

This example demonstrates how an output file can be redirected to the Win32 Print Spooler using the printer_redirection tunable.

SOURCE FILES:

=========

Program Files             Description

----------------------     -----------------------------------------------------------

PRTTUNE.CBL

Resource Files:

----------------------     -----------------------------------------------------------

COBCONFIG.CFG

REQUIREMENTS:

==========

A default printer must be defined and available

OPERATION:

========

Simply rebuild and run the Project

NOTE:

====

To see how the printer_redirection is set you can look at the file called cobconfig.cfg.  The cobconfig.cfg is enabled in the project under the Projects menu under Properties/IDE with the environment variable  cobconfig_ (the underscore is important and not a typo)

==========================================================

Keywords: demonstration, sample, example, demo, prnttune.zip

demo.ex

demo.me

demo.ne

demo.se

Attachments:

PrntTune.zip

Old KB# 4063