473,385 Members | 1,342 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.

How to set the paper height to 6 inches in VB6

Hi,
I am creating a software for a school. They are using dot matrix
printer and have preprinted stationary. Now the paper size is 6
inches, and they are using tractor feed. How can I stop the printer
after 6 inches, instead of regular 12 inch size of Fanfold paper.

Nov 6 '07 #1
3 2521
On Nov 6, 9:23 am, "pratik.b...@gmail.com" <pratik.b...@gmail.com>
wrote:
Hi,
I am creating a software for a school. They are using dot matrix
printer and have preprinted stationary. Now the paper size is 6
inches, and they are using tractor feed. How can I stop the printer
after 6 inches, instead of regular 12 inch size of Fanfold paper.
Wrong newsgroup. You need the one for "classic" VB, and not Visual
Basic .Net.

The newsgroup you need is comp.lang.basic.visual.misc

Thanks,

Seth Rowe

Nov 6 '07 #2
On Nov 6, 10:14 am, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Nov 6, 9:23 am, "pratik.b...@gmail.com" <pratik.b...@gmail.com>
wrote:
Hi,
I am creating a software for a school. They are using dot matrix
printer and have preprinted stationary. Now the paper size is 6
inches, and they are using tractor feed. How can I stop the printer
after 6 inches, instead of regular 12 inch size of Fanfold paper.

Wrong newsgroup. You need the one for "classic" VB, and not Visual
Basic .Net.

The newsgroup you need is comp.lang.basic.visual.misc

Thanks,

Seth Rowe
[Received via email]

You are right but I found so many discussions in this group concerning
VB6 and besides that I would be happy to learn same technique in
VB.net too.
If you can help you are welcome.

[End of Received via email]
You are right but I found so many discussions in this group
concerning VB6
If you saw any mention of VB6 in this newsgroup, it was surely
followed by a reply similar to mine, or it was asking something to the
effect of "I am updating an outdated VB6 project and ...." I will not,
and neither should others, answer a "classic" VB question in this
newsgroup. Doing so will just clutter up the archives and make
finding .Net answers much more difficult.
besides that I would be happy to learn same technique in
VB.net too.
Now I will help you in regard to this question. Read the following:

http://msdn2.microsoft.com/en-us/library/xdt36c58.aspx

After reading the link in it's entirety, if you still need help
setting the printer margins in .Net, please let us know and we'll try
to help further.

Thanks,

Seth Rowe

Nov 6 '07 #3
On Nov 6, 10:22 pm, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Nov 6, 10:14 am, rowe_newsgroups <rowe_em...@yahoo.comwrote:
On Nov 6, 9:23 am, "pratik.b...@gmail.com" <pratik.b...@gmail.com>
wrote:
Hi,
I am creating a software for a school. They are using dot matrix
printer and have preprinted stationary. Now the paper size is 6
inches, and they are using tractor feed. How can I stop the printer
after 6 inches, instead of regular 12 inch size of Fanfold paper.
Wrong newsgroup. You need the one for "classic" VB, and not Visual
Basic .Net.
The newsgroup you need is comp.lang.basic.visual.misc
Thanks,
Seth Rowe

[Received via email]

You are right but I found so many discussions in this group concerning
VB6 and besides that I would be happy to learn same technique in
VB.net too.
If you can help you are welcome.

[End of Received via email]
You are right but I found so many discussions in this group
concerning VB6

If you saw any mention of VB6 in this newsgroup, it was surely
followed by a reply similar to mine, or it was asking something to the
effect of "I am updating an outdated VB6 project and ...." I will not,
and neither should others, answer a "classic" VB question in this
newsgroup. Doing so will just clutter up the archives and make
finding .Net answers much more difficult.
besides that I would be happy to learn same technique in
VB.net too.

Now I will help you in regard to this question. Read the following:

http://msdn2.microsoft.com/en-us/library/xdt36c58.aspx

After reading the link in it's entirety, if you still need help
setting the printer margins in .Net, please let us know and we'll try
to help further.

Thanks,

Seth Rowe
Hi,
I understand what you say. I have already been using VB.net for last 3
years. The thing I want to know is how to stop the paper after
printing six inches in tractor feed mode, because the standard paper
size is either Letter or A4. Please give the .net option for it.

Nov 8 '07 #4

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

Similar topics

2
by: ayoubahmed | last post by:
Hi,, Im trying to print invoices in VB.net, and the invoice is 8.5 x 8.5 inches. Now i have to specify the new height, but when i do specify it using the following commands...
1
by: SpookyTooth | last post by:
I am trying to write a program that will convert a height of a person from feet and inches to centimeters. I want to use the relationship: 1 foot = 30.48 cm and 1 inch = 2.54 cm. I am trying to get...
3
by: SpookyTooth | last post by:
I am trying to write a program that will convert a height of a person from feet and inches to centimeters. I want to use the relationship: 1 foot = 30.48 cm and 1 inch = 2.54 cm. I am trying to get...
1
by: Claudio | last post by:
how do I get the paper height and width of the default printer?
6
by: Brewtzaff | last post by:
Hello, I have a little problem to print my reports on custom sized paper. I got a db containing clubmembers, a query which selects only the needed infos to print out my membershipcards. My...
0
by: luqman | last post by:
I want to change my paper size while previewing the report in ASP.Net and VS 2005, which I have defined in Server Properties of my Windows XP Pro, my Paper size is defined by the name of :...
12
by: Keith G Hicks | last post by:
I have a client that I wrote an MS Access app for quite a few years ago where they need to know the height in inches of a block of text for billing their customers. The MS Access app opens Word in...
2
by: Keith G Hicks | last post by:
I have the following code which runs fine Imports System.Drawing Partial Class _Default Inherits System.Web.UI.Page Protected Sub Button2_Click(ByVal sender As Object, ByVal e As...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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:
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
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?
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...
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...

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.