473,222 Members | 1,756 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,222 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 6242
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: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...

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.