| |
   
Morovia.com Home | Fonts | Components | Labeling | Library | Order | Forum
  Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
Barcode ActiveX Control
 Community Forum : Barcode ActiveX Control
Subject Topic: Printing Barcode Image Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
klech
Newbie
Newbie


Joined: September 15 2004
Location: United States
Posts: 3
Posted: September 15 2004 at 11:10pm | IP Logged Quote klech

I'm trying to get an image of my barcode to print using a 3rd party printing tool, but with no luck.  I checked out the VB example and printing from here using the native Printer object works as expected, but I cannot get it to work using this other print component.  I've tried a few things, including loading the barcode image into a picturebox as an intermediate step, but can't get this to work either...  All the aforementioned objects use an IPictureDisp object, so i really don't understand why it's not working.. any help greatly appreciated
Back to Top View klech's Profile Search for other posts by klech
 
benz
Admin Group
Admin Group
Avatar

Joined: January 26 2004
Location: Canada
Posts: 4
Posted: September 16 2004 at 1:11pm | IP Logged Quote benz

If you must use this third party printer object, you may try to call ExportImage to export the image into a disk file (BMP, JPEG). Then print the image file using the third party printer object. Without knowing what the third party component is we can not figure out where the problem is.

Back to Top View benz's Profile Search for other posts by benz Visit benz's Homepage
 
klech
Newbie
Newbie


Joined: September 15 2004
Location: United States
Posts: 3
Posted: September 16 2004 at 11:51pm | IP Logged Quote klech

At first, my concern was with the third party print component, but I cannot event get the barcode image to load in a PictureBox.  For example, the following code does not do anything:

Picture1.AutoRedraw = True
Set Picture1.Picture = MrvBarcode1.Picture
Picture1.Refresh

I'm not sure why this doesn't work, as both the PictureBox  and the Barcode objects' Picture property are IPictureDisp objects

Back to Top View klech's Profile Search for other posts by klech
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.3281 seconds.