|
|
Printer Object Spilt page vertically |
|
Author |
Message |
hhf

|
Posted: Fri Mar 11 08:30:37 CST 2005 |
Top |
Visual Basic >> Printer Object Spilt page vertically
Hi all,
I need to split a page vertically into two using printer object...
Example
Split side 1 Split Part 2
Destination: London Name: John Smith
Airline: XYZ Airlines Status: Rich man
Airfare: 450.00 Weight: 859lbs
Also I would like to print logo using printer object... How can I specify
logo size, position
Can anyone point me to resources/sample code
Thanks in advance
Visual Studio321
|
|
|
|
 |
MikeD

|
Posted: Fri Mar 11 08:30:37 CST 2005 |
Top |
Visual Basic >> Printer Object Spilt page vertically
> Hi all,
>
> I need to split a page vertically into two using printer object...
> Example
>
> Split side 1 Split Part 2
> Destination: London Name: John Smith
> Airline: XYZ Airlines Status: Rich man
> Airfare: 450.00 Weight: 859lbs
>
> Also I would like to print logo using printer object... How can I specify
> logo size, position
>
> Can anyone point me to resources/sample code
>
The Print method accepts arguments (not really arguments as they're part of
the syntax of whatever you're printing) for specifying print positions. For
example (air code),
Printer.Print "Destination: " & sDestination; Tab(3); "Name: " & sName
Look up the Print method for more information.
Alternatively, you can explicitly set the X and Y coordinates using the
CurrentX and CurrentY properties. Regarding the logo, you can use the
PaintPicture method to print it.
--
Mike
Microsoft MVP Visual Basic
|
|
|
|
 |
JP

|
Posted: Fri Mar 11 08:54:36 CST 2005 |
Top |
Visual Basic >> Printer Object Spilt page vertically
Thanks very much Mike. I manipulated the currentX and CurrentY and got it. I
appreciate your help. I will like at the Paint picture.
>
> > Hi all,
> >
> > I need to split a page vertically into two using printer object...
> > Example
> >
> > Split side 1 Split Part 2
> > Destination: London Name: John Smith
> > Airline: XYZ Airlines Status: Rich man
> > Airfare: 450.00 Weight: 859lbs
> >
> > Also I would like to print logo using printer object... How can I
specify
> > logo size, position
> >
> > Can anyone point me to resources/sample code
> >
>
>
> The Print method accepts arguments (not really arguments as they're part
of
> the syntax of whatever you're printing) for specifying print positions.
For
> example (air code),
>
> Printer.Print "Destination: " & sDestination; Tab(3); "Name: " & sName
>
> Look up the Print method for more information.
>
> Alternatively, you can explicitly set the X and Y coordinates using the
> CurrentX and CurrentY properties. Regarding the logo, you can use the
> PaintPicture method to print it.
>
> --
> Mike
> Microsoft MVP Visual Basic
>
>
>
|
|
|
|
 |
|
|