Problem of printing report to dot matrix printer
Hi,
Recently, I am trying to print report to a dot matrix printer. I follow the
example shown in manual of TExtraDevices:
// Specify the port to print to (LPT1, COM1, etc)
// This can also be specified in the ExtraOptions component
ExtraOptions1.DotMatrix.Port := 'LPT1';
// Optionially specify the characters and lines per inch
ExtraOptions1.DotMatrix.CharsPerInch := cs10CPI;
ExtraOptions1.DotMatrix.LinesPerInch := ls6CPI;
Rpt.AllowPrintToFile := True;
Rpt.ShowPrintDialog := False;
Rpt.DeviceType := 'PrinterFile';
Rpt.Print;
However, when I run the program, system raise exception: class EFCreateError
with message ??Cannot create file ???? ????.
What can I do to solve this problem?
I am using Report Builder version 10.02, TExtraDevices version 2.92, Delphi
7 and Windows XP.
Regards,
Queenie Kwan
Recently, I am trying to print report to a dot matrix printer. I follow the
example shown in manual of TExtraDevices:
// Specify the port to print to (LPT1, COM1, etc)
// This can also be specified in the ExtraOptions component
ExtraOptions1.DotMatrix.Port := 'LPT1';
// Optionially specify the characters and lines per inch
ExtraOptions1.DotMatrix.CharsPerInch := cs10CPI;
ExtraOptions1.DotMatrix.LinesPerInch := ls6CPI;
Rpt.AllowPrintToFile := True;
Rpt.ShowPrintDialog := False;
Rpt.DeviceType := 'PrinterFile';
Rpt.Print;
However, when I run the program, system raise exception: class EFCreateError
with message ??Cannot create file ???? ????.
What can I do to solve this problem?
I am using Report Builder version 10.02, TExtraDevices version 2.92, Delphi
7 and Windows XP.
Regards,
Queenie Kwan
This discussion has been closed.
Comments
For future reference, please enter your name in the "from" field when
posting to these newsgroups.
For a quicker response about this question, you might try contacting Waler
support directly. (support@waler.com).
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com