473,320 Members | 2,035 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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 1953
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.com> wrote in message
news:eV**************@TK2MSFTNGP12.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
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...
5
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 =...
4
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...
0
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...
3
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...
4
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...
10
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...
0
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.