Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!rice!uupsi!sunic!news.funet.fi!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi) Newsgroups: comp.lang.pascal Subject: Re: How to print with TP5.5?? Message-ID: <1991Mar8.051102.12332@uwasa.fi> Date: 8 Mar 91 05:11:02 GMT References: <9238@star.cs.vu.nl> Organization: University of Vaasa Lines: 40 In article <9238@star.cs.vu.nl> erwvegm@cs.vu.nl (Erwin van Egmond) writes: >Hi, > Is there somebody out there who can tell me how I can > check if there is a printer connected to lpt1 and ,if so, > if it's on-line when I'm using 'Turbo Pascal 5.5' on my PC ? Summary of the Functions and Procedures in the /pc/ts/tspa23##.arc Package (## = 40,50,55,60). Also see /pc/ts/tsfaq17c.arc. Functions are indicated by the ending FN, the procedures by the lack of it. : TSUNTD: (uses Dos) : LPTONLFN Get the online status of the first parallel printer : PRTONLFN Get the online status of a printer (may fail) PRTSCR Print the current screen SETPRT Set the number of default printer timeout retry times : The wares are available by anonymous ftp from garbo.uwasa.fi, Vaasa, Finland, 128.214.12.37, or by using our mail server (use the latter if, and only if you don't have anonymous ftp). If you are not familiar with anonymous ftp or mail servers, I am prepared to send prerecorded instructions on request. (If you don't get the instructions from me within a few days, it will mean that your email address cannot be reached by a simple email reply. Contact your system manager for devicing a proper mail path for you, because unless you do, you wouldn't be able to utilize the mail server anyway. If you are in North America first consider using an ftp site near you to spare the overseas load.) ................................................................... Prof. Timo Salmi Moderating at garbo.uwasa.fi anonymous ftp archives 128.214.12.37 School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun