473,699 Members | 2,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Printing in IDE prints garbled code

I'm trying to print out some of my code from the VS.NET IDE (specifically,
VB.NET), and when I do it prints out a bunch of garbled text as my code. The
page header showing the location and file name are fine, but the code
itself. For example:
Imports System.Console
yields
,PSRUWV~6\VWHP1 &RQVROH
when printed. This is hardly what I wished for when I told it to print this
module.

Any ideas?

Thanks,
Brian Cline
Jul 19 '05 #1
2 1991
Brian,
I had this problem in early releases of VS.NET and it was caused by a
printer driver that didn't understand Unicode. Try updating to the latest
driver.

Ron Allen
"Brian Cline" <cl**@gptruck.c om> wrote in message
news:eV******** ******@TK2MSFTN GP12.phx.gbl...
I'm trying to print out some of my code from the VS.NET IDE (specifically,
VB.NET), and when I do it prints out a bunch of garbled text as my code. The page header showing the location and file name are fine, but the code
itself. For example:
Imports System.Console
yields
,PSRUWV~6\VWHP1 &RQVROH
when printed. This is hardly what I wished for when I told it to print this module.

Any ideas?

Thanks,
Brian Cline

Jul 19 '05 #2
I had exactly the same problem on my laptop. However when I tried with
another laptop on the same network using the same printer driver and
printer, the hard copy was fine. So after playing around, I found out
what is making the difference. As soon as I installed Win2K SP4 on the
other computer, it stopped working. Now both computers have the
scrambled output. I even tried to re-install the printer driver but it
did not work.

I hope there is a solution to keep SP4. I did not find anything from
Microsoft about that yet!

Hugo
Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1906
by: Brian Sabolik | last post by:
After developing my entire applications around printing via the Crystal Decisions engine in .net, I was shocked to find out that a report that printed fine in Adobe 5.0 reader now prints garbled code in Adobe 6.0 reader. Has anyone else ran into this? I've tried the report on two different HP laser printers and had similiar results. -- TIA, Brian Sabolik
5
3337
by: Stefania Scott | last post by:
I am trying to print a word document from Access. The code I've written works well in my computer but does not in the one were it is needed. Here the piece of code: 'doc path strObjectPath = "P:\2004worksheets\IIS_WS.doc" Set oWord = New Word.Application oWord.Documents.Add (strObjectPath) oWord.PrintOut
4
9287
by: Arif | last post by:
I C# code prints very slow as compared to a third party barcode printing software. That software prints approximately 10 labels in 2 seconds while my C# code prints 10 labels in 5 to 6 seconds. And this differences increases with the increase number of labels. The code is as follwods: Here rdr = OleDbDataReader Font is Times New Roman, 12pt
0
1382
by: Phil Galey | last post by:
I'm printing to a DeskJet 5550 printer. From WordPerfect, if I have a color document and I specify grayscale in the printer properties dialog, it prints in grayscale as expected. However, from a VB.NET application, I don't seem to be able to get it to print in black and white / grayscale. It always prints in color. I have a 3rd party DLL called QuickPDF which works with PDF documents. It enables you to specify monochrome or color as...
3
424
by: Brian Cline | last post by:
I'm trying to print out some of my code from the VS.NET IDE (specifically, VB.NET), and when I do it prints out a bunch of garbled text as my code. The page header showing the location and file name are fine, but the code itself. For example: Imports System.Console yields ,PSRUWV~6\VWHP1&RQVROH when printed. This is hardly what I wished for when I told it to print this module.
4
3538
Rabbit
by: Rabbit | last post by:
Here's my question. Does my connecting to the printer by IP affect the print server? The circumstances surrounding this question follows below. We have 16 network printers, most of them HP 4250n's, on a new print server that have intermittent corrupted prints. Every so often, a user will have a document that prints up to a certain point and the rest comes out garbled. And it does it on every printer and switching computers doesn't help. ...
10
2108
by: sophie_newbie | last post by:
Hi, I'm trying to write a piece of code that spawns a thread and prints dots every half second until the thread spawned is finished. Code is something like this: import threading class MyThread ( threading.Thread ): def run ( self ): myLongCommand()...
0
2847
it0ny
by: it0ny | last post by:
Hi guys, thanks I am fairly new to this forum so I hope I chose the right place to post this question. I try to make my program printout a deposit's report. I created a class to store the printing printing data and the actual database data in a recordset. the class looks like this: Public Class BRPDD 'Balance Report PrintingDocument Data Public totalReceiptsNum As Integer Public totalLicFee As Double
0
8687
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9034
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8883
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7750
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6534
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5874
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4376
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4629
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2347
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.