04-25-2007 10:49 AM
I found the reason for 'Invalid printer name ' error.
The Pint report.vi out 'Invalid printer name ' error for all errors not just for invalid name.
HP printers out error if margins are wrong and it is a reason that the 'Invalid printer name ' error is apearing during the print report.vi.
The Labview margins default is 1 and in European computers the default measurement system is metric(cm). The HP printers out error while 1cm margins are set. To solve the problem increase the margins value or set measurement system to US (inches). It solved printing problem with HP printer in my application.
12-07-2010 01:00 PM
Thanks Mr. Alex,
That is a great piece of information. I had problem with the Microsoft XPS writer used as a printer. When I changed the margins, it worked fine. Thanks.
U Karthik,
Servo Hydraulic Systems.