Recent

Author Topic: [CLOSED] LazReport and Zebra Printers  (Read 2011 times)

magleft

  • Full Member
  • ***
  • Posts: 108
[CLOSED] LazReport and Zebra Printers
« on: April 10, 2020, 04:40:41 pm »
Hi. I want to print labes with Zebra printers. The labels size is A7 105 x 75 mm. When select the zebra printer, the choises in page options is onle U.
I try put label size, but only accepted sizes is 29 x 21.
I tried to set page size on runtime   but is error.

Code: Pascal  [Select][+][-]
  1.    
  2.    frReport2.Pages.Pages[0].ChangePaper(0,100,75,poLandscape);
  3.     frReport2.LoadFromFile(ExtractFilePath(Application.ExeName)+'Reports\80165.lrf');
  4.     frReport2.ShowReport  ;
  5.  

Then Tried  the following code. Don' t give error, but don't change page size.


 
Code: Pascal  [Select][+][-]
  1.    
  2.     frReport2.LoadFromFile(ExtractFilePath(Application.ExeName)+'Reports\80165.lrf');
  3.     frReport2.Pages.Pages[0].ChangePaper(0,100,75,poLandscape);
  4.     frReport2.ShowReport  ;
  5.  

Any idea would help. Thanks in advance
« Last Edit: April 26, 2020, 03:23:08 pm by magleft »
windows 10 64

magleft

  • Full Member
  • ***
  • Posts: 108
Re: [CLOSED] LazReport and Zebra Printers
« Reply #1 on: April 26, 2020, 03:23:57 pm »
After all, it's easier to use fortes4lazarus
windows 10 64

 

TinyPortal © 2005-2018