phpDocumentor Aprint
[ Back ] [ class tree: Aprint ] [ index: Aprint ] [ all elements ]

Source for file psprint_test2.php

Documentation is available at psprint_test2.php

  1. <?
  2. /*
  3. * Psprint test module
  4. * This test write so many row to fill one page and to skip to the second one
  5. * $Header: d:\cvs/classistd/aprint/psprint_test2.php,v 1.2 2005/02/13 20:29:29 Darvin Exp $
  6. */
  7. require_once('psprint.php');
  8. $p=new psprint("test_2","aprint_test1.php-2.1.0");
  9. $p->SetPageSize('A4',AP_PORTRAIT);
  10. $p->OpenFileName('test2.ps');
  11. $p->SetMargin(2880,1400,1200);
  12. $p->HeaderText("test_2");
  13. for($i=0;$i<50;$i++)
  14. $p->Text("row:".$i);
  15. $p->run();
  16. ?>

Documentation generated on Sun, 13 Feb 2005 22:02:57 +0100 by phpDocumentor 1.3.0RC3