Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Lost Spaces

edited February 2002 in General
Hi,

We are using Delphi 5 Enterprise and ReportBuilder. We have a report that
prints a string of text that contains spaces. It prints normally on our HP
LaserJet 5, but when we send it to the HP LaserJet 4, the string of text
becomes unreadable because it loses the spaces - just jams all characters
together.

Anyone know of a way to "force" both printers to "see" our space character
in the TppDBEdit string?

R

Comments

  • edited February 2002
    I would expect the HP LJ 4 driver to work pretty well. You could try
    installing the HP LJ 5 driver on both printers to test if the driver is
    causing the problem. Can you try placing the spacing on the text that is
    going to be printed in the DBTexts? How exactly are you adding the spaces-
    in individual labels or is it embedded in the string data field? What
    happens when you print a DBMemo control with text and spaces in it? What is
    the space character you are using?

    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited February 2002
    The spaces are embedded in a string that is displayed in a DBText field.
    Nothing special about the space character, just the character that gets
    generated when the user presses the space bar.

    FWIW - The LaserJet 4 is a 4P.

  • edited March 2002
    We've never heard of this problem. Go to HP's website and download the
    latest printer driver for the Laserjet 4. If you create a report with just
    a label in it with a caption that is 'Hello World,' does it print
    'HelloWorld' or 'Hello World?'


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.