Re: Bizarre Printing Problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jeroen van Kalken (I_at_dont.like.spam)
Date: 10/19/04


Date: Tue, 19 Oct 2004 10:41:44 +0200

On Mon, 18 Oct 2004 20:21:01 -0700, "SlackJaw"
<SlackJaw@discussions.microsoft.com> wrote:

Its not a bug, its a feature.

the { allows you to insert unprintable characters without the use of
CHR(). Just include something like {27} in your file and it will send
an escape code.
This also means you have to preprocess the { char to {123} using
something like strtran(lcText,'{','{123}')

(Strangely it is not documented anymore in VFP8, it was in FPD/W 26)

>Hello,
>
>Really strange problem. I've been trying to send preformatted files to
>WIndows printers with a VFP8 application. I use the filetostr to load the
>file to a variable and I use the handy ??? command to send it to the printer
>bypassing the printer driver. Works great unless...
>
>The value of 123 (which is the '{' character) is stored in any of the bytes
>of the file. No kidding and no idea. Generates a syntax error.
>
>The error doesn't occur if the '}' is sent with it. Very strange and
>definitely a bug. Now I'm investiagting API calls. Any other ideas?
>
>Thanks,
>
>KV



Relevant Pages

  • Re: READ error with Gfortran
    ... This is indeed a syntax error. ... I have no idea why ifort accepts this, it's probably a bug. ... Strange about the Ifort ..hmm.. ...
    (comp.lang.fortran)
  • Re: Arabic letters separated by markup
    ... >>> I find it very strange that IE should get it right here and Mozilla ... > But I would like to know first if it is really a bug. ... letters separated by HTML markup) to render as joined or unjoined. ... I'm not trying to give IE the credit here -- they inherited Netscape ...
    (comp.text.sgml)
  • Re: :IRB Bug
    ... Maybe IRB bug!! ... SyntaxError::5: syntax error, unexpected tASSOC ...
    (comp.lang.ruby)
  • POK Flag Weirdness wth binary files
    ... This week I got bitten by something very strange. ... encryption, but when I read the key in, for some reason, the ... I have written a short script reproducing the problem (under Perl ... Is it a bug in Perl, a bug in Crypt::Rijndael, or a bug in my ...
    (comp.lang.perl)
  • Re: Pickup group fun
    ... the old "karma" that is almost a year out of date, ... was the pvp indicator malfunction that you mention. ... part of the same bug. ... Very strange... ...
    (alt.games.warcraft)