For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Crystal Reports > May 2005 > Choose Printer in Viewer control









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Choose Printer in Viewer control
LUIS

2005-05-28, 3:59 am

Is it possible to choose printer in CR Viewer Control, and not to go Windows
Setting to do so ? Please, help me.

Beforehand, thank you very much.

--
Luis Garcia
MS Developer
Charles A. Lackman

2005-05-28, 8:57 pm

To set the printer use the following code sample.

CrystalReport.PrintOptions.PrinterName = "Lexmark X6100 Series"

Hope this helps,

Chuck


"LUIS" <LUIS@discussions.microsoft.com> wrote in message
news:2E6AC5C1-19AA-41CB-BA37-A1C39871AD42@microsoft.com...
Is it possible to choose printer in CR Viewer Control, and not to go Windows
Setting to do so ? Please, help me.

Beforehand, thank you very much.

--
Luis Garcia
MS Developer


LUIS

2005-05-29, 4:01 am

Chuck

Thank you very much for your help. It will be very useful. Just one more
question. Do you know the way to list current printers ? Once again, thank
you vey much.

--
Luis Garcia
MS Developer


"Charles A. Lackman" wrote:

> To set the printer use the following code sample.
>
> CrystalReport.PrintOptions.PrinterName = "Lexmark X6100 Series"
>
> Hope this helps,
>
> Chuck
>
>
> "LUIS" <LUIS@discussions.microsoft.com> wrote in message
> news:2E6AC5C1-19AA-41CB-BA37-A1C39871AD42@microsoft.com...
> Is it possible to choose printer in CR Viewer Control, and not to go Windows
> Setting to do so ? Please, help me.
>
> Beforehand, thank you very much.
>
> --
> Luis Garcia
> MS Developer
>
>
>

LUIS

2005-05-29, 4:01 am

Chuck

Sorry for my mind-delay. I recall the "Printers" collection, to solve the
need for the last question I have asked to you. Anyway, thank you ver much.
--
Luis Garcia
MS Developer


"Charles A. Lackman" wrote:

> To set the printer use the following code sample.
>
> CrystalReport.PrintOptions.PrinterName = "Lexmark X6100 Series"
>
> Hope this helps,
>
> Chuck
>
>
> "LUIS" <LUIS@discussions.microsoft.com> wrote in message
> news:2E6AC5C1-19AA-41CB-BA37-A1C39871AD42@microsoft.com...
> Is it possible to choose printer in CR Viewer Control, and not to go Windows
> Setting to do so ? Please, help me.
>
> Beforehand, thank you very much.
>
> --
> Luis Garcia
> MS Developer
>
>
>

LUIS

2005-05-31, 4:02 am

Chuck

So sorry, I tried to find which command you told me, but in my 8.5 version,
there is no "PrinterOptions" Method in Viewer Control. Which command are you
referred?

Thank you very much.


--
Luis Garcia
MS Developer


"Charles A. Lackman" wrote:

> To set the printer use the following code sample.
>
> CrystalReport.PrintOptions.PrinterName = "Lexmark X6100 Series"
>
> Hope this helps,
>
> Chuck
>
>
> "LUIS" <LUIS@discussions.microsoft.com> wrote in message
> news:2E6AC5C1-19AA-41CB-BA37-A1C39871AD42@microsoft.com...
> Is it possible to choose printer in CR Viewer Control, and not to go Windows
> Setting to do so ? Please, help me.
>
> Beforehand, thank you very much.
>
> --
> Luis Garcia
> MS Developer
>
>
>

Charles A. Lackman

2005-05-31, 4:04 pm

Hello,

Sorry it has taken so long to get back to you, I was doing yard work for
this 3 day wend. Anyway, Here you go: This is Crystal Reports that
comes with Visual Studio .NET 2003.

Dim MyCrystal As New CrystalAccounting

MyCrystal.PrintOptions.PrinterName = "Lexmark"

I worked with Visual Studio .NET 2002 for a year and it also has the same
commands available.

You have to attact the printer to the crystal report and not to the Viewer.

Chuck



"LUIS" <LUIS@discussions.microsoft.com> wrote in message
news:493E5150-3E3F-4D71-B6C9-6D64E5FB4C8C@microsoft.com...
Chuck

So sorry, I tried to find which command you told me, but in my 8.5 version,
there is no "PrinterOptions" Method in Viewer Control. Which command are you
referred?

Thank you very much.


--
Luis Garcia
MS Developer


"Charles A. Lackman" wrote:

> To set the printer use the following code sample.
>
> CrystalReport.PrintOptions.PrinterName = "Lexmark X6100 Series"
>
> Hope this helps,
>
> Chuck
>
>
> "LUIS" <LUIS@discussions.microsoft.com> wrote in message
> news:2E6AC5C1-19AA-41CB-BA37-A1C39871AD42@microsoft.com...
> Is it possible to choose printer in CR Viewer Control, and not to go
> Windows
> Setting to do so ? Please, help me.
>
> Beforehand, thank you very much.
>
> --
> Luis Garcia
> MS Developer
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com