Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!caen!uwm.edu!ux1.cso.uiuc.edu!news.iastate.edu!sharkey!tygra!dave From: dave@tygra.Michigan.COM (David Conrad) Newsgroups: comp.lang.pascal Subject: Re: Just for kicks Message-ID: <1991May27.043317.5748@tygra.Michigan.COM> Date: 27 May 91 04:33:17 GMT References: <4cBo0AK00Vpg06BUV4@andrew.cmu.edu> Organization: CAT-TALK Conferencing System, Detroit, MI Lines: 30 In article <4cBo0AK00Vpg06BUV4@andrew.cmu.edu> mg2n+@andrew.cmu.edu (Martin G. Greenberg) writes: >Has anyone else seen/experienced this problem? > > SwapVectors; > Exec (GetEnv ('COMSPEC'), '/C COPY FONT1.FOO PRN > NUL') > SwapVectors; > >[works part of the time] > >We have yet to hear from anyone a satifactory explanation. >Can any of you make any suggestions? > > MGG Whether or not this code will succeed depends on the amount of free memory. Are you checking the DosErrorCode when you return? Perhaps some of the users are suffering from RAM-cram and DOS can't load another copy of COMMAND.COM. You could easily build the copy functionality into your application, just Use Printer and open the font file as a file of char and read through it, Write (lst,...) the whole thing. If memory isn't your problem then I must admit, I'm without a clue. -- David Conrad dave@michigan.com -- = CAT-TALK Conferencing Network, Computer Conferencing and File Archive = - 1-313-343-0800, 300/1200/2400/9600 baud, 8/N/1. New users use 'new' - = as a login id. AVAILABLE VIA PC-PURSUIT!!! (City code "MIDET") = E-MAIL Address: dave@Michigan.COM