argument passed into qz.printers.details().then(function(data)

8 views
Skip to first unread message

minns...@gmail.com

unread,
Jan 21, 2020, 12:49:59 PM1/21/20
to qz-print
Can I pass the printer I want to get the trays from like so qz.printers.details(printer).then(function(data)

Tres Finocchiaro

unread,
Jan 21, 2020, 12:52:42 PM1/21/20
to minns...@gmail.com, qz-print
Sorry, this feature is not yet available.  Currently, you can only fetch all printer details.

On Tue, Jan 21, 2020 at 12:50 PM <minns...@gmail.com> wrote:
Can I pass the printer I want to get the trays from like so qz.printers.details(printer).then(function(data)

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/7979f9d0-f2f0-403b-a6f2-a1e7011c1867%40googlegroups.com.

minns...@gmail.com

unread,
Jan 21, 2020, 12:55:22 PM1/21/20
to qz-print
Okay, thanks for the quick response


On Tuesday, January 21, 2020 at 11:52:42 AM UTC-6, Tres Finocchiaro wrote:
Sorry, this feature is not yet available.  Currently, you can only fetch all printer details.
On Tue, Jan 21, 2020 at 12:50 PM <minns...@gmail.com> wrote:
Can I pass the printer I want to get the trays from like so qz.printers.details(printer).then(function(data)

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-p...@googlegroups.com.

minns...@gmail.com

unread,
Jan 21, 2020, 12:59:00 PM1/21/20
to qz-print
Is there a way to know what Trays line up with what printer if the user is connected to multiple printers


On Tuesday, January 21, 2020 at 11:52:42 AM UTC-6, Tres Finocchiaro wrote:
Sorry, this feature is not yet available.  Currently, you can only fetch all printer details.
On Tue, Jan 21, 2020 at 12:50 PM <minns...@gmail.com> wrote:
Can I pass the printer I want to get the trays from like so qz.printers.details(printer).then(function(data)

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-p...@googlegroups.com.

Tres Finocchiaro

unread,
Jan 21, 2020, 1:04:35 PM1/21/20
to minns...@gmail.com, qz-print
Is there a way to know what Trays line up with what printer if the user is connected to multiple printers

The printer name is part of the response, so I'm slightly confused by the question.  Can you elaborate?

To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/d41b9758-3fae-4c15-8f51-e468936ae1ea%40googlegroups.com.

minns...@gmail.com

unread,
Jan 21, 2020, 1:06:18 PM1/21/20
to qz-print
I think that answers my question. So when I call qz.printers.details() i also get the printers name


On Tuesday, January 21, 2020 at 12:04:35 PM UTC-6, Tres Finocchiaro wrote:
Is there a way to know what Trays line up with what printer if the user is connected to multiple printers

The printer name is part of the response, so I'm slightly confused by the question.  Can you elaborate?
On Tue, Jan 21, 2020 at 12:59 PM <minns...@gmail.com> wrote:
Is there a way to know what Trays line up with what printer if the user is connected to multiple printers

On Tuesday, January 21, 2020 at 11:52:42 AM UTC-6, Tres Finocchiaro wrote:
Sorry, this feature is not yet available.  Currently, you can only fetch all printer details.

On Tue, Jan 21, 2020 at 12:50 PM <minns...@gmail.com> wrote:
Can I pass the printer I want to get the trays from like so qz.printers.details(printer).then(function(data)

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-p...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/7979f9d0-f2f0-403b-a6f2-a1e7011c1867%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-p...@googlegroups.com.

Tres Finocchiaro

unread,
Jan 21, 2020, 1:16:24 PM1/21/20
to minns...@gmail.com, qz-print
Correct, and this name can be passed directly into the qz.configs.create(PRINTER_NAME, ...)

To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/754c53fe-0d75-4872-a649-0a099a9ac00a%40googlegroups.com.

minns...@gmail.com

unread,
Jan 21, 2020, 2:45:19 PM1/21/20
to qz-print
I get _qz.websocket.connection.sendData is not a function as an error when I call qz.printers.details()

is this error related to qz.printers.details()

On Tuesday, January 21, 2020 at 12:16:24 PM UTC-6, Tres Finocchiaro wrote:
Correct, and this name can be passed directly into the qz.configs.create(PRINTER_NAME, ...)

Tres Finocchiaro

unread,
Jan 21, 2020, 2:51:33 PM1/21/20
to minns...@gmail.com, qz-print
Can you please attach the logs?

Advanced > Diagnostic > Zip logs

-Tres

To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/f259e9ad-01c1-49a5-a5ea-73a74bf8c626%40googlegroups.com.

minns...@gmail.com

unread,
Jan 21, 2020, 3:49:52 PM1/21/20
to qz-print

I don't see away to attach a folder on the support page?

On Tuesday, January 21, 2020 at 1:51:33 PM UTC-6, Tres Finocchiaro wrote:
Can you please attach the logs?

Advanced > Diagnostic > Zip logs

-Tres

Austin Mcgaugh

unread,
Jan 21, 2020, 4:14:46 PM1/21/20
to qz-print
You received this message because you are subscribed to a topic in the Google Groups "qz-print" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qz-print/tNik2OVJ3ss/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/8298ede6-51f8-411b-916a-eea255a5e350%40googlegroups.com.
qz-2020-01-21_1447.zip

minns...@gmail.com

unread,
Jan 21, 2020, 4:15:20 PM1/21/20
to qz-print
I just realized I can email it to you 


On Tuesday, January 21, 2020 at 1:51:33 PM UTC-6, Tres Finocchiaro wrote:
Can you please attach the logs?

Advanced > Diagnostic > Zip logs

-Tres

Tres Finocchiaro

unread,
Jan 21, 2020, 4:41:35 PM1/21/20
to minns...@gmail.com, qz-print
Sorry for the trouble.

The logs appear a bit strange as some items are showing up way more times than expected.

Can you install AdoptOpenJDK11 and then try the tests again?

What I'm seeing in the logs suggests that the software is crashing as soon as the 7 printers are found.

This could be a bug with the program, a bug with Java or something else.

2020-01-21 12:21:26,112 [DEBUG] Calculated dialog centered at: java.awt.Point[x=2723,y=433]
2020-01-21 12:21:26,606 [INFO] Allowed Netsmart to access connected printers
2020-01-21 12:21:26,607 [DEBUG] Found 7 printers
2020-01-21 12:21:40,915 [INFO] Connection closed: 1011 - EofException

To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/0ee7dbe2-8bdd-4e39-a389-f9561906299e%40googlegroups.com.

minns...@gmail.com

unread,
Jan 21, 2020, 5:03:16 PM1/21/20
to qz-print
what is AdoptOpenJDK11?


On Tuesday, January 21, 2020 at 3:41:35 PM UTC-6, Tres Finocchiaro wrote:
Sorry for the trouble.

The logs appear a bit strange as some items are showing up way more times than expected.

Can you install AdoptOpenJDK11 and then try the tests again?

What I'm seeing in the logs suggests that the software is crashing as soon as the 7 printers are found.

This could be a bug with the program, a bug with Java or something else.

2020-01-21 12:21:26,112 [DEBUG] Calculated dialog centered at: java.awt.Point[x=2723,y=433]
2020-01-21 12:21:26,606 [INFO] Allowed Netsmart to access connected printers
2020-01-21 12:21:26,607 [DEBUG] Found 7 printers
2020-01-21 12:21:40,915 [INFO] Connection closed: 1011 - EofException

Tres Finocchiaro

unread,
Jan 21, 2020, 8:22:56 PM1/21/20
to minns...@gmail.com, qz-print
It's the updated version of Java, without Oracle's licensing restrictions.

To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/944381ab-c9cb-47f1-be88-fe3f77f862a9%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages