Posted on 03-06-2014 10:08 AM
I feel silly.
JSS 9.2, trying to create a self-service script that unmaps and remaps printers
I go to the Printers payload and add two new printer items for each printer I want to unmap and set the drop down to "unmap."
I then add two new printers items for each printer I want to remap and set the drop down to "Map."
But then the ORDER of the items changes and the Map commands execute before the unmap commands. So essentially the policy now adds two printers and then immediately unmaps them. No combination of removing and readding commands, or changing the drop downs will change the order in which these execute. It always Maps the printers first and then immediately unmaps them.
Am I crazy? Am I missing something here?
Posted on 03-06-2014 10:36 AM
You could use scripts to delete the queues and set them to run "before" in the printer policy. Thats one way to do it.
Find the queue name
lpstat -v
Deletes queue by name
lpadmin -x queue_name
Posted on 03-06-2014 03:57 PM
Yea that would work, I just tend to avoid scripting when there's a feature that ought to do it normally.
No way to sort this "unmap" and "map" so that the logical one goes first?
Posted on 07-20-2015 01:06 AM
i have the same problem here as @dsandquisit the order just changed and i can't manage them unmap first!
Posted on 11-01-2016 08:16 AM
This is STILL an issue in 9.96... It's really frustrating.