|
-
Jul 13th, 2000, 02:28 AM
#1
Thread Starter
New Member
i created a program in vb6 wich is printing several page's, now the program works fine under w95,w98,nt but under w2000 there seems to be a problem with the fonts.
it print like this
shut be:
i wil use windows 2000
it prints:
o#eow#raq#eojhlea#5333
This is not a actual translation but i hope you understand what i meen.
-
Jul 13th, 2000, 02:48 AM
#2
Fanatic Member
Can you please show the code that you are using to print. It's also a possibility that you are trying to print a font that your win2k machine does not have. (check that) and if that doesn't solve it, then maybe if we look at the code we can see what's happening.
Laterz,
D!m
-
Jul 13th, 2000, 02:51 AM
#3
Guru
Ummm
It seems to put every ASCII character three places ahead.
Every letter is three letters ahead than it should be (not in your example. But you said it's not an actual translation), every digit in 2000 is 3 digits ahead, and instead of spaces - Chr(32) - there are pound # marks - Chr(35).
Don't know why or how to fix - just a speculation!
Try telling it to print this, see if it prints right:
"Qefp" & Chr(29) & "tlohp" & Chr(30)
If I'm correct it would print:
This works!
-
Jul 13th, 2000, 02:53 AM
#4
Thread Starter
New Member
printing vb6 > windows 2000
I'm printing in two way's, using the printer object
like:
printer.print "hello i'm"
and i use the rtf box for printing rtf formatted text
in both instances it prints the same way
the font i'm using is arial that shut be there do'nt you think?
-
Jul 13th, 2000, 02:57 AM
#5
Fanatic Member
omg now that's what i call a guru, now that you mention it Yonatan it seems that you are right. I wonder why it's doing that...
-
Jul 13th, 2000, 03:03 AM
#6
Thread Starter
New Member
printing vb6 > windows 2000
I thank you both for so far i got to leave now(dentist)
when i'm back at my work i wil try to find out if it's trhu what Yonatan say's.
Thanx!!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|