A medication dispensing system includes a portable securable container, and a mechanism for dispensing a dosage of solid medication. A Java console accesses a web based adapter routine to implement a set of Java based APIs to perform CIM operations. The operating system, application or generic graphics environment program interface, queries the printer driver for the types of image compression formats supported by the printer. The method includes calculating a jitter value as a smoothed version of two or more inter-arrival times, smoothed over a predetermined number of pairs of consecutive packets. The system also provides a system with the ability to recover 64B66B Encoded blocks that have corrupt Sync bits. The lasers are tuned to different frequencies and a phase modulator in the path of one laser beam allows the constructive or destructive interference of the signals on the detector as the laser beams are swept in frequency to be adjusted to achieve greater resolution in one or more selected frequency bands.