Chapter 13— Configuration/Control Commands
142
getvar result
Returns the poll frequency in seconds.
Example
Description
Syntax
Result
setvar choices
0 through 65535. A value of 0 causes the printer to only query the
POP3 mailbox when you turn on the printer. Default = 240
Example
Description
Syntax
Result
ip.pop3.print_body
type: getvar; setvar
This parameter refers to whether the e-mail body is printed when the
e-mail is retrieved via POP3. This parameter only applies if the
ip.pop3.enable is set to on.
getvar result
Returns the POP3 print body status (on or off).
Example
Description
Syntax
Result
setvar choices
on, off. Default = off
Example
Description
Syntax
Result
ip.pop3.print_headers
Type: getvar; setvar
This parameter refers to whether the headers (From, Date, and Subject
fields) of the e-mail are to be printed. This parameter only applies if the
ip.pop3.enable is set to on.
getvar result
Returns the status of the POP3 print headers (on or off).
Example
Description
Syntax
Result
setvar choices
on, off. Default = off
Example
Description
Syntax
Result
EasyCoder PL-Series Printer Programmer's Reference Manual
Get the POP3 poll frequency (in seconds).
! U1 getvar "ip.pop3.poll"
"240"
Poll the POP3 mailbox every 4 minutes.
! U1 setvar "ip.pop3.poll" "240"
Sets the POP3 polling frequency to 240 seconds (4
minutes).
Get whether or not the printer prints the body of
e-mail retrieved via POP3.
! U1 getvar "ip.pop3.print_body"
"on"
Print the body of the e-mail retrieved via POP3.
! U1 setvar "ip.pop3.print_body" "off"
Turns off the POP3 print body parameter.
Get the POP3 print_headers value.
! U1 getvar "ip.pop3.print_headers"
"off"
Enable the POP3 print_headers.
! U1 setvar "ip.pop3.print_headers" "on"
Turns the POP3 print headers on.