From: "Robert Cerny" Subject: Re: Configuration Parallel Port in Delphi Pascal Date: 30 Mar 1999 00:00:00 GMT Message-ID: References: <7doinr$ff$1@trex.antw.online.be> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: SiOL NNTP-Posting-Date: Tue, 30 Mar 1999 22:10:00 MET DST Newsgroups: alt.comp.lang.borland-delphi If you just want to write it (print something in text mode) just use AssignFile with port name: var Lst : system.text; begin AssignFile(Lst, 'LPT1'); {or LPT2 or COM1 for serial printer} Rewrite(Lst); {open it} writeln(Lst,' Some stuff'); Close(Lst); {flush it} end; If the printer is not ready/present/any error, write statement will raise an exception in $I+ state, in $I- state check the IOResult variable. -- ---------------------- Regards Robert Cerny Remove both qwe when replying email: robert.qwe.cerny@neosys.xrs.qwe.si No questions via email, unless explicitly invited. olx05125 wrote in message <7doinr$ff$1@trex.antw.online.be>... >Which is the command to configure the parallel port in Delphi Pascal 3.0. >The os we use is WINDOWS 98. >We don't want to use the CANVAS for the printer. > >Thx. > >Guidodehaemers@hotmail.com