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

Printing Source Code Does Not Work in VB.NET

P: n/a
have not been successful in printing the source code for a vb.net
form. When I print it I get something like this:-

E:\VBdotNet\ADOdotNET\Form1.vb [ this is from the page heading]

,PSRUWV6\VWH 'DWD 2OH'E
3XEOLF &ODVV)RU
,QKHULWV6\VWH :LQGRZV )RUPV )RUP
:LQGRZ)RUP'HVLJQHUJHQHUDWHGFRGH
3ULYDWH 6XE%XWWR B&OLFN %\9DOVHQGH $V6\VWH 2EMHFW %\9DO $V6\VWH
(YHQW$UJV +DQGOHV%XWWR &OLFN
(QG 6XE

The original code was

Imports System.Data.OleDb
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
End Sub
====
It seems that the ( maps to E
Q maps to N
G maps to N
6 maps to S
X maps to U
E maps to B

which seems to be consistent throughout.

What setting needs to be changed for the print (from the File/Print)
to work?

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


P: n/a
* us*******@wayaheadeducation.com (Ernie) scripsit:
have not been successful in printing the source code for a vb.net
form. When I print it I get something like this:-

E:\VBdotNet\ADOdotNET\Form1.vb [ this is from the page heading]

,PSRUWV6\VWH 'DWD 2OH'E
3XEOLF &ODVV)RU
,QKHULWV6\VWH :LQGRZV )RUPV )RUP
:LQGRZ)RUP'HVLJQHUJHQHUDWHGFRGH
3ULYDWH 6XE%XWWR B&OLFN %\9DOVHQGH $V6\VWH 2EMHFW %\9DO $V6\VWH
(YHQW$UJV +DQGOHV%XWWR &OLFN
(QG 6XE


What printer are you using?

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #2

P: n/a
The problem occurs on both an HP1100 laser jet & also Acrobat 5.0 PDF
Writer. I've also written the file to disk and the data on the disk is
the same as the HP1100 & PDF Writer

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 21 '05 #3

P: n/a
Ernie,
This is probably due to old version of printer drivers. My Lexmark
printer did the same thing when I first started but upgrading to a version
that understood Unicode made everything work just fine.

Ron Allen
"Ernie" <us*******@wayaheadeducation.com> wrote in message
news:8d**************************@posting.google.c om...
have not been successful in printing the source code for a vb.net
form. When I print it I get something like this:-

E:\VBdotNet\ADOdotNET\Form1.vb [ this is from the page heading]

,PSRUWV6\VWH 'DWD 2OH'E
3XEOLF &ODVV)RU
,QKHULWV6\VWH :LQGRZV )RUPV )RUP
:LQGRZ)RUP'HVLJQHUJHQHUDWHGFRGH
3ULYDWH 6XE%XWWR B&OLFN %\9DOVHQGH $V6\VWH 2EMHFW %\9DO $V6\VWH
(YHQW$UJV +DQGOHV%XWWR &OLFN
(QG 6XE

The original code was

Imports System.Data.OleDb
Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
End Sub
====
It seems that the ( maps to E
Q maps to N
G maps to N
6 maps to S
X maps to U
E maps to B

which seems to be consistent throughout.

What setting needs to be changed for the print (from the File/Print)
to work?

regards

Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.