ReportBuilder 10.08: TppLabel with font color other than clBlack will not print on dot matrix printe
Hi,
I am using Delphi 2007 and trying Report Builder 10.08.
I have a TppLabel control on the report template. I set the font color
to clBlue and try to print it on black and white dot-matrix printer
(e.g.: Panasonic KX-1121). However, nothing show out. If I set the
font color to clBlack then it will print out. This problem doesn't
happen to previous ReportBuilder version. This problem also doesn't
happen to laser printer.
My sample report template is as follow:
object ppReport1: TppReport
PrinterSetup.BinName = 'Default'
PrinterSetup.DocumentName = 'Report'
PrinterSetup.PaperName = 'Letter'
PrinterSetup.PrinterName = 'Default'
PrinterSetup.mmMarginBottom = 6350
PrinterSetup.mmMarginLeft = 6350
PrinterSetup.mmMarginRight = 6350
PrinterSetup.mmMarginTop = 6350
PrinterSetup.mmPaperHeight = 279401
PrinterSetup.mmPaperWidth = 215900
PrinterSetup.PaperSize = 1
Template.FileName = 'C:\test.rtm'
Template.Format = ftASCII
DeviceType = 'Screen'
EmailSettings.ReportFormat = 'PDF'
OutlineSettings.CreateNode = True
OutlineSettings.CreatePageNodes = True
OutlineSettings.Enabled = True
OutlineSettings.Visible = True
TextSearchSettings.DefaultString = ''
TextSearchSettings.Enabled = True
Left = 200
Top = 144
Version = '10.08'
mmColumnWidth = 0
object ppDetailBand1: TppDetailBand
mmBottomOffset = 0
mmHeight = 13229
mmPrintPosition = 0
object ppLabel1: TppLabel
UserName = 'Label1'
Border.BorderPositions = []
Border.Color = clBlack
Border.Style = psSolid
Border.Visible = False
Caption = 'Label1'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Name = 'Tahoma'
Font.Size = 18
Font.Style = []
Transparent = True
mmHeight = 7662
mmLeft = 10583
mmTop = 2646
mmWidth = 18288
BandType = 4
end
end
object ppParameterList1: TppParameterList
end
end
--
Best regards,
Chau Chee Yang
E Stream Software Sdn Bhd
URL: www.sql.com.my
SQL Financial Accounting
I am using Delphi 2007 and trying Report Builder 10.08.
I have a TppLabel control on the report template. I set the font color
to clBlue and try to print it on black and white dot-matrix printer
(e.g.: Panasonic KX-1121). However, nothing show out. If I set the
font color to clBlack then it will print out. This problem doesn't
happen to previous ReportBuilder version. This problem also doesn't
happen to laser printer.
My sample report template is as follow:
object ppReport1: TppReport
PrinterSetup.BinName = 'Default'
PrinterSetup.DocumentName = 'Report'
PrinterSetup.PaperName = 'Letter'
PrinterSetup.PrinterName = 'Default'
PrinterSetup.mmMarginBottom = 6350
PrinterSetup.mmMarginLeft = 6350
PrinterSetup.mmMarginRight = 6350
PrinterSetup.mmMarginTop = 6350
PrinterSetup.mmPaperHeight = 279401
PrinterSetup.mmPaperWidth = 215900
PrinterSetup.PaperSize = 1
Template.FileName = 'C:\test.rtm'
Template.Format = ftASCII
DeviceType = 'Screen'
EmailSettings.ReportFormat = 'PDF'
OutlineSettings.CreateNode = True
OutlineSettings.CreatePageNodes = True
OutlineSettings.Enabled = True
OutlineSettings.Visible = True
TextSearchSettings.DefaultString = ''
TextSearchSettings.Enabled = True
Left = 200
Top = 144
Version = '10.08'
mmColumnWidth = 0
object ppDetailBand1: TppDetailBand
mmBottomOffset = 0
mmHeight = 13229
mmPrintPosition = 0
object ppLabel1: TppLabel
UserName = 'Label1'
Border.BorderPositions = []
Border.Color = clBlack
Border.Style = psSolid
Border.Visible = False
Caption = 'Label1'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Name = 'Tahoma'
Font.Size = 18
Font.Style = []
Transparent = True
mmHeight = 7662
mmLeft = 10583
mmTop = 2646
mmWidth = 18288
BandType = 4
end
end
object ppParameterList1: TppParameterList
end
end
--
Best regards,
Chau Chee Yang
E Stream Software Sdn Bhd
URL: www.sql.com.my
SQL Financial Accounting
This discussion has been closed.
Comments
For this case, you will need to set the TppReport.PrinterSetup.CanGrayScale
property to False when using a black and white printer.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com