Hi Mike, I use NET USE use but with the /PERSISTENT: YES setting so that I don't have to keep reissuing it. Like this: net use lpt1: \\server name\printer name <file://\\server name\printer name> /persistent:yes Also, I use OUTPUT PRINTER rather than the OUTPUT LPTx I have not had any problems, no lost jobs. I hope this helps. Regards, Dave Fitts State of Maine
________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Michael J. Sinclair Sent: Tuesday, October 13, 2009 2:57 PM To: RBASE-L Mailing List Subject: [RBASE-L] - Printing to network printers LPT1-LPT9 in Rbase for DOS vs Rbase for Windows Hi All, What is the best way to print to a network printers in Rbase for DOS and Rbase for Windows? Do both versions recognize LPT1 through LPT9? I have been using the following code with reasonable success, but I do get a few jobs that just don't print.... ZIP NET USE LPTx /delete ZIP NET USE LPTx \\servername\printequename OUTPUT LPTx WRITE 'whatever you want' OUTPUT SCREEN --or sometimes... OUTPUT LPTx COPY filename.txt LPTx OUTPUT SCREEN Adding a PAUSE FOR 2 after the ZIP NET USE COMMANDS seems to decrease the number of times that my print jobs "get lost". What is the best way to do this? Do both versions (DOS and Windows) running on Windows XP support LPT1-LPT9?? TIA! Mike

