Op Sat, 7 Jul 2007, schreef Irawan Tanudirdjo:

> Dear all,
> 
> Anyone has a link/tutorial/anything that can helps
> explain how to deal with dot matrix printer using FPC
> in Windows box?
> 
> I've been trying searching in the net, usually the
> printer programming stuff consist of using canvas, bla
> bla bla, and when I try those codes, they produce a
> graphical version of the text, what I really need is
> how to print a "text only version" of the text I sent
> to the printer (much like the old DOS era), so the
> printer can print faster
> 
> Thanks for any help that you can point me to.
> Irawan T.

Do it just like in Turbo Pascal:

program printing;

uses printer;

begin
  writeln(lst,'Hello World on the printer.');
  write(lst,#12); {Form feed.}
end.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to