472,330 Members | 1,477 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,330 software developers and data experts.

How to stop paper ejecting in vb while useing printer object

Hai

I have to print a receipt in pre-printer stationary with bar code, My paper size is 4", i have set the paers size as

Printer.ScaleMode = 1 ' vbTwips
Printer.Height = 4 * 1440
Printer.width = 8 * 1440

but after priting this, when i put Printer.EndDoc, it is skiping the all 12" paper, in this 12" i have to print 3 receipt (4x3). If i have not used the Printer.EndDoc it is not going to the spooler,

My OS is windows 2000 and printer Epson lx-300+II dot matrix printer.

Regards

Anil
Nov 18 '06 #1
1 4236
albertw
267 100+
Hai

I have to print a receipt in pre-printer stationary with bar code, My paper size is 4", i have set the paers size as

Printer.ScaleMode = 1 ' vbTwips
Printer.Height = 4 * 1440
Printer.width = 8 * 1440

but after priting this, when i put Printer.EndDoc, it is skiping the all 12" paper, in this 12" i have to print 3 receipt (4x3). If i have not used the Printer.EndDoc it is not going to the spooler,

My OS is windows 2000 and printer Epson lx-300+II dot matrix printer.

Regards

Anil
hi

there you have a problem

but if you put Printer.EndDoc after the last print-statement ?
Nov 18 '06 #2

Sign in to post your reply or Sign up for a free account.

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...
3
by: Rick Collard | last post by:
I have been experimenting with the new Printer object in Access 2002 and discovered some unexpected database bloat. Simply assigning the same...
2
by: Regis | last post by:
Hie, I'm converting a VB6 Application to VB.NET (architect 2003). In my VB6 Software, I'm using printer object to print directly to the...
1
by: Sanjoy GuhaRoy via DotNetMonster.com | last post by:
I want to know what is the corresponding printer object of VB6 in VB.Net In VB 6 printer object was default and we could use it and call all its...
0
by: Blaine Manyluk | last post by:
I know that Access 2002+ can run an application in Access 2000 file format without having to convert. A few questions remain: Can an app in...
2
by: kumarmanoj_pat | last post by:
hi, i want to write a program to print text on printer through printer object. i also want to stop printing just after printing text. now if, i...
2
by: vinojkumar | last post by:
Pls I need a help In printer object Printer.Height = 5*567 This working properly with windows 98 but in windows - xp printer is skipping ie...
1
by: heroscripts | last post by:
Does anyone know how to assign a value for user-defined paper size in VB6 Printer object at runtime or design time? In Windows OS you can easily do...
0
by: shanavaspi | last post by:
Hi guys am using printer object to print Printer.print "Text" Printer.enddoc After the end doc the paper jumps to next page Hoe i stop...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: tammygombez | last post by:
Hey everyone! I've been researching gaming laptops lately, and I must say, they can get pretty expensive. However, I've come across some great...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...

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.