Label printing

edited 10:20AM in FastReport 2.xx VCL
I have a report that outputs to a Seiko SLP 200 - however every time I run the report I have to select the printer, go to properties, advanced and change to the correct label - is there a way to accomplish this in code?

Thanks

Comments

  • edited 10:20AM
    Try setting the page size of the report at runtime.
    frReport1.Pages.Pages.pgSize := (windows page size number)
    
  • gordkgordk St.Catherines On. Canada.
    edited 10:20AM
    hi In design mode go to files-reportoptions if the printer is available in the window
    select the printer and check the select when loaded option.
    regards ;)
  • edited 10:20AM
    gordk wrote:
    hi In design mode go to files-reportoptions if the printer is available in the window
    select the printer and check the select when loaded option.
    regards ;)
    Thanks - that did it! - combined with the file / page options for the paper size.

    Out of interest - is the printer selection saved by name or Printer Index? - it has ramifications for deployment at a client site.
  • gordkgordk St.Catherines On. Canada.
    edited 10:20AM
    hi
    IIRC it saves the name and when report is loaded it searches the available printerlist for an index pos that has a match.
    regards ;)

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.