473,467 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Windows 98 problem

Im compiling on xp box but need to deploy on 98SE box. Application works
great except printing, after i try to print on 98SE box it freezes
completly.
Code is quite standard:

private void printDocument1_PrintPage(object sender, PrintPageEventArgs e)
while ( trenutniVirman < iBrojac )
{
e.Graphics.DrawString(arrayMatrica[trenutniVirman, iPlatitelj],
new Font("Times New Roman", 8 ),
Brushes.Black, 10, polozaj*390 + 55);
e.Graphics.DrawString(arrayMatrica[trenutniVirman, iPrimatelj],
new Font("Times New Roman", 8 ),
Brushes.Black, 10, polozaj*390 + 120);
e.Graphics.DrawString(arrayMatrica[trenutniVirman, iObiljezje],
new Font("Times New Roman", 10 ),
Brushes.Black, 10, polozaj*390 + 185);
e.Graphics.DrawString(arrayMatrica[trenutniVirman,
iSifraOpisa], new Font("Times New Roman", 10 ),
Brushes.Black, 87, polozaj*390 + 185);
.....................
iBrojac++
}

if ( trenutniVirman == iBrojac )
{
.............................
e.HasMorePages = false;
}
else
{
e.HasMorePages = true;
}

Its been called by:

if (printDialog1.ShowDialog() == DialogResult.OK)
{
printDocument1.Print();
}

Printing works great on XP, I cant even debug ( or dont know how ) on 98SE.
Maybe unicode is a problem, using croatian layout on 98SE.
Txh


Nov 16 '05 #1
0 1028

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

Similar topics

11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
9
by: Rajat Tandon | last post by:
Hello there, I am relatively new to the newsgroups and C#. I have never been disappointed with the groups and always got the prompt replies to my queries.This is yet another strange issue, I am...
10
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
2
by: Joseph Geretz | last post by:
I'm having a credentialing problem in my web application. Actually, I don't think this is an IIS security issue, since I'm able to access the page I'm requesting. However, the executing page itself...
4
by: Rod Gill | last post by:
Hi, I have a form that when opened in the designer appears of the screen. The form selector can't be dragged (or resized) and if I scroll right and down to centralise it the form simply jumps...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
1
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...
0
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...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.