473,385 Members | 1,429 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,385 software developers and data experts.

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 3044
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: DBQueen | last post by:
I have a database which will be printing out labels for SMALL test tubes (1/4" high). We have yet to find a reasonably-priced printer (labelwriter) which can effectively print this on ROLLS of...
3
by: Grim Reaper | last post by:
I print mailing labels out of Access 2000 databases about 3 to 4 times a week. I have been having problems with one thing since I have been printing mailing labels. I print mailing labels by...
1
by: Pohihihi | last post by:
Hello NG. I am using System.Drawing.Printing NS to print few label style printouts. I figured out how the basics goes in that namespace but there are still few things that is holding me up from...
5
by: Tom | last post by:
I am converting an old application that was printing directly to a specialized printer device (i.e. a special label printer). It was doing this by opening a file with the file path of 'LPT1:' and...
3
by: Mika M | last post by:
Hi all! I have made an application for printing simple barcode labels using PrintDocument object, and it's working fine. Barcode printer that I use is attached to the computer, and this...
3
by: Michael | last post by:
Hi, I'm trying to print barcodes to the Dymo LabelWriter printer. Put everytime I send a job to the label printer it just outputs an empty label. If I change the default printer back to the...
2
by: Beginner | last post by:
I have to print a Fedex shipping label on a Zebra(thermal) printer. I initially had the label information in a base64 string which I decoded into a memory stream. Now I need to send this memory...
2
by: Kevin | last post by:
In my VB2005 Windows Forms program I want to be able to click a button and have my Dot Matrix printer print one 15/16 x 3 1/2 address label from continuous forms. I'm trying to use a...
18
by: Brett | last post by:
I have an ASP.NET page that displays work orders in a GridView. In that GridView is a checkbox column. When the user clicks a "Print" button, I create a report, using the .NET Framework printing...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.