ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/print1a.htm

108 lines
9.1 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>General Print APIs</title>
<!-- Begin Header Records ========================================= -->
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!-- Print SCRIPT A converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
<!-- at RCHVMW2 on 17 Feb 1999 at 11:05:09 -->
<!-- File restructured for V5R2 -->
<!-- 030509 JETAYLOR replaced API and Exit listings with -->
<!-- pagegenerator output from javascript array -->
<!-- 031111 JETAYLOR replaced API and/or Exit listings with -->
<!-- pagegenerator output from javascript array -->
<!-- End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<!-- Java sync-link -->
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
</script>
<h2>General Print APIs</h2>
<p>General print APIs can obtain information about or perform printing activities on
the system. They can:</p>
<ul>
<li>Retrieve output queue information such as status and number of entries on
the queue.</li>
<li>Retrieve information about specific printer writers.</li>
<li>Transform data streams from one type to another.</li>
</ul>
<p>The general print APIs are:</p>
<!-- ***** NOTE ***** Do not manually update text or links in this section. -->
<!-- Updates made in this section *will* be overlaid by automated tools -->
<!-- Notify User Technologies of needed updates to be made in XML for API finder.-->
<!--***************API BEGIN PASTE***************-->
<ul>
<li><A HREF="qpqapme.htm">Add PDF Map Entry</A> (QPQAPME) allows you to add an entry to a PDF map object.</li>
<li><A HREF="QSPBOPNC.htm">Build Open Time Commands</A> (QSPBOPNC) uses the attributes of the spooled file to build commands that must be sent ahead of the data to prepare the printer to print the spooled file. These commands are referred to as open time commands. The open time commands contain most of the file level commands needed to format the printed output.</li>
<li><A HREF="QSPBSEPP.htm">Build Separator Pages</A> (QSPBSEPP) builds the system separator page to be printed for the spooled file. A user exit program is called to build the separator page or the system default is used. The separator page is returned in the receiver variable parameter. This data can then be sent to the printer.</li>
<li><A HREF="QSPCHGOQ.htm">Change Output Queue</A> (QSPCHGOQ) changes the attributes of the output queue specified.</li>
<li><A HREF="QIMGCVTI.htm">Convert Image</A> (QIMGCVTI, QimgCvtImg) converts an image or print data stream from one format to another, and optionally prints the result.</li>
<li><A HREF="QGSCPYRS.htm">Copy AFPDS Resources</A> (QGSCPYRS) puts an AFPDS data stream equivalent of the specified AFPDS resource into the specified user space.</li>
<li><A HREF="qpqcrtpm.htm">Create PDF Map</A> (QPQCRTPM) allows you to create a PDF map.</li>
<li><A HREF="qpqdltpm.htm">Delete PDF Map Object</A> (QPQDLTPM) allows you to delete a PDF map object.</li>
<li><A HREF="QSPEXTWI.htm">Extract Writer Status</A> (QSPEXTWI) is used by a driver program to access information about the writer, the spooled file the writer is processing, and to determine if the information for the spooled file has been changed. A call to this API should be made by a driver program after each buffer is sent to the printer.</li>
<li><A HREF="QWPZHPTR.htm">Host Print Transform</A> (QWPZHPTR, QwpzHostPrintTransform) provides an interface to the Host Print Transform function. The Host Print Transform function transforms SCS or AFP data to ASCII data.</li>
<li><A HREF="qgyolafp.htm">Open List of AFP Information</A> (QGYOLAFP) lists entries from a font mapping table or list font character set or code page information from a coded font and places the list in a receiver variable.</li>
<li><A HREF="qpqolpm.htm">Open List of PDF Map Information</A> (QPQOLPM) allows you to obtain a list of entries within a PDF map object.</li>
<li><A HREF="QGYRPRTL.htm">Open List of Printers</A> (QGYRPRTL) generates a list of printers on the system. Information about each printer is included with the list.</li>
<li><A HREF="qsppubpi.htm">Publish Print Information</A> (QSPPUBPI) collects print object information and queues it for publishing in an LDAP directory.</li>
<li><A HREF="qpqrpme.htm">Remove PDF Map Object Entries</A> (QPQRPME) allows you to remove PDF map entries.</li>
<li><A HREF="qpqrafpi.htm">Retrieve AFP Information</A> (QPQRAFPI) returns specific information about a PSF configuration object, a font table, or a coded font.</li>
<li><A HREF="QSPROUTQ.htm">Retrieve Output Queue Information</A> (QSPROUTQ) retrieves information associated with the specified output queue. Information returned includes the parameters used to create the queue, the current status of the queue, and the number of entries on the queue.</li>
<li><A HREF="QGYRPRTA.htm">Retrieve Printer Attributes</A> (QGYRPRTA) retrieves attributes about a specific printer device.</li>
<li><A HREF="QSPRWTRI.htm">Retrieve Writer Information</A> (QSPRWTRI) retrieves printer writer information associated with the specified printer only when a printer writer is started to the printer. The information retrieved is similar to what can be seen when running the Work with Writer (WRKWTR) command for a particular printer writer.</li>
<li><A HREF="QSPSNDWM.htm">Send Writer Message</A> (QSPSNDWM) is used by a driver exit program to send either an informational or inquiry message to the writer's message queue.</li>
<li><A HREF="QSPSETWI.htm">Set Writer Status</A> (QSPSETWI) is used by a driver exit program to update information about a spooled file that a writer is processing. This information is used on certain spooled file displays.</li>
<li><A HREF="QWPZTAFP.htm">Transform AFP to ASCII</A> (QWPZTAFP) transforms an Advanced Function Printing data stream (AFPDS) into an ASCII data stream. This ASCII data stream can be formatted for IBM, Hewlett-Packard, or PostScript-capable printers.</li>
</ul>
<!--***************API END PASTE***************-->
<p>The general print exit programs are:</p>
<!-- ***** NOTE ***** Do not manually update text or links in this section. -->
<!-- Updates made in this section *will* be overlaid by automated tools -->
<!-- Notify User Technologies of needed updates to be made in XML for API finder.-->
<!--***************EXIT PROGRAM BEGIN PASTE***************-->
<ul>
<li><A HREF="XSPBLSEP.htm">Customized Separator Page</A> allows a user to customize the separator page preceding a spooled file. For example, an exit program can be used to create a banner-style separator page.</li>
<li><A HREF="qimgtran.htm">Image Print Transform</A> can be used to transform user ASCII data streams.</li>
<li><A HREF="xpdftransform.htm">IPDS to PDF Transform Interface</A> submits an IPDS to PDF transform when a PDF transform is requested to the QIBM_QPQ_Transform exit point and the PDFGEN parameter on the PSF configuration object has a value other than *NONE.</li>
<li><A HREF="XSPDRVXT.htm">Print Driver</A> defines how a user-defined print driver exit program must be written in order to be used with the iSeries printer writer program.</li>
<li><A HREF="xpsf400email.htm">PSF\/400 E-mail</A> allows a customer to specify a mail tag instead of a mail address in the USRDFNDTA parameter of the printer file or the DDS STRPAGGRP parameter.</li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="../rzalu/rzaludataq.htm">Spool File Creation</A> describes the layout of the message sent when using the QIBM_NOTIFY_CRTSPLF environment variable.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><img src="delta.gif" alt="Start of change" border="0"><A HREF="../rzalu/rzaludataq.htm">Spool File Ready</A> describes the layout of the message sent when the DTAQ parameter of CRTOUTQ or CHGOUTQ is used to specify a data queue.&nbsp;<img src="deltaend.gif" ALT="End of change" border="0"></li>
<li><A HREF="XSPTRNXT.htm">Writer Transform</A> describes the interface between a user-defined transform exit program (transform exit) and an iSeries printer writer (writer). A transform exit program can be enabled by an operator when a writer is started to an output queue.</li>
</ul>
<!--***************EXIT PROGRAM END PASTE***************-->
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center">
<a href="#Top_Of_Page">Top</a> |
<a href="print1.htm">Print APIs</a> |
<a href="aplist.htm">APIs by category</a></td>
</tr>
</table>
</center>
</body>
</html>