Thx! At 9:37 AM +0100 2/11/09, Michael Van Canneyt apparently wrote: >On Tue, 10 Feb 2009, Ken G. Brown wrote: > >> I cannot seem to find the good docs for the file handling routines assign, >> rewrite and reset in the pdf's that came with fpc-2.2.2. Where might the >> best ones be? >> I have: >> User's Manual.pdf >> Units Reference Guide.pdf > >Normally, the routines are documented here.
Ah, ok, I was searching for Reset and in the Units Reference Guide it oddly comes up #23 in the list. I didn't happen to catch it that far down. This is what I was looking for. Ken G. Brown > > Programmer's Manual.pdf >> Language Reference Guide.pdf >> Free Component Library.pdf >> Compiler Switches.pdf > > Code Documented.pdf <snip> > > I've found an example of writing to a pipe using assignlst > > (f,'|/usr/bin/lpr -m'); that seems to sorta work, >> from here: <http://ubuntuforums.org/showthread.php?t=656110>, 2nd message. >> Is that a good way to do output to a printer? > >On linux/unix there is no other reliable way. > >Michael. >_______________________________________________ >fpc-pascal maillist - fpc-pascal@lists.freepascal.org >http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal