473,804 Members | 3,196 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Printing vb.net with dotmatrix printer....

Hi,
I am trying to print a invoice form with data from dataset using vb.net
and printer is dot matrix. Invoice is a continues paper with
pre-printed headers like First Name, Last Name, SSN# etc. and after
each header their are some blank block like for SSN# 9 small box. I hv
to print each digit in seprate box. When I tried using following code
it print 1st and 2nd digit on correct place but for the next one goes
between two box
ColPosX = 100
RowPosY = 100
ev.Graphics.Dra wString(line, printFont, Brushes.Black, ColPosX,
RowPosY, New stringFormat)

I tried to change the ColPosX and RowPosY for digits but for first 2 or
3 digit it print on correct place then rest in b/w the boxs
Can any one help me to do this..
I hv to print complete form/invoice page in box.
Is there any other way to do this...

Waiting..
Thanks
Sk

Feb 16 '06 #1
0 1401

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

Similar topics

4
2007
by: Rajani | last post by:
Hello, I am generating reports from database in HTML format. When i print from browser, its printing so slow on my dotmatrix printer. How can i print in DOS mode? I need to print on continuous sheets means long reports. Its a big time consuming if i print from browser. And, i am getting data and forming a line (job & " " & Size & " " & qty & " " & lay & " " & bundleno & " " & operationno & vbcrlf & vbcrlf & vbcrlf
7
6556
by: bclegg | last post by:
Hi, I have a Monitoring application that needs to output single line summaries to a local dot matrix printer loaded with line flow. ie. It will have exclusive use of the printer which is connected to LPT1. I need to get the normal number of lines to each page. ie 60 summaries onto a 66 line lineflow page Am I restricted to the Printdocument object and graphics printing or is there a way to do a single line text print?
1
1883
by: kmercer46 | last post by:
My application basically prints barcodes for customers lets say in thousands. And there are operators who prints this barcodes all over the country using this application which is being run over citrix. I am using EPSON LQ2180 printer (DotMatrix) with custom paper size Now the issue is it skips one paper for everybarcode i print meaning if I print 100 barcodes and i have 100 blank papers coming with it. Ideas are highly appreciated...
1
2403
by: sukhsinghin | last post by:
Hi, I am trying to print a invoice form with data from dataset using vb.net and printer is dot matrix. Invoice is a continues paper with pre-printed headers like First Name, Last Name, SSN# etc. and after each header their are some blank block like for SSN# 9 small box. I hv to print each digit in seprate box. When I tried using following code it print 1st and 2nd digit on correct place but for the next one goes between two box ColPosX...
4
5647
by: sukhsinghin | last post by:
Hi, I am trying to print a invoice form with data from dataset using vb.net and printer is dot matrix. Invoice is a continues paper with pre-printed headers like First Name, Last Name, SSN# etc. and after each header their are some blank block like for SSN# 9 small box. I hv to print each digit in seprate box. When I tried using following code it print 1st and 2nd digit on correct place but for the next one goes between two box ColPosX...
3
1817
by: Claudio | last post by:
Is there a way to write directly to a dotmatrix printer using C#?
14
2480
by: Claudio | last post by:
I asked if there was a way to print directly to a dotmatrix printer. The answer was yes, but I need to know how to do it.
0
2388
by: itssujeeth | last post by:
Hi all, I am facing a big problem. While developing a software, printing can not be done properly. Points. Development Language : Visual Basic.NET .NET framework 1.1 Printer :EPSON LX300+
0
1202
by: mahesh123 | last post by:
Hi Folks, I want Help regarding the Printing of the datareports in the dotMatrix. I am using the VB6.0 and developed the reports in the datareports. But my customers have a dot matrix printers. So, how can i print the datareports data through the dot Matrix printers. If there is any piece code for printing the data reports through the dot Matrix please send to me. Thanks & Regards
0
9704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9571
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10561
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10318
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10069
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6845
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5505
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.