The 1C:Enterprise developers forum

#1
People who like this: 0 Yes / 0 No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

Hello.

Where can I find documentation to barcode printing native component?

 
#2
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Mikhail.
Here are two useful topics for you:
1C Barcode printing control
Barcode Printing Component In Manager Application

 
#3
People who like this: 0 Yes / 0 No
Active user
Rating: 6
Joined: Mar 20, 2012
Company: Abaco Soluciones S.A.

Thank you. But I need the right name for method FontByIndex.
Now I've commented the part of code with this method and it seems to work, but also it seems not very correct to comment it.

This part of code is reached when 1C server is running on linux.

Code
        For Acc = 0 To ExternalComponent.NumberOfFonts -1 Do

            // Get next font, available for component

            CurrentFont = ExternalComponent.FontByIndex(Acc);

            // If font is available

            If CurrentFont <> Undefined Then

               // It'll be the font for generating bar-code

               ExternalComponent.Font = CurrentFont;

               Break;

            EndIf;

         EndDo;

 
#4
People who like this: 0 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

Hello, Mikhail!
I'm checking this out and will provide more information when it will be available.
As a quick fix, try to use Helvetica instead of Tahoma font for Linux OS.

 
#5
People who like this: 0 Yes / 0 No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Hi Mikhail Ivanenko,

Is it necessary define font exactly? In linux os and in win. font libraries are different. If it's not necessary to set font my suggestion pass over it as I do.

 
#6
People who like this: 1 Yes / 0 No
Timofey Bugaevsky
Guest

Joined:
Company:

The correct name of this method is

Code
FontAt()

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)