469,273 Members | 1,810 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,273 developers. It's quick & easy.

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 4055
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

Post your reply

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

Similar topics

5 posts views Thread by Tom Berry | last post: by
3 posts views Thread by Rick Collard | last post: by
2 posts views Thread by Regis | last post: by
1 post views Thread by Sanjoy GuhaRoy via DotNetMonster.com | last post: by
reply views Thread by Blaine Manyluk | last post: by
reply views Thread by shanavaspi | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.