home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form1
- Caption = "Easybar/VBX Demo v1.1"
- ClientHeight = 3015
- ClientLeft = 2640
- ClientTop = 1785
- ClientWidth = 4170
- Height = 3420
- Left = 2580
- LinkTopic = "Form2"
- ScaleHeight = 3015
- ScaleWidth = 4170
- Top = 1440
- Width = 4290
- Begin Barcode Barcode1
- AddOnData = ""
- AddOnMessage = ""
- AddOnTextAlign = 0 'Top
- BarcodeType = 0 'Code 39
- BarWidth0 = 1
- BarWidth1 = 3
- BarWidth2 = 0
- BarWidth3 = 0
- Data = "123456"
- FigureHeight = 1440
- FigureLeft = 288
- FigureTop = 288
- FigureTransparent= -1 'True
- FigureWidth = 2880
- FontBold = -1 'True
- FontItalic = 0 'False
- FontName = "Arial"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- HorzAlign = 0 'Left
- InterCharGap = 2
- Left = 0
- Message = ""
- MiddleGap = 0
- Orientation = 0 '0
- PixelAlign = -1 'True
- RetainAspectRatio= -1 'True
- sBottomMargin = 1
- sLeftMargin = 10
- SpaceWidth0 = 1
- SpaceWidth1 = 3
- SpaceWidth2 = 0
- SpaceWidth3 = 0
- sRightMargin = 10
- sTopMargin = 1
- StretchText = -1 'True
- TextAlign = 1 'Bottom
- Top = 0
- UniBarHeight = 0 'False
- UpcSmallFont = -1 'True
- VertAlign = 0 'Top
- End
- Begin CommandButton Command1
- Caption = "Print"
- Height = 375
- Left = 1320
- TabIndex = 0
- Top = 2520
- Width = 1095
- End
- Sub Command1_Click ()
- 'set other properties if necessary: barcode1.xxx = yyy
- 'barcode1.Data = "123456"
- barcode1.PrintTo = Printer.hDC
- Printer.NewPage
- Printer.EndDoc
- End Sub
- Sub Form_Paint ()
- 'set other properties if necessary: barcode1.xxx = xxx
- 'barcode1.Data = "123456"
- barcode1.PrintTo = form1.hDC
- End Sub
-