Epson Projector Control
1 Interface
Projector%
Power-Status
Projector-Aspect
projector%
new
command
get-power-status
online!
offline!
set-mute!
set-freeze!
set-aspect!
get-mute?
get-freeze?
get-aspect
send-key
6.3.90.900

Epson Projector Control

Jan Dvořák <mordae@anilinux.org>

 (require esc/vp21) package: esc-vp21

This library allows for control of Epson Projectors via TCP/IP.

1 Interface

Type of the projector% class.

Type representing power status the projector can found itself in. Equivalent to (U 'offline 'online 'warmup 'cooldown 'standby 'abnormal 'av-standby 'unknown).

Projector picture aspect mode. Equivalent to (U 'normal '4:3 '16:9 'auto 'full 'zoom 'native).

class

projector% : class?

  superclass: object%

Remotely controlled Epson projector instance.

constructor

(new projector% [host host])  (is-a?/c projector%)

  host : String
Connect to projector running on specified address or a host name passed as the host field.

method

(send a-projector command fmt arg ...)  String

  fmt : String
  arg : String
Execute raw ESC/VP21 command string composed in the same style as with the format function. Returns reply.

method

(send a-projector get-power-status)  Power-Status

Inquire about projector power status.

method

(send a-projector online!)  Void

Turn the projector on.

In takes a while for the projector to warm up. It is possible to monitor situation by polling the get-power-status method.

method

(send a-projector offline!)  Void

Shut the projector down.

Like startup, cooling down the lamp takes some time. It is possible to monitor situation by polling the get-power-status method.

method

(send a-projector set-mute! mute?)  Void

  mute? : Boolean
Enable or disable the video mute function. Basically blanks or un-blanks the projection. Muting the picture unfreezes it.

method

(send a-projector set-freeze! freeze?)  Void

  freeze? : Boolean
Freeze or unfreeze the current picture. Freezing the picture unmutes it.

method

(send a-projector set-aspect! aspect)  Void

  aspect : Projector-Aspect
Change projector picture aspect mode.

method

(send a-projector get-mute?)  Boolean

Get video mute status.

method

(send a-projector get-freeze?)  Boolean

Get picture freeze status.

method

(send a-projector get-aspect)  Projector-Aspect

Get current picture aspect mode.

method

(send a-projector send-key key)  Void

  key : Byte
Send a keycode press. Refer to manual for your projector revision to get list of valid keycodes and their meaning.