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

About barcode printer printing with PrintDocument object

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
computer has drivers installed for this printer, and this printer is
shared for the network.

Question 1:

How can I hide or disable "Collate" -checkbox of the PrintDialog object,
because labels are roll of labels in the barcode printer, and in this
case "Collate" -checkbox is just amazing users.

Anyway I need to use PrintDialog object for copies amount.

Question 2:

Now there is new need for individual serial numbers, which in this means
when user want to print for example 5 labels then each of those labels
should contain next individual serial number in it's content.

So is it possible to do this using PrintDocument object, or should I
call for example PrintDocument printing using (For i As Integer = 1 To
5) loop to generate every individual label? Any ideas would be appreciated.

--
Thanks in advance!

Mika
Nov 21 '05 #1
3 6258
Mika,
Does your printer read ZCode?

Doug

"Mika M" <mahmik_nospam@removethis_luukku.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
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
computer has drivers installed for this printer, and this printer is
shared for the network.

Question 1:

How can I hide or disable "Collate" -checkbox of the PrintDialog object,
because labels are roll of labels in the barcode printer, and in this
case "Collate" -checkbox is just amazing users.

Anyway I need to use PrintDialog object for copies amount.

Question 2:

Now there is new need for individual serial numbers, which in this means
when user want to print for example 5 labels then each of those labels
should contain next individual serial number in it's content.

So is it possible to do this using PrintDocument object, or should I
call for example PrintDocument printing using (For i As Integer = 1 To
5) loop to generate every individual label? Any ideas would be appreciated.
--
Thanks in advance!

Mika

Nov 21 '05 #2
Doug Bell wrote:
Mika,
Does your printer read ZCode?

Doug
What is ZCode ??? A kind of barcode I assume. My application does not
read any barcodes, it just prints barcode labels. I'm using Code39- and
normal human readable fonts with PrintDocument object.

In the beginning I made my application at office for Intermec 3440
barcode printer, and set it up for Zebra TLP3844-Z. I found Windows
drivers for both of those printers, and needed only change top- and
left- margins althought they are not same kind of printers at all.

"Mika M" <mahmik_nospam@removethis_luukku.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
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
computer has drivers installed for this printer, and this printer is
shared for the network.

Question 1:

How can I hide or disable "Collate" -checkbox of the PrintDialog object,
because labels are roll of labels in the barcode printer, and in this
case "Collate" -checkbox is just amazing users.

Anyway I need to use PrintDialog object for copies amount.

Question 2:

Now there is new need for individual serial numbers, which in this means
when user want to print for example 5 labels then each of those labels
should contain next individual serial number in it's content.

So is it possible to do this using PrintDocument object, or should I
call for example PrintDocument printing using (For i As Integer = 1 To
5) loop to generate every individual label? Any ideas would be


appreciated.
--
Thanks in advance!

Mika


Nov 21 '05 #3
Mika,

The Zebra printer will read ZCode.

Z stands for Zebra.

This printer dialog box issue is more than likely due to you using the wrong
driver. Intermec should also be able to provide you with the correct
drivers.

Intermec have a lot of sales people that don't have too much depth but they
should have someone that can help.

ZCode supports barcodes and other features like incrementing.

They used to sell an application called bartender that allows label design
and printing. It comes in various level but we found the basic level was
what we needed to construct the original label formats. by printing it to a
file it gave us the ZCode that we could then edit. Intermec said this could
not be done and we would need the enterprise version.

For example, to create a barcode for "1234" in ZCode ZPL II code is:

^F020,10^B3^FD1234^FS

It is pretty easy to follow.
20 dots right, 10 dots down, Code 39, data =1234

You can download the ZPL II programming guide.

Try printing your label to a file, openning it in a text editor and then
trying to work out what it is doing and change what you need to.

^SN is the code to tell the printer to increment a data field starting at X
incrementing by Y

I think we had some issues with drivers originally but the main issue was
the lack of technical ability in Intermec. We still have issues with the
Hand Helds they provide (different versions of the OS etc)


"Mika M" <mahmik_nospam@removethis_luukku.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Doug Bell wrote:
Mika,
Does your printer read ZCode?

Doug


What is ZCode ??? A kind of barcode I assume. My application does not
read any barcodes, it just prints barcode labels. I'm using Code39- and
normal human readable fonts with PrintDocument object.

In the beginning I made my application at office for Intermec 3440
barcode printer, and set it up for Zebra TLP3844-Z. I found Windows
drivers for both of those printers, and needed only change top- and
left- margins althought they are not same kind of printers at all.

"Mika M" <mahmik_nospam@removethis_luukku.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
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
computer has drivers installed for this printer, and this printer is
shared for the network.

Question 1:

How can I hide or disable "Collate" -checkbox of the PrintDialog object,
because labels are roll of labels in the barcode printer, and in this
case "Collate" -checkbox is just amazing users.

Anyway I need to use PrintDialog object for copies amount.

Question 2:

Now there is new need for individual serial numbers, which in this means
when user want to print for example 5 labels then each of those labels
should contain next individual serial number in it's content.

So is it possible to do this using PrintDocument object, or should I
call for example PrintDocument printing using (For i As Integer = 1 To
5) loop to generate every individual label? Any ideas would be


appreciated.
--
Thanks in advance!

Mika


Nov 21 '05 #4

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

Similar topics

5
by: Tom Berry | last post by:
We currently are trying our first transformation from VB6 to VB.Net. Of course, the Printer object is gone, but I'm having trouble finding the replacement syntax necessary to perform similar...
1
by: Alejandra Parra | last post by:
In my code, I print a dataSet ' get grid's PrintDocument object Dim pd As System.Drawing.Printing.PrintDocument pd = flexgrid.PrintParameters.PrintDocument() ' set up the page (landscape, 1.5"...
0
by: Tessa | last post by:
We're using PrintDocument.Print method in a web application to print (ie not on the client) (on Windows 2003) Get InvalidPrinterException: System.Drawing.Printing.InvalidPrinterException: Tried...
0
by: Tessa | last post by:
Is there any security reason why you cannot print to a network printer from ASP.NET under IIS6 on Windows 2003 server? I'm using ASP.NET code to print to a server print queue using...
4
by: Rob T | last post by:
I have a small VB program that has a printing module...very simple....and works great. However, If I try to print to a generic printer, I get the following error: "The data area passed to a...
3
by: Alejandra Parra | last post by:
In my code, I print a dataSet ' get grid's PrintDocument object Dim pd As System.Drawing.Printing.PrintDocument pd = flexgrid.PrintParameters.PrintDocument() ' set up the page (landscape, 1.5"...
7
by: Mark | last post by:
Hi, I am creating application in VB 2005. and when I print report it adds extra 0.45 cm margin on left and top, and the reason for this is physical margins of printer. Is it possible to change...
2
by: Kool-Aide | last post by:
Alright, here goes...When I put a menu strip on the windows form I can double click the exit button to go to the source page and it takes me to the on click exit blah blah blah and you would put...
1
by: amcgary | last post by:
Hello, I am trying to print a System.Drawing.Printing.PrintDocument to a dot matrix printer using C# .NET. I have created an instance of the PrintDocument and create a event handler for the...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.