Error getting tags :
error 404Error getting tags :
error 404
get the availablePrinters
if tPrinter is not among the lines of the availablePrinters then
answer error "Printer not found"
end if
set the printerName to (line 1 of the availablePrinters)
Use the availablePrinters property to find out the names of the printers installed on the current system.
Value
The availablePrinters is a return-delimited list of printer names (i.e. one per line).
Comments
The availablePrinters property is read-only and cannot be set.