Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!think.com!hsdndev!husc6!unix!mxmora From: mxmora@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.programmer Subject: Re: Printing to the Printer In MicroSoft Basic Message-ID: <20410@unix.SRI.COM> Date: 25 Jan 91 23:12:54 GMT References: <1991Jan25.121622.7673@umiami.ir.miami.edu> Reply-To: mxmora@unix.UUCP (Matt Mora) Organization: SRI International, Menlo Park, CA Lines: 32 In article <1991Jan25.121622.7673@umiami.ir.miami.edu> ian@umiami.ir.miami.edu writes: >Heres a little question about Microsoft Quick Basic....Does anyone know >how make output go to the printer...or perhaps some kind of Lprint command LPRINT does send the output to the printer, could you be more specific? If you want to print a page at a time and be more Mac like, then you have to open the printer like a file and send all you output to the special window statement. For Example: OPEN "O", #1,"LPT1:PROMPT" 'Open the printer port WINDOW OUTPUT #1 'send all drawing commands to the printer ' Draw you stuff here WINDOW CLOSE 1 'Close the port CLOSE #1 'Close the file. Printing begins here >Thanx-- >Scruffy >Ian Sullivan -- ___________________________________________________________ Matthew Mora | my Mac Matt_Mora@QM.SRI.COM SRI International | my SUN mxmora@unix.sri.com ___________________________________________________________