Rotation Barcode In Bartender Using Vb Script S’abonner

0
Avatar
Legacy Poster

Hi there.

 

I would like to know if there is way to produce barcode that 45 degree rotate in Bartender using VB script?

 

Any help would be appreciated.

 

Thanks.

 

8 commentaires

0
Avatar
Ian Cummings
Modérateur
Actions pour les commentaires Permalien

Device barcodes are only supported in BarTender at 90º rotations.  If you wish to print at a different angle than this then you'll need to change the "Print Method" of the barcode to be controlled by BarTender, meaning that BarTender will render the barcode at print time with graphic data.  You'll then be able to adjust the angle of the barcode to be whatever you want.

 

You can dynamically rotate any label design object using the Format.Object().RotationAngle property via a document level VB script.

 

Example:

 

Format.Object("Barcode 1").RotationAngle = 45
 
See the below white paper for more details:
 
0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Hi Ian C,

 

Thanks for the reply. I had tried the script, but it seemed that the barcode object didn't have or support the rotation angle function and it returns error.

 

I'm using Bartender 10.1 Automation Enterprise Edition

0
Avatar
Fernando Ramos Miracle
Modérateur
Actions pour les commentaires Permalien

Hello tbzserge,

 

Are you using a document level VB script? Note that only using this sort of VB script will you be able to change the properties of label objects. You can access this VB script from the "File>BarTender Document Options..." dialog under the "VB Scripting" tab.

 

Regards.

0
Avatar
Shotaro Ito
Actions pour les commentaires Permalien

It looks like BarTender's barcode only rotates by 90 deg.

BarTender 10.1 has circular barcode - perhaps you can cheat your scanner with quite big diameter and narrow angle.

 

 

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Hi Shotaro,
 
How's about rotation for data matrix code? I can do for the 1D barcode currently.

 

I would like to put a 2D barcode inside my template attached.

 

Thanks.

 

 

 

0
Avatar
Shotaro Ito
Actions pour les commentaires Permalien

No - There's no circular barcode for DataMatrix, it only be rotated by 90 deg. I would place the 2D code in right angle then place other rotatable objects.

0
Avatar
Legacy Poster
Actions pour les commentaires Permalien

Hi,

 

i have the same problem. We need to rotate a code 128 for 30°.

We tried the workarround with VB script. But we can't change the print method (to render the barcode as image while printing), because we need to save these labels as pdf to import them into our RIP.

So is there absolutely no solution to rotate the barcodes?

We must print more then ten thousand labels. ie a manual solution precipitates.

0
Avatar
Shotaro Ito
Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.