HP d640 HP D640 High-Volume Printer - PostScript Emulation Manual, C5630-90002 - Page 32

Operators, Operators description, Notation Type, Remarks

Page 32 highlights

Operators Unless otherwise noted, PostScript emulation functions unique to this implementation are defined in statusdict. The following example shows how to use PostScript emulation commands to specify a D640 operator. In this example, the a4tray operator forces the paper tray setting to a4 and sets the image area size to a4. %!PS statusdict begin a4tray %the contents of the page end clippath stroke showpage Operators listed in this chapter, follow standard PostScript syntax: : The object the operator requires. operand1, operand2, ... operandn + operator => return1, return2, ...returnN The following object types are used for operators: Operators description Notation Type int Integer num Numeric value any proc bool string file - Optional type PostScript procedure Logical value Character string File Nil Name Remarks Integer value. Sometimes accompanied by a name to show the purpose (for example, leftmargin) Specified value. Sometimes accompanied by the name to show the purpose of use (for example, bin). Processed as an integer data type. File type character stream. Either an operand is not required, or no results are returned. PostScript name 28 Chapter 3: Technical Reference

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52

28
Chapter 3: Technical Reference
Operators
Unless otherwise noted, PostScript emulation functions unique to this
implementation are defined in statusdict.
The following example shows how to use PostScript emulation
commands to specify a D640 operator. In this example, the
a4tray
operator forces the paper tray setting to
a4
and sets the image area
size to
a4
.
%!PS
statusdict begin
a4tray
%the contents of the page
end
clippath
stroke
showpage
Operators listed in this chapter, follow standard PostScript syntax:
<operand>
: The object the operator requires.
operand1, operand2, ... operandn + operator =>
return1, return2, ...returnN
The following object types are used for operators:
Operators description
Notation Type
Remarks
int
Integer
Integer value. Sometimes accompanied by a name to
show the purpose (for example, leftmargin)
num
Numeric value
Specified value. Sometimes accompanied by the name
to show the purpose of use (for example, bin). Processed
as an integer data type.
any
Optional type
proc
PostScript procedure
bool
Logical value
string
Character string
file
File
File type character stream.
Nil
Either an operand is not required, or no results are
returned.
Name
PostScript name