Sets the paper bin to be used by the active printer.
public Boolean PrintSetPaperBin( PaperSource PaperBin );
Public Function PrintSetPaperBin( ByVal PaperBin As PaperSource ) As Boolean
|
Parameters |
Description |
|
PaperBin |
The paper bin to use. A PaperSource object. |
True if the paper bin has been selected else false (unsupported paper bin).
Retrieve information about all paper sources available in the current printer.
Private prn As New Printing.PrintDocument Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For n As Integer = 0 To prn.DefaultPageSettings.PrinterSettings.PaperSources.Count - 1 MsgBox(prn.DefaultPageSettings.PrinterSettings.PaperSources(n).ToString) Next
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|