Page 1 of 1

A4 Page Product LABELs

Posted: Sat Oct 07, 2017 4:19 am
by ampandya
Hi
I want to print labels from the dbf file to A4 sheet, it has 12 labels on one sheet.
It has 21 Boxes printed on it and its the same size for all.

I have a dbf file with product information, i need to print description, price and product code on it. currently i am creating the html file using the css formating.
which, i have to change the css for every diffrent users, all the diffrent PCs have different margins.

I am thinking to use Crystal Report, has anyone got Sample for this?

please see the sample attached.

Thanks

Re: A4 Page Product LABELs

Posted: Sat Oct 07, 2017 9:12 am
by unixkd
I use FASTREPORT for all my report needs.

It is an excellent report writer. All categories of print requirements INCLUDING LABELS are covered.

Unfortunately the seller of this awesome report writer - Sergey Sprin is late and we hope that someone will take over that challenge in the near future.

Find attached some of the reports produced with is software piece.

Joe
FastReport In Action.zip
(1.58 MiB) Downloaded 841 times

Re: A4 Page Product LABELs

Posted: Sun Oct 08, 2017 10:06 am
by ampandya
Hi Thanks for this.

I have found this web site: https://www.fast-report.com/en/

Is this the one you are talking about?

Do you have any sample program to see how it works?

Many Thanks

Re: A4 Page Product LABELs

Posted: Sun Oct 08, 2017 1:25 pm
by unixkd
Yes but need adaptation because it is a VCL developed for Delphi.

FastReport VCL was adapted fully for Xbase++ by late Sergey Sprin. With few line of code - less than 20 lines in alot of cases you get a report done. All the uploaded reports took less than 8 hours. Fast report does in a lot cases 80-90% of the job.

You can generate any label report in less than 1 hour - guaranteed.

Joe.

Re: A4 Page Product LABELs

Posted: Tue Oct 17, 2017 1:33 am
by ampandya
HI

Is it possible for you to provide me some sample demo program to use fastreport?

Many Thanks

Re: A4 Page Product LABELs

Posted: Tue Oct 17, 2017 11:48 pm
by skiman
Hi,

You can do this very easily with DCPRINT ...

If you have a page with 3 x 8 labels, you can do this as follows

Code: Select all

nWidth := pagewidth / 3
nHeight := pageHeight/8

for nVertical = 0 to 7
 for nHorizontal = 0 to 3
   @ 1+ nVertical*nHeight , 1+ nHorizontal*nWidth dcprint "text" ...    -> will print on position 1,1 of each label
   @ 2+ nVertical*nHeight , 1+ nHorizontal*nWidth dcprint "text2 " ... -> will print on position 2,1 of each label
 next
next
This way you can define the layout of one label and print your entire page.

Re: A4 Page Product LABELs

Posted: Wed Oct 18, 2017 12:15 am
by Tom
Or try a modern, powerful report generator like List&Label from Combit (http://www.combit.net). Once the printing routines are implemented, everything you can imagine is just a few clicks away. And it will increase the value of your application.