[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 440
  • Last Modified:

PrintDocument Problem in Windows 2000

I have a Zebra Z4Mplus which i am trying to print labels for using the Printdocument class in VB.net, in Windows XP this works perfectly fine but in Windows 2000 (the OS it needs to run on) the printer will not print but instead flashes its DATA light twice, which I believe mean something like it cannot interpret the Data. In the Printers Spool Manager in XP the size of the file is 20k but in Windows 2000 it is 113k.

Does anyone know what the problem may be, or any way that i can look at each of these files in depth. I not sure what code to post as it does work in XP.

(EDIT: this work with all other printers except this one)
0
control2k
Asked:
control2k
  • 4
  • 4
1 Solution
 
Bob LearnedCommented:
Do other programs print to the Zebra successfully?

Bob
0
 
control2kAuthor Commented:
Yes, I system I'm creating is replacing an MS Access system, basically I'm simply recreating it in .NET with more bells and whistles. But it doesnt like printing using the print document. It will even print from paint.
0
 
Bob LearnedCommented:
Can you give me some idea of your environment?

Examples:
1) Service packs?
2) Running from a network?
3) Network printer?

Bob
0
Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

 
control2kAuthor Commented:
The Printer is in the LPT1 port, newest driver (both drivers are same version numbers). The system is Windows 2000 SP4. I have run it using RAW and NT EMF 1.008 by changing the windows printer settings.

Is it possible change that in code or does that not matter.
0
 
Bob LearnedCommented:
Are you running 2005 Express Edition, Professional?  Did you install SP1?

Bob
0
 
control2kAuthor Commented:
I am not but am downloading it now. Would this make a difference in how the application runs in windows 2000?
0
 
Bob LearnedCommented:
I don't know what your problem is or how you are going to solve it.  I just know that SP1 has a lot of fixes.

It is an unknown quantity to know how Windows 2000 works with RAW and the printer driver.

I also noticed that you don't have Windows 2000 SP6a installed.  I haven't seen SP4 for years, so it is also an unknown quantity.

Bob
0
 
control2kAuthor Commented:
Thanks for the info, but I think this one is unsolvable over the net. I've fix the problem by not using the Printdocument and Generating the ZPL Commands instead

Can an admin close this.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now