Label printing

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 7:00PM
    Try setting the page size of the report at runtime.
    frReport1.Pages.Pages.pgSize := (windows page size number)
    
  • gordkgordk St.Catherines On. Canada.
    edited 7:00PM
    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 7:00PM
    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 7:00PM
    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