dap4/d4lib/src/main/java/dap4/dap4lib/DSPPrinter.java
public DSPPrinter
    print()
            throws DapException
    {
        DapDataset dmr = this.dsp.getDMR();
        if(this.ce == null)
            this.ce = CEConstraint.getUniversal(dmr);
        this.printer.setIndent(0);
        List<DapVariable> topvars = dmr.getTopVariables();
        for(int i = 0; i < topvars.size(); i++) {
            DapVariable top = topvars.get(i);
            List<Slice> slices = this.ce.getConstrainedSlices(top);
            if(this.ce.references(top)) {
                DataCursor data = dsp.getVariableData(top);
                printVariable(data,slices);
            }
        }
        printer.eol();
        return this;
    }
public DSPPrinter
    print()
            throws DapException
    {
        DapDataset dmr = this.dsp.getDMR();
        if(this.ce == null)
            this.ce = CEConstraint.getUniversal(dmr);
        this.printer.setIndent(0);
        List<DapVariable> topvars = dmr.getTopVariables();
        for(int i = 0; i < topvars.size(); i++) {
            DapVariable top = topvars.get(i);
            List<Slice> slices = this.ce.getConstrainedSlices(top);
            if(this.ce.references(top)) {
                DataCursor data = dsp.getVariableData(top);
                printVariable(data,slices);
            }
        }
        printer.eol();
        return this;
    }
Print data from a DSP
- optionally constrained

@throws DapException