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

Comments

  • edited 3:43PM
    I could locate this object on designer.
    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.
  • edited 3:43PM
    hirasoft wrote: »
    I could locate this object on designer.
    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.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.