By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,594 Members | 2,062 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,594 IT Pros & Developers. It's quick & easy.

How to stop paper ejecting in vb while useing printer object

P: 1
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
Share this Question
Share on Google+
1 Reply


100+
P: 267
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.