Skip to main content

Utility - Printer test

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

Utility, written in C, which allows you to test your printer (independent of COBOL). You will need to modify the C code, so a C compiler is required to use it.

Resolution:

INTRODUCTION

==========

Example of how to do a printer driver check using a non-cobol program.

REQUIREMENTS

==========

C Compiler

OPERATION:

========

Edit the C source, printercheck.c Use the example by modifying the line below to your printer name:

char name[] = "PrinterName";

Example: printer name is: \\\\prodsup2\\hp340_5s. This would be coded as: char name[] = "\\\\\\\\prodsup2\\\\hp340_5s";.

Attachments:

printercheck.zip

Old KB# 4366