I am using the following script to print to a printer on the network. But Business Objects keep printing to the default printer. Has any one run into this problem?
Sub Main()
dim doc as BODocument
set doc = Application.Documents.Item(1)
doc.Refresh
doc.printout (“Printer Name”)
End Sub
Yes, I have had this problem. Be careful as to how you specify the printer, sometimes the order of
words is reversed.
In my script I send a printout to \TCEPRINT\ISPRT7 but under Printers in Windows NT it is listed
as “ISPRT7 on TCEPRINT” which won’t work in the printout statement causing it to go the default when it does not resolve the name. Use the exact string that appears when you do a print from Business Objects
I am using the following script to print to a printer on the network. But Business Objects keep printing to the default printer. Has any one run into this problem?