Barcode Print Problem

Anything related to Barcode ActiveX programming

Barcode Print Problem

Postby breeze(Legacy Member) on Wed Mar 28, 2007 1:43 am


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
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, _
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
Unload Form8
Set Form8 = Nothing
breeze(Legacy Member)

Re: Barcode Print Problem

Postby glitch(Legacy Member) on Wed Mar 28, 2007 9:04 am

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.
glitch(Legacy Member)

Re: Barcode Print Problem

Postby atifmushtaq(legacy member) on Sat Apr 05, 2008 4:08 am


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.

atifmushtaq(legacy member)

Re: Barcode Print Problem

Postby glitch (legacy member) on Sun Apr 06, 2008 12:00 pm

I need a screenshot to understand the issue.
glitch (legacy member)

Re: Barcode Print Problem

Postby atifmushtaq(legacy member) on Sun Apr 06, 2008 9:48 pm

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

atifmushtaq(legacy member)

Return to Barcode ActiveX Control

Who is online

Users browsing this forum: No registered users and 0 guests