>for some strange reason, W98 , w95, & NT all work a bit different!
>
>I use aprinters() to figure out the REAL name & port of the printer, and use the returned values to copy files, seems to work in all environments!
>
>I use this to control dot matrix ticket printers, where even a single extra linefeed or reset would be fatal !
>
>the array lets me see if the printer is local or not, and if not, I can't control the printer ! So I send a file to the remote site and let IT"S print routines handle it !
It seems my problem is reverse of yours! Copying PCL or PS files to remote ports works fine, but trying to copy to the local LPT1 is proving quite hecktic. I finally used the LPT1.DOS in the COPY FILE command, but now I get "There is not enough disk space for c:\myfolder\lpt1.dos"!!! You get rid of one error only to get a new one! I'm about to just give up on this and say "Sorry, you cannot print to your personal printer!".
What I'm trying to do is print out some documents behind a few REPORT FORM commands. I printed the Word Docs to files (both PCL and PS) and hoped that I could just copy those files to any given printer port. It works great as long as it's a remote printer.
Thanks for the info!
Steve