NetBuilders

You are welcome to look around. You will have to register before you can post a message, create a blog, chat live with our members, or add a site to our directory.



Advertise With Us

Reply Unblock Facebook
Old 8 May, 2009, 08:54 AM   #1 (permalink)
Net Builder
 
iTrader: (0)
Thanked 0 Times in 0 Posts
Posts: 111
$NetBucks: 0
Join Date: Oct 2009
Last Online: 26 May, 2009 23:22 PM
Default

Code:
Private Sub Command0_Click()
Dim PRN As String

Dim VAR1, VAR2,As String

PRN = \"LPT1\"
VAR1 = \"BarCode\"
VAR2 = \"123456\"


Open PRN For Output As #1


Print #1, \"N\" & Chr(13)

Item = \"A320,15,0,1,1,2,N,\" + Chr$(34) + \"Belal Al hifawi\" + Chr$(34) + Chr$(13)
Print #1, Item

Item = \"B330,50,0,1,2,2,90,B,\" & Chr$(34) & \" \" & VAR2 & \" \" & Chr$(34) + Chr$(13)
Print #1, Item

Item = \"A320,160,0,1,1,2,N,\" + Chr$(34) & VAR1 & Chr$(34) + Chr$(13)
Print #1, Item

Print #1, \"P1\" & Chr(13)

Close #1
  Reply With Quote
Old 8 May, 2009, 23:20 PM   #2 (permalink)
Newbie Net Builder
 
Eyes's Avatar
 
Location: In a Party
iTrader: (0)
Thanked 1 Time in 1 Post
Posts: 87
$NetBucks: 59
Join Date: May 2009
Last Online: 5 July, 2009 10:17 AM
Default

thanks for this
  Reply With Quote
Reply

Bookmarks

Tags
bar, code, print, printer, vb6


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do you code your designs? Farrhad A Web Design 15 14 March, 2010 15:12 PM
My website code+Design domain Services 0 13 September, 2009 11:25 AM
Code needed for IP address mkcitizen Programming 1 25 June, 2009 04:25 AM
[WTS] The Black Hat Code DotComBum Marketplace 2 31 May, 2009 12:57 PM
Google Native Code Cash Nebula Programming 4 16 December, 2008 06:13 AM


All times are GMT. The time now is 03:09 AM.
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.1
vBAdvertise v1.0.0 Copyright ©2009, PixelFX Studios
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios