Limitations with Google Cloud Print

307 views
Skip to first unread message

Simon Cheng

unread,
May 16, 2016, 12:23:28 PM5/16/16
to Google Apps Manager
Hi,

I'm trying to use various functions with regards to Cloud Print, but it seems that not everything gets reported that I would expect. When I run "gam print printjobs" I get cut off at 25 print jobs. Is this a limitation of GAM, the Cloud Print API, or am I doing something wrong? If I refine my queries for specific statuses or printers and don't hit the 25 limit, I also get cut off from older print jobs (only a few days old).

Thanks!

Ross Scroggs

unread,
May 16, 2016, 1:44:50 PM5/16/16
to google-ap...@googlegroups.com
Simon,

GAM uses an API default that limits you to 25 print jobs. I have submitted a pull request to Jay to fix the issue but he hasn't processed it yet.

In the meantime, you can get a gam version that fixes the issue here: https://github.com/taers232c/GAM/releases/tag/v3.66

You would say: gam print printjobs limit <N>
<N> defaults to 25, you can set it to a larger value or you can set it to 0 which means all print jobs.
The print jobs are fetched in batches of 100.
The same option has been added to: gam printjob <PrinterID fetch limit <N>

Ross

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/63af4145-d57a-4480-8dca-aa89fb79542b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages