How do I get "collate" from e?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Liles

    #1

    How do I get "collate" from e?

    I am using Visual Basic.NET 2002 and cannot get "collate" from the
    PrintDialog1 or e.PageSettings. PrinterSettings .Collate to return anything
    but "False." What am I doing wrong?

    I am using
    PrintDialog1.Do cument = PrintDocument1
    'PrintDialog1.P rinterSettings. Copies = 4 'I have tried these two lines
    too
    'PrintDialog1.P rinterSettings. Collate = True 'I get the 4 but not the
    True
    If PrintDialog1.Sh owDialog() = DialogResult.OK Then
    Messagebox.Show (PrintDocument1 .PrinterSetting s.Collate .ToString)
    PrintPreview1.D ocument = PrintDocument1
    'PrintPreview1. Document = PrintDialog1.Do cument 'I have tried this too
    PrintPreview1.S howDialog()
    End If

    TIA, Bobbo


  • CT

    #2
    Re: How do I get "collate&q uot; from e?

    Okay, I might be asking the obvious, but does the printer and the driver
    support collating?

    --
    Carsten Thomsen
    Communities - http://community.integratedsolutions.dk

    "Robert Liles" <rliles@midsout h.rr.com> wrote in message
    news:qSs3f.3560 0$tD4.4704@torn ado.ohiordc.rr. com...[color=blue]
    >I am using Visual Basic.NET 2002 and cannot get "collate" from the
    >PrintDialog1 or e.PageSettings. PrinterSettings .Collate to return anything
    >but "False." What am I doing wrong?
    >
    > I am using
    > PrintDialog1.Do cument = PrintDocument1
    > 'PrintDialog1.P rinterSettings. Copies = 4 'I have tried these two lines
    > too
    > 'PrintDialog1.P rinterSettings. Collate = True 'I get the 4 but not the
    > True
    > If PrintDialog1.Sh owDialog() = DialogResult.OK Then
    > Messagebox.Show (PrintDocument1 .PrinterSetting s.Collate .ToString)
    > PrintPreview1.D ocument = PrintDocument1
    > 'PrintPreview1. Document = PrintDialog1.Do cument 'I have tried this
    > too
    > PrintPreview1.S howDialog()
    > End If
    >
    > TIA, Bobbo
    >[/color]


    Comment

    • Robert Liles

      #3
      Re: How do I get &quot;collate&q uot; from e?

      Yes, it does.
      [color=blue]
      > Okay, I might be asking the obvious, but does the printer and the driver
      > support collating?[/color]


      Comment

      • Robert Liles

        #4
        Re: How do I get &quot;collate&q uot; from e? - CLARIFICATION

        If I check the "Collate" box in the PrintDialog it is ignored, always
        returns "False" and does not collate. If I add the line
        e.PageSettings. PrinterSettings .Collate = True
        in my print routine, it does Collate just fine. How can I get it to
        recognize that the user has checked the Collate box in the PrintDialog? Or,
        how can I determine that the user has checked the Collate box so I can
        programatically turn on Collation?

        TIA, Bobbo
        ---------------------------------------------------------------------------
        "Robert Liles" <rliles@midsout h.rr.com> wrote in message
        news:qSs3f.3560 0$tD4.4704@torn ado.ohiordc.rr. com...[color=blue]
        >I am using Visual Basic.NET 2002 and cannot get "collate" from the
        >PrintDialog1 or e.PageSettings. PrinterSettings .Collate to return anything
        >but "False." What am I doing wrong?
        >
        > I am using
        > PrintDialog1.Do cument = PrintDocument1
        > 'PrintDialog1.P rinterSettings. Copies = 4 'I have tried these two lines
        > too
        > 'PrintDialog1.P rinterSettings. Collate = True 'I get the 4 but not the
        > True
        > If PrintDialog1.Sh owDialog() = DialogResult.OK Then
        > Messagebox.Show (PrintDocument1 .PrinterSetting s.Collate .ToString)
        > PrintPreview1.D ocument = PrintDocument1
        > 'PrintPreview1. Document = PrintDialog1.Do cument 'I have tried this
        > too
        > PrintPreview1.S howDialog()
        > End If
        >
        > TIA, Bobbo
        >[/color]


        Comment

        Working...