Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I'm making the following call:
cupsGetDest(0,0,numDests,dests);
Where numDests and dests are set appropriately. null is returned, even though I have a default printer set. Why is this?
numDests
dests
null
Turns out I was running this as root instead of the desktop user, hence the problem.