[comp.sys.apple] GS-Basic question

bfox@pro-connection.cts.COM (System Administrator) (11/29/87)

Just received GS-Basic and have a slight problem.  While I figured out the way
to dump a listing to the printer, the .PRINTER device auto-linefeeds and so
does the setting for the printer port resulting in double-spaced output.  How
do I get the ASSIGN function to correct this?  Either post the reply to the
net or send mail to :
.....crash!pro-connection.cts.com!bfox

Thanks in advance----Barry Fox

PROLINE: pro-connection!bfox
UUCP: ......!crash!pro-connection!bfox
ARPA: crash!pro-connection!bfox@nosc.mil
INET: bfox@pro-connection.cts.com

delaney@wnre.aecl.CDN (Grant Delaney) (12/01/87)

Well here is the solution to getting the printer to single space in GSBASIC

ASSIGN .PRINTER,-1:ASSIGN .PRINTER,1

then the normal print command for listing etc advice put it in an exe file as
line 1

OPEN .PRINTER,AS #1:OUTREC=96:OUTPUT #1:LIST:OUTPUT #0:OUTREC=80:CLOSE #9

IN A PROGRAM OR EXE FILE PUT " AROUND THE .PRINTER OR IT WILL GIVE YOU A
SYNTAX ERROR