Problem:
This set of samples is meant as an introduction for the PC_PRINTER library calls
Resolution:
INTRODUCTION
============
This set of samples is meant as an introduction for the PC_PRINTER library calls. This demo contains 4 separate samples;
PCPrinterIntro - This sample is an introduction to the following PC_Printer calls;
PC_PRINTER_OPEN PC_PRINTER_INFO PC_PRINTER_SET_FONT
PC_PRINTER_CONTROL PC_PRINTER_WRITE PC_PRINTER_LOAD_BMP
PC_PRINTER_WRITE_BMP PC_PRINTER_FREE_BMP PC_PRINTER_CLOSE
PCPrinterDefaultIntro - This sample is an introduction to the PC_PRINTER_DEFAULT library calls. Demostrated in this sample are the following;
PC_PRINTER_DEFAULT_NAME PC_PRINTER_DEFAULT_FONT
PC_PRINTER_DEFAULT_PROPERTIES PC_PRINTER_OPEN
PC_PRINTER_INFO PC_PRINTER_WRITE
PC_PRINTER_CONTROL PC_PRINTER_CLOSE
PC_PRINT_FILE
PCPrinterDefaultProperties - This sample is a more indepth look at the PC_PRINTER_DEFAULT_PROPERTIES library call. Covered in this sample;
o How to change the number of copies of printed material
o How to change the orientation of printed material
o How to change/adjust the quality/resolution of printed material
o How to select a specific papersize
PCPrinterRedirection - This sample demonstrate how you can set and manipulate fonts on the printer while using standard COBOL OPEN OUTPUT syntax and the ASSIGN TO PRINTER clause.
SOURCE FILES:
=========
Program Files Description
------------------------------------- -----------------------------------------------------------
PCPrintreIntro.cbl Demo program found in the PCPrinterIntro folder
PCPrinterDefault.cbl Demo program found in the PCPrinterDefault folder PCPrinterDefaultProperties.cbl
Demo program found in the PCPrinterDefaultProperties folder PCPrinterRedirection.cbl
Demo program found in the PCPrinterRedirection folder
Other
----------------------- -----------------------------------------------------------
merantlogo.bmp
BMP file used with the various demo programs
REQUIREMENTS:
==========
No special requirements are neccessary to use these samples other than to have access to a printer.
NOTE:
====
These samples were tested on a Windows NT v4.0 service pack 6.0a connected to an HP Laser Jet 5Si printer. Please make the neccessary changes to the sample programs to adapt them to your environment.
==========================================================
Keywords: demonstration, sample, example, demo, pcprintercalls.zip
demo.ex
demo.me
demo.ne



