Kpdl Operators; Communication With The Printing System - Kyocera Ci1000 Technical Reference Manual

Prescribe commands technical reference manual - rev. 4.7
Hide thumbs Also See for Ci1000:
Table of Contents

Advertisement

KPDL Operators

Communication with the Printing System

This section describes the machine-independent part of KPDL, Kyocera's implementa-
tion of the PostScript command language. KPDL deployed in the printing system encom-
passes the features of LanguageLevel 3 of the PostScript command language.
The KPDL operators described in this section can be used for confirming and changing
the printing system's internal settings. Most of the operators in this section are paired:
one operator for setting an environmental parameter, and another operator for confirming
the setting. The setting operator starts with the letters set. The confirmation operator has
the same name, but without the initial set.
The operations described below are performed by sending KPDL operators to the print-
ing system in the KPDL mode. KPDL operators can be sent either by file transfer, or
interactively using communications software. This section explains both methods. As an
example, it uses the KPDL operator that sets the printing system to print a simple graph-
ics sample as shown in Figure 7. 44. on page 116.
Example:
Operators to draw a text and an enclosing box. Note that, in KPDL mode, unit for dis-
1
tances is
/
inches.
72
!R! SEM 9; EXIT;
%!
3 setlinewidth
30 30 moveto
0 60 rlineto
225 0 rlineto
0 -60 rlineto
closepath
gsave
0.6 setgray
fill
grestore
0 setgray
stroke
1 setgray
/Helvetica-Nr 30 selectfont % Select and scale to 30 points
50 50 moveto
(Have a nice day!) show
showpage
^D
The initial SEM 9; ensures that the printing system is in the KPDL mode. If the printing
system is already in the KPDL mode, SEM 9; is ignored. The percent signs (%) and the
words to the right are comments. Comments are included only to explain the operators,
and can be omitted when typing operators.
Try using one of the methods explained on the following page to enable delivery of the
result of the above example. The print result appears as shown in Figure 7. 44. on page
116.
% Enter KPDL mode
% Set line width to 3
% Move to (30 30)
% Draw line 60 above
% Draw line 225 to the right
% Draw line 60 below
% Close the above path
% Save current graphics state
% Set gray level to 0.6
% Fill the path with gray
% Restore saved graphics state
% Set gray level to 0
% Stroke the path
% Set gray level to solid black
% Move to (100 100)
% Print the string
% Print the above on page
% End of job (control-D)
KPDL Operators
7-115

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ci1100Dp-1800Dp-1400Dp-2800Dp-3600F-1000 ... Show all

Table of Contents