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

string, substring, setprintername, jobname, diskonline, setdostart

Page 40 highlights

setprintername string setprintername - The setprinter operator sets the printer name to a given string. printername string printername substring The printername operator stores the printer name in a given string (with all the previous values overwritten), and returns a substring corresponding to the actual printer name. jobname - jobname string The jobname operator returns the current job name as a string. diskonline - diskonline bool The diskonline operator returns the state of the currently-selected writing destination as a boolean value. bool = true Indicates the writeable device is available bool = false Indicates the writeable device is not available setdostartpage bool setdostartpage - The setdostartpage operator specifies whether a startup page is printed or not. bool = true A startup page is printed bool = false A startup page is not printed dostartpage - dostartpage bool The dostartpage operator returns a boolean value indicating whether a startup page is to be printed or not. bool = true A startup page is printed bool = false A startup page is not printed 36 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

36
Chapter 3: Technical Reference
setprintername
string
setprintername
The setprinter operator sets the printer name to a given string.
printername
string
printername
substring
The printername operator stores the printer name in a given string
(with all the previous values overwritten), and returns a substring
corresponding to the actual printer name.
jobname
jobname
string
The jobname operator returns the current job name as a string.
diskonline
diskonline
bool
The diskonline operator returns the state of the currently-selected
writing destination as a boolean value.
bool = true
Indicates the writeable device is available
bool = false
Indicates the writeable device is not available
setdostartpage
bool
setdostartpage
The setdostartpage operator specifies whether a startup page is
printed or not.
bool = true
A startup page is printed
bool = false
A startup page is not printed
dostartpage
dostartpage
bool
The dostartpage operator returns a boolean value indicating whether
a startup page is to be printed or not.
bool = true
A startup page is printed
bool = false
A startup page is not printed