Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot print: java.awt.print.PrinterException: The data area passed to a system call is too small. #674

Closed
lite1979 opened this issue Jun 16, 2020 · 2 comments

Comments

@lite1979
Copy link
Contributor

lite1979 commented Jun 16, 2020

Still need steps to reproduce.

2020-06-11 15:23:54,698 [DEBUG] Searching for PrintService matching SISFGCANON01
2020-06-11 15:23:54,698 [DEBUG] Found 18 printers
2020-06-11 15:23:54,699 [DEBUG] Found match: SISFGCANON01
2020-06-11 15:23:54,699 [DEBUG] Found Resolution: 60000x60000 dphi
2020-06-11 15:23:54,762 [DEBUG] Parsed 1 files for printing
2020-06-11 15:23:54,847 [INFO] Starting printing (4 copies)
2020-06-11 15:23:55,955 [ERROR] Failed to print
java.awt.print.PrinterException: The data area passed to a system call is too small.

	at sun.awt.windows.WPrinterJob._startDoc(Native Method)
	at sun.awt.windows.WPrinterJob.startDoc(Unknown Source)
	at sun.print.RasterPrinterJob.print(Unknown Source)
	at qz.printer.action.PrintPixel.printCopies(Unknown Source)
	at qz.printer.action.PrintPDF.print(Unknown Source)
	at qz.utils.PrintingUtilities.processPrintRequest(Unknown Source)
	at qz.ws.PrintSocketClient.processMessage(Unknown Source)
	at qz.ws.PrintSocketClient.onMessage(Unknown Source)
	at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70)
	at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:68)
	at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver$2.run(JettyAnnotatedEventDriver.java:210)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
	at java.lang.Thread.run(Unknown Source)
2020-06-11 15:52:52,306 [INFO] Connection closed: 1001 - null
@tresf
Copy link
Contributor

tresf commented Jun 16, 2020

All the online forums I'm reading state some form of the following:

  • Outdated, bad or corrupt printer driver
    -- OR --
  • Outdated, bad or corrupt Java version

We've asked the user to attempt to reinstall the driver, upgrade Java and run a system repair. We'll see what they come back with.

@tresf
Copy link
Contributor

tresf commented Aug 25, 2020

Closing due to lack of steps to reproduce from customer. Please request a reopen if the issue resurfaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants