This was DOS. In Windows, try this instead. OUTPUT tempfile.txt SET LINES 0 LIST <tablename> SET LINES 20 OUTPUT SCREEN PRNSETUP OUTPUT PRINTER TYPE tempfile.txt OUTPUT SCREEN
[EMAIL PROTECTED] wrote: > > >Albert: > >Was this in DOS or in Windows? �The reason I ask is that I >thought that the LPT1 part would be ignored in Windows, that >it goes to the current printer no matter what you say. > > > > >OUTPUT tempfile.txt >SET LINES 0 >LIST <tablename> >SET LINES 20 >OUTPUT LPT1 >TYPE tempfile.txt >NEWPAGE >OUTPUT SCREEN > > > > >Jim: > >Well, yes and no. �If I do a prnsetup and choose the local >printer, then nothing comes out. �If I do a prnsetup and >choose a remote network printer, then it comes out. �And >remember that if I choose the local printer and print an >RBase report it does work, just not if I type a file. > > >>So.. your saying if you do a prnsetup and then >>have the user type the commands >>output printer >>type &vfilename >>output screen >>This works.. > > > >Karen > > -- Albert Berry Full Time Consultant to PSD Solutions 350 West Hubbard, Suite 210 Chicago, IL 60610 312-828-9253 Ext. 32 __________________________________________________________________ Try AOL and get 1045 hours FREE for 45 days! http://free.aol.com/tryaolfree/index.adp?375380 Get AOL Instant Messenger 5.1 for FREE! Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promos=380455

