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

ReportBuilder 10.08: Preview and Export a Barcode 128 has different look

edited June 2008 in General
Hi,

I am using Delphi 2007 and trying ReportBuilder 10.08.

I design a Barcode label using Code 128. The barcode label look nice
when I export the report to PDF. However, if I preview the barcode
label, the looks is totally different than PDF export.

The following is a simple barcode report template I use.

Please follow these steps to reproduce my problem

1. Load the following template into TppReport
2. Preview the report and you will see the barcode label print longer
than the preset paper size.
3. Now export the report to PDF, and use Adobe reader to open the PDF
file. The looks is different.

Thank you.


TppReport Template start here:

FppReport: TppReport
PassSetting = psTwoPass
PrinterSetup.BinName = 'Default'
PrinterSetup.DocumentName = 'Report'
PrinterSetup.PaperName = 'Custom'
PrinterSetup.PrinterName = 'Default'
PrinterSetup.mmMarginBottom = 0
PrinterSetup.mmMarginLeft = 0
PrinterSetup.mmMarginRight = 0
PrinterSetup.mmMarginTop = 0
PrinterSetup.mmPaperHeight = 23000
PrinterSetup.mmPaperWidth = 43000
PrinterSetup.PaperSize = 256
Template.DatabaseSettings.DataPipeline = plReportList
Template.DatabaseSettings.Name = 'New Report'
Template.DatabaseSettings.NameField = 'ReportName'
Template.DatabaseSettings.TemplateField = 'Template'
Template.FileName = 'C:\Users\ccy\Desktop\BC10.rtm'
Template.Offset = 15
Template.Format = ftASCII
Units = utMillimeters
AllowPrintToArchive = True
AllowPrintToFile = True
DeviceType = 'Screen'
EmailSettings.ReportFormat = 'PDF'
OutlineSettings.CreateNode = True
OutlineSettings.CreatePageNodes = True
OutlineSettings.Enabled = False
OutlineSettings.Visible = False
PreviewFormSettings.WindowState = wsMaximized
PreviewFormSettings.ZoomSetting = zsPageWidth
TextSearchSettings.DefaultString = ''
TextSearchSettings.Enabled = True
Left = 53
Top = 15
Version = '10.08'
mmColumnWidth = 30300
object ppHeaderBand1: TppHeaderBand
mmBottomOffset = 0
mmHeight = 0
mmPrintPosition = 0
end
object ppDetailBand1: TppDetailBand
mmBottomOffset = 0
mmHeight = 17727
mmPrintPosition = 0
object ppBarCode1: TppBarCode
UserName = 'BarCode1'
AutoEncode = True
BarCodeType = bcCode128
BarColor = clWindowText
Border.BorderPositions = []
Border.Color = clBlack
Border.Style = psSolid
Border.Visible = False
CalcCheckDigit = False
Data = 'B002-EF-SVR'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Name = 'Arial'
Font.Size = 8
Font.Style = []
Transparent = True
mmHeight = 11642
mmLeft = 2381
mmTop = 3704
mmWidth = 28310
BandType = 4
mmBarWidth = 150
mmWideBarRatio = 2540
end
end
object ppFooterBand1: TppFooterBand
mmBottomOffset = 0
mmHeight = 0
mmPrintPosition = 0
end
end




--
Best regards,
Chau Chee Yang

E Stream Software Sdn Bhd
URL: www.sql.com.my
SQL Financial Accounting

Comments

  • edited June 2008
    Hi Chau,

    When advanced components are exported to PDF, they are first converted to a
    bitmap which causes them to loose some detail and fidelity. This is why
    they look different from the preview window/printed paper. It is on our
    todo list to research rendering these components directly to the PDF with
    the use of vector graphics for a later release of ReportBuilder.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.