Printing from DSP

Author: (prettypriya)


how do i print the data from a textarea in a dsp onto the printer...Thanks in advance


  1. ... hmm .. that "feature" come with your browser:

    If you want to print a page from the DSP, then let the browser "Print" (often found in the FILE tab!)

    Its' ugly, doesn't fit to many needs and yet it works! If you want to have cleaner output from the DSP data, then you'll need to make another DSP which shows the data in the desired way.


    Author: -GHAN- (
  2. Following on from Ghan's post, you can also use CSS that will only be used when printing.

    Something like this in your head tag:

    <link rel="stylesheet" type="text/css" media="print" href="print.css" />

    In print.css you could then hide everything except the textarea that you want to print.

    This blog post goes into detail on how to create a "for print" stylesheet:




    Author: James Rodger (