TfrxDMPCommand Object
I installed Fast-Report Studio trial version.
I am trying it on Dot Matrix Printer from my VB6 application.
But I am not getting TfrxDMP object.
It is required for sending printer codes to printer for setting page size etc.
How to get this object?
Radhesham
I am trying it on Dot Matrix Printer from my VB6 application.
But I am not getting TfrxDMP object.
It is required for sending printer codes to printer for setting page size etc.
How to get this object?
Radhesham
Comments
I placed this object on page. (It is a dot matrix report)
Now I want to specify page length in lines.
so in command properties of this object, I specified
Chr(27) + "C" +Chr(36)
and expecting that it will set the page lenth as 36 lines.
When I tried to print, it flashes an error
$Ch is not integer value
How to specify such commands?
printer manual says that escape sequence + upper C + chr of number lines must be sent to printer.
If you create a DotMatrix report then PageHeight and PageWidth properties of TfrxDMPPage object describes the page size in characters. So, you don't need send Esc sequences directly to the printer.