Re: Can ReportWriter produce 0x00?

From: Mike J Cox <mike_at_kane.demon.co.uk>
Date: 1995/06/20
Message-ID: <561315697wnr_at_kane.demon.co.uk>#1/1


>
> I have a problem with SQL*ReportWriter v1.1.14.16 on VAX/VMS machine.
> I need bar code on form and the printer (OKI microline 395)
> makes it possible with suitable escape-sequences, BUT
> ReportWriter does not make binary null (0x00)to output-file, instead ordinary
> space (0x20). I'm using char(0) for null. Other binary characters works fine.
> Is there a magic word I don't know? Is it possible to make null-chars?
>
> --

Pekka,

NO !

We had exactly the same problem about 2 years ago, what we ended up doing was replacing the occurences of the 0 with an special character that we knew we would never print. We then wrote a little 'c' program to read the file in and replace the special character with 0.

I dare say one can do this in unix using sed, my dcl is a bit rusty.

Sorry its not a very flash solution but it works.

Mike

-- 
******************************************************************************
Michael Cox          Input Technolgies Ltd
Email                mike_at_kane.demon.co.uk
Compuserve           100045.1715_at_compuserve.com
******************************************************************************
Received on Tue Jun 20 1995 - 00:00:00 CEST

Original text of this message