Path: utzoo!attcan!uunet!midway!ncar!elroy.jpl.nasa.gov!usc!julius.cs.uiuc.edu!psuvax1!rutgers!news-server.csri.toronto.edu!helios.physics.utoronto.ca!ists!yunexus!rreiner From: rreiner@yunexus.YorkU.CA (Richard Reiner) Newsgroups: comp.os.msdos.apps Subject: Re: DBASE refuses to send CHR(0) to printer. Message-ID: <16436@yunexus.YorkU.CA> Date: 20 Oct 90 14:59:49 GMT References: <2292@wn1.sci.kun.nl> <271@sc2a.unige.ch> Distribution: comp Organization: York U. Computing Services Lines: 12 fisher@sc2a.unige.ch (Markus Fischer) writes: >In article <2292@wn1.sci.kun.nl>, vlsi3@erato.cs.kun.nl (vlsi cursus) writes: >> SET PRINT ON >> ?? ....+CHR(0)+.. >> SET PRINT OFF >One way around this would be to use an external program to send the null >character, or even better, any control code to the printer. Example (TC): If you're really using dB3, you may be stuck with this solution; if you're using Clipper, however, you can just write a little C routine which dumps data to the printer and link it in. No need for a spawn (or RUN, in dB3-speak) every time you want to initialize the printer.