![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I want to print only a string but I can't find the method. My code is: Dim s as String Dim p As Printer For Each p In Printers If p.DeviceName = "\\Recepcion02\ZDesigner LP 2824" Then Set Printer = p Exit For End If Next s = code.Value Printer.Print s This last command fails. thanks for the help. Marc |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
With your modification occurs the same problem. The line p.Print s shows me an error that this object dont admitt this property or method. I'm not sure if it's posible to print a string. Maybe I have to reserve and standard output and print like a shell. knows somebody more from that? thanks for the help. Marc |
#5
| |||
| |||
|
|
With your modification occurs the same problem. The line p.Print s shows me an error that this object dont admitt this property or method. I'm not sure if it's posible to print a string. Maybe I have to reserve and standard output and print like a shell. knows somebody more from that? thanks for the help. Marc |
#6
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |