Skip columns in barcode printing

Stimulsoft Reports.JS discussion
Post Reply
augustocesar
Posts: 1
Joined: Mon Jul 03, 2017 1:56 pm

Skip columns in barcode printing

Post by augustocesar »

Hi, I need to define which column to start the barcode prints from.
Example: on first print, it prints normal, on second print it will print from the third column thus jumping two barcodes.

Here is the report design, with 5 columns per row.
columnsBarcode.png
columnsBarcode.png (71.38 KiB) Viewed 2130 times
Here is how it is printed.
skipcolumns.png
skipcolumns.png (6.03 KiB) Viewed 2130 times
I need you to stay like this.
skipcolumnsneed.png
skipcolumnsneed.png (6.32 KiB) Viewed 2130 times

How can I do to stay like this?

Thanks!
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Skip columns in barcode printing

Post by HighAley »

Hello.

Unfortunately, it's impossible to do this in Reports.JS product.
It need additional scripting that is not available.

Thank you.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Skip columns in barcode printing

Post by HighAley »

Hello.

Please, try the attached report in our latest build.
The Before Print event of the Data Band is used there.

Thank you.
Attachments
Print labels with offset JS.mrt
(3.26 KiB) Downloaded 153 times
luizaugusto.sg
Posts: 3
Joined: Mon Sep 11, 2017 3:12 pm

Re: Skip columns in barcode printing

Post by luizaugusto.sg »

Hello,

Could you tell me how the Products.first() works? I wasn't able to find it on the docs.

When I try to print only one record, it shows nothing on my report, but if I try to print more than one record, it works normally.

Thanks
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Skip columns in barcode printing

Post by Alex K. »

Hello,

The method First() set position on the first record in the data source.

Thank you.
Post Reply