Forum Discussion
ktchoumak
Sep 17, 2021Copper Contributor
List of printers limited by number of printers page by 100!
Getting list of universal printers from Azure by next code: var queryOptions = new List<QueryOption>
{
new QueryOption("$top", "300")
};
...
Saurabh_Bansal
Microsoft
Oct 30, 2021Getting too many printers at the same time will slow down the response. We recommend using pagination.
Are you writing an application? We also recommend to save multiple queries by caching the printer list and updating the cache only periodically. Similarly you can cache the printer's capabilities.
Are you writing an application? We also recommend to save multiple queries by caching the printer list and updating the cache only periodically. Similarly you can cache the printer's capabilities.
ktchoumak
Nov 01, 2021Copper Contributor
If you read my code - I'm getting very limited information, and getting even 10-20K printers in a list - not a big load.
You also can see my P.S. about my question.
You also can see my P.S. about my question.
- Saurabh_BansalNov 02, 2021
Microsoft
ktchoumak Before getting printers list, we need to perform multiple operations including checking user access. These operations can be time consuming - thats why we ask partners to pull the list in batches (with pagination).
Thanks
Saurabh