468,244 Members | 1,808 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,244 developers. It's quick & easy.

Printing always the same page on label printer

Hello,

I've got a problem which I can not locate. I will try to describe it and
would be glad, if someone had an idea how to identify the cause of the
problem.

Situation:
My application prints labels to a label printer (Datamax E-4203) via
PrintDocument. The PrintDocument prints a new page for each label, so with 4
labels printed at once I have a 4-page document - sounds easy - is easy.

Here goes the problem:
- if I display the PrintDocument with a PrintPreviewDialog everything is
fine. 4 pages are displayed with a different record each
- if I print the PrintDocument on a HP LaserJet everything is fine. 4 pages
are printed with a different record each
- if I print the PrintDocument on the Datamax E-4203 my problem appears. 4
pages are printed, but instead of different records only the first record is
printed on each label

What I did:
- tested the issue under Windows Vista Business and Windows XP SP2, so it
can't be a Vista problem
- printed on HP LaserJet and everything's fine, so it can't be a code problem
- printed a 4 page document from word to the Datamax E-4203 with no
problems, so it can't be a general driver problem
- I updated the driver from the datamax homepage and got the same issue, so
it can't be a version problem of the driver

Reuslt:
I need new ideas howto figure out, where the problem lies.
I would be glad if someone could give me an new idea.

Best regards,
Georg Fleischer
May 8 '07 #1
1 2666
Georg,

You said that it prints fine when you use an HP LaserJet. Have you
stepped through the code when connected to your label printer to verify that
you are printing what you expect to print on the four pages?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Georg Fleischer" <Ge************@discussions.microsoft.comwrote in
message news:C8**********************************@microsof t.com...
Hello,

I've got a problem which I can not locate. I will try to describe it and
would be glad, if someone had an idea how to identify the cause of the
problem.

Situation:
My application prints labels to a label printer (Datamax E-4203) via
PrintDocument. The PrintDocument prints a new page for each label, so with
4
labels printed at once I have a 4-page document - sounds easy - is easy.

Here goes the problem:
- if I display the PrintDocument with a PrintPreviewDialog everything is
fine. 4 pages are displayed with a different record each
- if I print the PrintDocument on a HP LaserJet everything is fine. 4
pages
are printed with a different record each
- if I print the PrintDocument on the Datamax E-4203 my problem appears. 4
pages are printed, but instead of different records only the first record
is
printed on each label

What I did:
- tested the issue under Windows Vista Business and Windows XP SP2, so it
can't be a Vista problem
- printed on HP LaserJet and everything's fine, so it can't be a code
problem
- printed a 4 page document from word to the Datamax E-4203 with no
problems, so it can't be a general driver problem
- I updated the driver from the datamax homepage and got the same issue,
so
it can't be a version problem of the driver

Reuslt:
I need new ideas howto figure out, where the problem lies.
I would be glad if someone could give me an new idea.

Best regards,
Georg Fleischer

May 8 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by DBQueen | last post: by
3 posts views Thread by Grim Reaper | last post: by
1 post views Thread by Pohihihi | last post: by
3 posts views Thread by Michael | last post: by
2 posts views Thread by Beginner | last post: by
2 posts views Thread by Kevin | last post: by
18 posts views Thread by Brett | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.