By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,033 Members | 1,285 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,033 IT Pros & Developers. It's quick & easy.

VB .NET 2k3 print directly to parallel port

P: n/a
I'm trying to bring some code from an Access database
into Visual Basic .net 2k3.

The access code goes directly to LPT1 as follows
----------------------------
Open "lpt1" For Output As #1 ' Open LPT1 for output.

Print #1, "^FO80,85"
Print #1, "^BY3,3,1"
Print #1, "^B2,60,y,n"
Print #1, "^FD"; ID
Print #1, "^FS"
Print #1, "^XA"
------------------------------
fileopen won't let me use "lpt1".

How do I send codes directly to lpt1?

Thanks,
Peter

Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Here's your solution:

http://support.microsoft.com/default...b;en-us;322090

Crouchie1998
BA (HONS) MCP MCSE
Nov 21 '05 #2

P: n/a


*** Sent via Developersdex http://www.developersdex.com ***
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.