Re: printing using tabs
- From: "Mike Williams" <Mike@xxxxxxxxxxxxxxxxx>
- Date: Tue, 25 Jul 2006 14:31:59 +0100
"Mitch5713" <mitch@xxxxxxxx> wrote in message news:4F047FBC-F90A-40CD-9126-BCDFB2F659E4@xxxxxxxxxxxxxxxx
I have a program with two tabs on it , they both just contain data
Tab#1 and Tab#2 I wish to print them concurrently on the printer.
The printer is set to duples so it makes sense if I print data on Tab
#1 then #2 it should be front page and back page!!! How do I
print this VB5.0
As Ken has said, the reason you're not getting much response is probably because you're not giving a great deal of information. For example, the phrase "Print data on Tab #1" doesn't say a lot about what you are printing. However, if your question is merely about the mechanics of duplex printing then the general idea is as follows:
Private Sub Command1_Click()
Printer.Print ' always start every print job with this
Printer.CurrentX = 0: Printer.CurrentY = 0
Printer.Print "This is some text on page one"
Printer.NewPage
Printer.Print "This text is on page two"
Printer.NewPage
Printer.Print "Page three"
Printer.NewPage
Printer.Print "Page four"
Printer.EndDoc
End Sub
The behaviour depends on the model of printer you are using, but in general if your printer is set to duplex mode then when you run the above code most printers will print pages one and three for you. You should wait until those two pages both appear in the output tray. Your printer will then pop up a message box telling you what to do in order to print the other sides of the pages (page numbers two and four in this case). It will be something like, "Remove the pages from the output tray and turn them over left to right so that the front edge remains at the front and place them back into the intray". When you have done that you click the button on the pop up window and the printer will print the other side of both sheets. The precise instructions vary from printer to printer (Epson and Canon inkjets for example print on the upward facing side of the *** as it is pulled through the printer whereas HP inkjets flip the *** over as it runs through the rollers and effectively print on the downward facing side). Also, on many printers the instructions will vary even on the same printer, depending on whether you have selected "long side stapling" or "short side stapling" in your duplex settings. None of that is a problem though. All you have to do is follow the instructions in the pop up window that your printer will display when it wants you to turn the pages over.
Mike
.
- Follow-Ups:
- Re: printing using tabs
- From: Mitch5713
- Re: printing using tabs
- Prev by Date: Re: runing VB 3.0 application on XP with MS SQL 6.5
- Next by Date: Re: Need help with ActiveX Script!!!
- Previous by thread: Re: printing using tabs
- Next by thread: Re: printing using tabs
- Index(es):