-
May 27th, 2002, 09:28 PM
#1
How to print without ejecting paper.
Masters,
I'm developing a check printing program and my problem is that everytime I print one check, the printer ejects a lot of the continous checks. My question is, how do you print without ejecting a whole lot of the continous form paper using dot matrix printer? BTW, I initialy declared the custom size of the check (Printer.Papersize) but this did not work. Thanks in advance for help. - Mel
-
June 4th, 2002, 04:16 AM
#2
Please help, I'm desperate already!
Here's my problematic source code:
Printer.Scalemode = vbInches
Printer.Width = 7 'but always returns 1440
Printer.Height = 4 ' but always returns 720
This is why, the printer ejects so much paper when in fact, I just want to eject the the exact size of the check.
-
June 23rd, 2005, 05:11 AM
#3
Re: How to print without ejecting paper.
i too facing the same problem i too need help from u
-
June 23rd, 2005, 05:19 AM
#4
Re: How to print without ejecting paper.
Originally Posted by sravan_kesha
i too facing the same problem i too need help from u
i need help about ejecting entire paper at a time
-
June 23rd, 2005, 06:15 AM
#5
Re: How to print without ejecting paper.
If you are using crystal reports, then have you tried setting the paper width and height
-
June 23rd, 2005, 08:19 AM
#6
Re: How to print without ejecting paper.
Have you tried
Printer.Print "Your details your details your details"
Printer.Print " "
Printer.Print " "
Printer.Print " "
Printer.Print " "
Printer.Print " "
Printer.Print " "
Printer.Print " "
Printer.Print " "
Printer.Print " "
Printer.Print " "
(as many print lines as required to advance to the next top of form)
WITHOUT issuing a Printer.EndDoc statement -
ie, you are controlling the form advance with a line count
Not sure what effect this will have also
Have you tried setting
Printer.ScaleMode = vbInches
Printer.ScaleWidth = 7
Printer.ScaleHeight = 4
And then printing your form
(Sorry don't have a dot matrix printer available for testing)
-
August 18th, 2005, 03:34 PM
#7
Re: How to print without ejecting paper.
without ejecting paper in dot matrix you use the following code
open "lpt1" for output as #1
print #1 , "==================================="
print #1, " TEST PAGE "
print #1, " "
print #1, " ==================================
close #1
test this close
-
September 14th, 2005, 06:23 AM
#8
Re: How to print without ejecting paper.
I'M BACK AGAIN !!
-------------------------------------------------------------------------
enjoy the VB !
If any post helps you, please rate that.
Always try to findout the Solutions, instead just discussing the problem and its scope!
-
March 16th, 2016, 08:09 AM
#9
Re: How to print without ejecting paper.
Originally Posted by OK_Jojo
without ejecting paper in dot matrix you use the following code
open "lpt1" for output as #1
print #1 , "==================================="
print #1, " TEST PAGE "
print #1, " "
print #1, " ==================================
close #1
test this close
1. Is it possible to print in USB DOT Matrix Printer ?
2. Is it possible to change font size font style for different lines ?
-
March 18th, 2016, 08:33 AM
#10
Re: How to print without ejecting paper.
You would need to use control codes for the printer in question if you are using that method
Always use [code][/code] tags when posting code.
-
March 27th, 2016, 12:36 PM
#11
Re: How to print without ejecting paper.
Originally Posted by imagetvr
1. Is it possible to print in USB DOT Matrix Printer ?
2. Is it possible to change font size font style for different lines ?
Please note that this thread is over TEN YEARS OLD. Please do not respond to Very old threads as it messes up forum flow. rtaher start a new thread in future.
Thanks, and enjoy the forums.
Hannes
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|