How to Get printer capabilities?
Answer / Durgesh Kumar
To get printer capabilities, you can use the TPrinter component's PrinterCapabilities property. Here's an example:
```
program PrinterCapabilitiesDemo;
{$APPTYPE DLL}
uses SysUtils, Printing;
var
P: TPrinter;
begin
P := TPrinter.Create(nil);
try
if Assigned(P) then
WriteLn(P.PrinterCapabilities)
finally
P.Free;
end;
end.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to open or create a project using the TReport component?
Why is there no automation in releasing the memory automatically during the termination of the program?
How to Propagate constraints from middle-tier to client?
How to Copy contents of a control to the clipboard?
What is the tag property useful for?
What versions of Delphi are there?
Where are the Delphi 4 InterBase Certificate Keys and IDs located?
What does memory leak show in delphi?
'Translate error, value out of bounds' error what does these errors mean?
How to get UpdateMode to work for TQuery on a SQL Server 7.0 table?
What are the Benefits of the ConstraintBroker?
How to Connect to a remote CORBA server?