Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Barcode printing component

Forum

Search UsersRules
Barcode printing component
#1
Active user
Points:: 0
Joined:: Mar 20, 2012

Hello.

Where can I find documentation to barcode printing native component?

Profile
#2
Guest
Points::
Joined::

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

Profile
#3
Active user
Points:: 0
Joined:: Mar 20, 2012

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;

Profile
#4
Guest
Points::
Joined::

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.

Profile
#5
Interested
Points:: 0
Joined:: Apr 5, 2012

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.

Profile
#6
Guest
Points::
Joined::

The correct name of this method is

Code
FontAt()

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



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.