A4 Page Product LABELs

Xbase++ 2.0 Build 554 or later
Post Reply
Message
Author
ampandya
Posts: 58
Joined: Tue Apr 19, 2016 4:48 am

A4 Page Product LABELs

#1 Post 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
Attachments
20171007_121608.jpg
20171007_121608.jpg (241.13 KiB) Viewed 43699 times

User avatar
unixkd
Posts: 575
Joined: Thu Feb 11, 2010 1:39 pm

Re: A4 Page Product LABELs

#2 Post 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 951 times

ampandya
Posts: 58
Joined: Tue Apr 19, 2016 4:48 am

Re: A4 Page Product LABELs

#3 Post 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

User avatar
unixkd
Posts: 575
Joined: Thu Feb 11, 2010 1:39 pm

Re: A4 Page Product LABELs

#4 Post 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.

ampandya
Posts: 58
Joined: Tue Apr 19, 2016 4:48 am

Re: A4 Page Product LABELs

#5 Post by ampandya »

HI

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

Many Thanks

skiman
Posts: 1196
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: A4 Page Product LABELs

#6 Post 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.
Best regards,

Chris.
www.aboservice.be

User avatar
Tom
Posts: 1206
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: A4 Page Product LABELs

#7 Post 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.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

Post Reply