A. I need to write a javascript that will send a print job to a certain printer, and suppress all of the dialogue boxes.
B. I found a nifty javascript that does almost exactly what I want.
C. When I run the script as written, it dies on this line~
var objPrintParams = doc.getPrintParams();
The err.description is~
'doc' is undefined
D. When I replace "doc." with "document.", it still dies on that line. The err.description is~
object doesn't support this property or method
How can I fix this problem?
B. I found a nifty javascript that does almost exactly what I want.
C. When I run the script as written, it dies on this line~
var objPrintParams = doc.getPrintParams();
The err.description is~
'doc' is undefined
D. When I replace "doc." with "document.", it still dies on that line. The err.description is~
object doesn't support this property or method
How can I fix this problem?