Barcode Fonts, Components, ActiveX and .NET Windows Forms Controls, Java Servlets, 
DLLs and Barcode Scanners., Inc., Computers Hardware, Software & Services, Tampa, FL View your cart in the IDAutomation Store    

Barcode Prints much larger from Production

The barcode is much larger when printed from the production machine, but prints correctly when printed from the developer machine. This issue is applicable to IDAutomation Windows Forms Barcode Components.


Possible Solution:
  1. Make sure the default printer on both machines is set to the same printer.
  2. Ensure that the production machine has a default printer assigned to it.
  3. Make sure the image is set to IndependentEMF instead of PictureBox.

    Example VB .NET Source Code:

    '*** Print Bar Code ***
    Dim myBarCode As IDAutomation.Windows.Forms.LinearBarCode.Barcode = New IDAutomation.Windows.Forms.LinearBarCode.Barcode()
    Dim myImage As System.Drawing.Imaging.Metafile
    myBarCode.DataToEncode = InvoiceNumber
    myBarCode.Text = InvoiceNumber
    myImage = myBarCode.IndependentEMF
    ev.Graphics.DrawImage(myImage, center - 100, yPos)
    myImage = Nothing
 ©Copyright 2018, All Rights Reserved. Legal Notices.

 Barcode Fonts | Components | Scanners | Support | Contact Us

Training Videos on YouTube  Join us on Google Plus  Join us on LinkedIn  Follow us on Twitter  Like us on Facebook
Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.