Printing Source Code Does Not Work in VB.NET

  • Thread starter Thread starter Ernie
  • Start date Start date
E

Ernie

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
 
* (e-mail address removed) (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?
 
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
 
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
 
Back
Top