Chapter 13— Configuration/Control Commands
138
EasyCoder PL-Series Printer Programmer’s Reference Manual
Networking Parameters
Any changes made using the setvar command do not take effect until you
turn the printer off and on or issue the device.reset command.
card.mac_addr
Type: getvar
This parameter refers to the MAC address of the network card.
getvar result
Returns the MAC address of the printer.
Example Description
Syntax
Result
Get the MAC address.
! U1 getvar “card.mac_addr”
“00A0F83AA589”
ip.addr
Type: getvar; setvar
This parameter refers to the IP address of the printer. To change the
printer’s IP address, you must turn off DHCP.
getvar result
Returns the printer’s IP address.
Example Description
Syntax
Result
Get the current IP address
! U1 getvar “ip.addr”
“10.14.4.159”
setvar choices
Any valid IP address. Default = 0.0.0.0
Example Description
Syntax
Result
Set the IP address to 10.14.4.235.
! U1 setvar “ip.addr” “10.14.4.235”
The IP address changes to 10.14.4.235 upon turning
the printer off and on or issuing the device.reset.
ip.dhcp.enable
Type: getvar; setvar
This parameter refers to the DHCP setting. Before you can set a static IP
address, you must turn off DHCP.
getvar result
Returns the printer’s DHCP status (on or off).
Example Description
Syntax
Result
Get the DHCP setting.
! U1 getvar “ip.dhcp.enable”
“on”
setvar choices
on, off. Default = on
Example Description
Syntax
Result
Disable DHCP.
! U1 setvar “ip.dhcp.enable” “off”
The printer’s DHCP status is off upon turning the
printer off and on or issuing the device.reset.
Summary of Contents for EasyCoder PL-Series
Page 1: ...EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 4: ...iv EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 14: ...Contents xiv EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 18: ...Before You Begin xviii EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 35: ...Chapter 3 Text EasyCoder PL Series Printer Programmer s Reference Manual 17 ...
Page 44: ...Chapter 3 Text 26 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 83: ...Chapter 7 Graphics EasyCoder PL Series Printer Programmer s Reference Manual 65 Output ...
Page 84: ...Chapter 7 Graphics 66 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 100: ...Chapter 8 Advanced Commands 82 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 122: ...Chapter 10 Advanced Utilities 104 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 186: ...Appendix A Troubleshooting 168 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 190: ...Appendix B Interface Cables 172 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 200: ...Appendix D Font Information 182 EasyCoder PL Series Printer Programmer s Reference Manual ...
Page 205: ...EasyCoder PL Series Printer Programmer s Reference Manual 187 Index I ...
Page 219: ......