| |
   
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: Barcode Print Problem Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
breeze
Newbie
Newbie


Joined: March 28 2007
Location: Turkey
Posts: 1
Posted: March 28 2007 at 1:43am | IP Logged Quote breeze

Hi

I use morovia barcode activex demo version on vb. i have 2 pictureboxes on a form(their width and height is same and i sent picture2 back) and other controls(like labels) and 8 barcodes on picture1

before printing picture1 and barcodes i make form.visible=true and i see everything is ok. when i print form.picture and barcodes, i can print form+barcode1 but i cant print other barcodes. what is wrong?

code is like this:

 Form8.Visible = True
   DoEvents
   Form8.Picture1.SetFocus
   Form8.Picture2.AutoRedraw = True
   rv = SendMessage(Form8.Picture1.hwnd, WM_PAINT, Form8.Picture2.hDC, 0)
   rv = SendMessage(Form8.Picture1.hwnd, WM_PRINT, Form8.Picture2.hDC, _
   PRF_CHILDREN + PRF_CLIENT + PRF_OWNED)
   Form8.Picture2.Picture = Form8.Picture2.Image
   Form8.Picture2.AutoRedraw = False
    Printer.PaintPicture Form8.Picture2.Picture, 0, 0
    Printer.PaintPicture Form8.MrvBarcode1.Picture, 0, 0
    Printer.PaintPicture Form8.MrvBarcode2.Picture, 3960, 1020
    Printer.PaintPicture Form8.MrvBarcode3.Picture, 0, 3960
    Printer.PaintPicture Form8.MrvBarcode4.Picture, 3960, 4920
    Printer.PaintPicture Form8.MrvBarcode5.Picture, 0, 8040
    Printer.PaintPicture Form8.MrvBarcode6.Picture, 3960, 9000
    Printer.PaintPicture Form8.MrvBarcode7.Picture, 0, 12240
    Printer.PaintPicture Form8.MrvBarcode8.Picture, 3960, 13440
    Printer.EndDoc
    Unload Form8
    Set Form8 = Nothing

Back to Top View breeze's Profile Search for other posts by breeze
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: March 28 2007 at 9:04am | IP Logged Quote glitch

I tested your code (the second half), and I have no problem printing all barcodes. I suggest that you build a standalone project (1 form with multiple barcodes) and test from there.
Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 
atifmushtaq
Newbie
Newbie
Avatar

Joined: March 24 2008
Location: Pakistan
Posts: 11
Posted: April 05 2008 at 4:08am | IP Logged Quote atifmushtaq

Sir,

 

There is a problem in my demo barcode dll activex that is when i sel the value False of Human ReadAble that is not work the message hide in half not a full.

 

Please reply me as soon as possible.

Thanks

Back to Top View atifmushtaq's Profile Search for other posts by atifmushtaq
 
glitch
Admin Group
Admin Group
Avatar

Joined: January 25 2003
Location: Canada
Posts: 280
Posted: April 06 2008 at 12:00pm | IP Logged Quote glitch

I need a screenshot to understand the issue.
Back to Top View glitch's Profile Search for other posts by glitch Visit glitch's Homepage
 
atifmushtaq
Newbie
Newbie
Avatar

Joined: March 24 2008
Location: Pakistan
Posts: 11
Posted: April 06 2008 at 9:48pm | IP Logged Quote atifmushtaq

i send you screen shot at you e-mail becoz i am trying here but i was unable to upload file here soo please check this and reply me

thanks

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

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.4219 seconds.