Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
Devices
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
Devicetype = dtPrinter obsolete?
rbuser
April 2003
edited April 2003
in
Devices
When did dtPrinter and dtArchive etc become 'Printer' and
'Archive' ? I wish I'd known earlier 'cos I do lots of checks to
see if a preview is actually printing (if devicetype=dtPrinter)
to generate history etc.
Comments
digitalmetaphors
April 2003
edited April 2003
It is still used. Make sure ppTypes is in your uses clause.
They should be declared like this when you look in ppTypes.pas:
{simulated enumerated types for DeviceType property}
dtArchive = 'ArchiveFile';
dtPrinter = 'Printer';
dtFile = 'TextFile';
dtTextFile = 'TextFile';
dtReportTextFile = 'ReportTextFile';
dtXHTMLFile = 'XHTMLFile';
dtScreen = 'Screen';
Cheers,
Jim Bennett
Digital Metaphors
Digital Metaphors Corporation
http://www.digital-metaphors.com
info@digital-metaphors.com
This discussion has been closed.
Comments
They should be declared like this when you look in ppTypes.pas:
{simulated enumerated types for DeviceType property}
dtArchive = 'ArchiveFile';
dtPrinter = 'Printer';
dtFile = 'TextFile';
dtTextFile = 'TextFile';
dtReportTextFile = 'ReportTextFile';
dtXHTMLFile = 'XHTMLFile';
dtScreen = 'Screen';
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com