~ubuntu-branches/ubuntu/feisty/fpc/feisty

« back to all changes in this revision

Viewing changes to docs/printex/printex.pp

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-01-27 20:08:50 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070127200850-9mrptaqqjsx9nwa7
Tags: 2.0.4-5
* Fixed Build-Depends.
* Add myself to Uploaders in debian/control.
* Make sure that the sources are really patched before building them.
* Build unit 'libc' on powerpc too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
program testprn;
2
 
 
3
 
uses printer;
4
 
 
5
 
var i : integer;
6
 
    f : text;
7
 
 
8
 
begin
9
 
  writeln ('Test of printer unit');
10
 
  writeln ('Writing to lst...');
11
 
  for i:=1 to 80 do writeln (lst,'This is line ',i,'.'#13);
12
 
  close (lst);
13
 
  writeln ('Done.');
14
 
  {$ifdef Unix}
15
 
  writeln ('Writing to pipe...');
16
 
  assignlst (f,'|/usr/bin/lpr -m');
17
 
  rewrite (f);
18
 
  for i:=1 to 80 do writeln (f,'This is line ',i,'.'#13);
19
 
  close (f);
20
 
  writeln ('Done.')
21
 
  {$endif}
22
 
end.
23