
23/10/2008, 16:06
|
 | | | Fecha de Ingreso: octubre-2008
Mensajes: 11
Antigüedad: 16 años, 3 meses Puntos: 0 | |
Respuesta: cola de impresion Listo ya quedo.......encontré otra pagina pero quedo muy bien....para los que les interesa aquí esta el código en VB
Código:
Imports System.Diagnostics
Public Class Form4
Const PRINTACTION_OPEN As UInteger = 0
Private Sub Form4_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
SHInvokePrinterCommand(Handle, PRINTACTION_OPEN, "HP LaserJet 2200 Series PCL (local)", Nothing, True)
End Sub
<System.Runtime.InteropServices.DllImport("shell32.dll")> _
Private Shared Function SHInvokePrinterCommand(ByVal hwnd As IntPtr, ByVal uAction As UInteger, ByVal lpBuf1 As String, ByVal lpBuf2 As String, ByVal fModal As Boolean) As Integer
End Function
End Class
|