Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/12/2011, 13:21
dconsolidado
 
Fecha de Ingreso: noviembre-2008
Mensajes: 38
Antigüedad: 15 años, 5 meses
Puntos: 2
Respuesta: Problemas con el Printer.copies

Hola,

Gracias por contestar.

Te cuento dandole vueltas, le pase un parametro quedando asi:

Imprmir_Guia_Consolidada cbCarga.Text, Fila, Check1.Value

Código vb:
Ver original
  1. Sub Imprmir_Guia_Consolidada(ByVal NroEnvioAct As Boolean, _
  2.                              ByVal cFilaActual As String, _
  3.                              ByVal Intercalado As String)
  4.  
  5. ...
  6.  
  7. nHora1 = Format(Time, "hh:mm")
  8. TWIPS = 567
  9. Printer.ScaleMode = 7
  10. Printer.FontName = "COURIER NEW"
  11. Printer.PaperSize = vbPRPSA4
  12. Printer.Orientation = vbPRORPortrait
  13. Printer.PrintQuality = vbPRPQDraft
  14. [B]Printer.Copies = IIf(Intercalado = True, 2, 1)[/B]
  15. ImprimeCabeceradeGuia nLocaIndividual, _
  16.  
  17.  
  18.  
  19. ....

y cuando le paso chek1.value=true, debería ser 2 ... pero me sale el error...