home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 5550
- ClientLeft = 3675
- ClientTop = 5280
- ClientWidth = 6690
- Height = 5985
- Left = 3615
- LinkTopic = "Form1"
- ScaleHeight = 5550
- ScaleWidth = 6690
- Top = 4905
- Width = 6810
- Begin VB.PictureBox Picture1
- Height = 495
- Left = 2760
- ScaleHeight = 435
- ScaleWidth = 1155
- TabIndex = 0
- Top = 2520
- Width = 1215
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub Form_Load()
- Picture1.Picture = LoadPicture("SAMS.ICO")
- ' Prevent an error if the property doesn't exist
- On Error Resume Next
- Printer.Copies = 1
- startX = 100
- startY = 100
- Printer.PaintPicture Picture1.Picture, _
- startX, startY, Picture1.Width, Picture1.Height
- nextY = startY + Picture1.Height + 200
- Printer.PaintPicture Picture1.Picture, _
- startX, nextY, Picture1.Width * 2, Picture1.Height * 2
- nextX = startX + Picture1.Width * 2
- nextY = nextY + (Picture1.Height * 4) + 200
- Printer.PaintPicture Picture1.Picture, _
- nextX, nextY, Picture1.Width * -2, Picture1.Height * -2
- Printer.EndDoc
- Printer.Copies = 1
- startX = 100
- startY = 100
- Printer.PaintPicture Picture1.Picture, _
- startX, startY, Picture1.Width, Picture1.Height
- nextY = startY + Picture1.Height + 200
- Printer.PaintPicture Picture1.Picture, _
- startX, nextY, Picture1.Width * 2, Picture1.Height * 2
- nextX = startX + Picture1.Width * 2
- nextY = nextY + (Picture1.Height * 4) + 200
- Printer.PaintPicture Picture1.Picture, _
- nextX, nextY, Picture1.Width * -2, Picture1.Height * -2
- Printer.EndDoc
- End Sub
-