🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.pc
Article #6344

Re: Re: Screen control in dBaseIII (help needed)

#6344
From: Flip Phillips
Date: Thu, 24 Apr 1986 21:32
36 lines
1657 bytes
> If you have got more that 256K of RAM in your computer, you can use
> the RUN command to invoke a DOS application from withing dBase III.
> You can create a program in Pascal, C, Basic, or whatever your
> favorite language is, to send the required characters to the screen
> or printer.
> 
> For example, you could have a printer control program that sends an
> ESC-E to your printer that turns on Emphasized print.  The program
> could be a file called EMPH.COM.  The command from dBase to set
> Emphasized print on would be
> 
> 	RUN EMPH
> 
> Tom Reingold
> {seismo|ihnp4}!cmcl2!rna!rocky2!reintom

*** REPLACE THIS solution WITH YOUR solution ***

why not just:

	set device to print
	@0,0 say chr(#)+chr(#2)

where '#' is the ASCII val for whatever you want to set... 

in your case:

if you didnt want the printer head to move or the thing to feed say
	set device to print
	@prow(),pcol() say chr(23)+chr(69)

.... flip
-- 

	Flip Phillips {ucbvax,decvax}!cbosg!osu-cgrg!flip
	Computer Graphics Research Group, The Ohio State University
Technical Details
Message-ID: <648@osu-cgrg.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!cbosgd!osu-eddie!osu-cgrg!flip
References: <314@ethz.UUCP> <177@rocky2.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!cbosgd!osu-eddie!osu-cgrg!flip
From: flip@osu-cgrg.UUCP (Flip Phillips)
Newsgroups: net.micro.pc
Subject: Re: Re: Screen control in dBaseIII (help needed)
Message-ID: <648@osu-cgrg.UUCP>
Date: Thu, 24-Apr-86 17:32:56 EDT
Article-I.D.: osu-cgrg.648
Posted: Thu Apr 24 17:32:56 1986
Date-Received: Sun, 27-Apr-86 05:45:43 EDT
References: <314@ethz.UUCP> <177@rocky2.UUCP>
Organization: Computer Graphics Research Group, Ohio State University
Lines: 36