Ticket printing
Moderator: crythias
Ticket printing
Hello, we are needing to be able to print some tickets.
When we select the ticket and then the "print" option generates the following error message.
On the server the printer is configured and any document that is outside the application of tciket's can be printed.
Is there any special configuration that must be done in OTRS to be able to print?
Thank you.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
When we select the ticket and then the "print" option generates the following error message.
On the server the printer is configured and any document that is outside the application of tciket's can be printed.
Is there any special configuration that must be done in OTRS to be able to print?
Thank you.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
-
- Znuny newbie
- Posts: 44
- Joined: 20 Sep 2019, 16:24
- Znuny Version: 6.0.36
- Real Name: Henrique Ulbrich
- Company: Design for Context
Re: Ticket printing
I think you should post here the mentioned error log from the server.
--
Your pal
Estomagado
Znuny 6.0.36 Vanilla (no add-ons installed, no fancy customization)
MySQL BD backend for external customer users
LDAP (AD) backend for internal customer users & agents
Your pal
Estomagado
Znuny 6.0.36 Vanilla (no add-ons installed, no fancy customization)
MySQL BD backend for external customer users
LDAP (AD) backend for internal customer users & agents
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Ticket printing
Hi,
tickets are printed by generating a PDF and send to the browser. No need to install a printer for the server so far. Let's have a look into the webserver's error_log to see why the internal error is generated.
- Roy
tickets are printed by generating a PDF and send to the browser. No need to install a printer for the server so far. Let's have a look into the webserver's error_log to see why the internal error is generated.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Ticket printing
Send the content of the requested log
[Mon Sep 30 00:08:00.375546 2019] [mpm_event:notice] [pid 1487:tid 139730638293952] AH00489: Apache/2.4.27 (Ubuntu) mod_perl/2.0.10 Perl/v5.26.0 configured -- resuming normal operations
[Mon Sep 30 00:08:00.375581 2019] [core:notice] [pid 1487:tid 139730638293952] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 30 08:44:19.407773 2019] [:error] [pid 27463:tid 139729177671424] [Mon Sep 30 08:44:19 2019] -e: Unsupported Interlace(1) Method at /opt/otrs/Kernel/cpan-lib/PDF/API2/Resource/XObject/Image/PNG.pm line 45.\n
[Mon Sep 30 12:06:34.274629 2019] [:error] [pid 27463:tid 139730209449728] [Mon Sep 30 12:06:34 2019] -e: Unsupported Interlace(1) Method at /opt/otrs/Kernel/cpan-lib/PDF/API2/Resource/XObject/Image/PNG.pm line 45.\n
[Mon Sep 30 12:07:57.560323 2019] [:error] [pid 27464:tid 139730493269760] [Mon Sep 30 12:07:57 2019] -e: Unsupported Interlace(1) Method at /opt/otrs/Kernel/cpan-lib/PDF/API2/Resource/XObject/Image/PNG.pm line 45.\n
[Mon Sep 30 12:08:35.157832 2019] [:error] [pid 27463:tid 139729169278720] [Mon Sep 30 12:08:34 2019] -e: Unsupported Interlace(1) Method at /opt/otrs/Kernel/cpan-lib/PDF/API2/Resource/XObject/Image/PNG.pm line 45.\n
[Mon Sep 30 00:08:00.375546 2019] [mpm_event:notice] [pid 1487:tid 139730638293952] AH00489: Apache/2.4.27 (Ubuntu) mod_perl/2.0.10 Perl/v5.26.0 configured -- resuming normal operations
[Mon Sep 30 00:08:00.375581 2019] [core:notice] [pid 1487:tid 139730638293952] AH00094: Command line: '/usr/sbin/apache2'
[Mon Sep 30 08:44:19.407773 2019] [:error] [pid 27463:tid 139729177671424] [Mon Sep 30 08:44:19 2019] -e: Unsupported Interlace(1) Method at /opt/otrs/Kernel/cpan-lib/PDF/API2/Resource/XObject/Image/PNG.pm line 45.\n
[Mon Sep 30 12:06:34.274629 2019] [:error] [pid 27463:tid 139730209449728] [Mon Sep 30 12:06:34 2019] -e: Unsupported Interlace(1) Method at /opt/otrs/Kernel/cpan-lib/PDF/API2/Resource/XObject/Image/PNG.pm line 45.\n
[Mon Sep 30 12:07:57.560323 2019] [:error] [pid 27464:tid 139730493269760] [Mon Sep 30 12:07:57 2019] -e: Unsupported Interlace(1) Method at /opt/otrs/Kernel/cpan-lib/PDF/API2/Resource/XObject/Image/PNG.pm line 45.\n
[Mon Sep 30 12:08:35.157832 2019] [:error] [pid 27463:tid 139729169278720] [Mon Sep 30 12:08:34 2019] -e: Unsupported Interlace(1) Method at /opt/otrs/Kernel/cpan-lib/PDF/API2/Resource/XObject/Image/PNG.pm line 45.\n
-
- Znuny superhero
- Posts: 624
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Ticket printing
perl module PDF::API2 installed ?
Re: Ticket printing
hello, if installed
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Ticket printing
Hi,
no need to install PDF::API2, it's bundled with OTRS. What Linux distro and version do you using? Any outstanding updates on libpng or similiar packages?
- Roy
no need to install PDF::API2, it's bundled with OTRS. What Linux distro and version do you using? Any outstanding updates on libpng or similiar packages?
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Ticket printing
Hi, thanks for the comments.
We use Lubuntu 17.10 and libpng is installed in version 1.6.34.
We use Lubuntu 17.10 and libpng is installed in version 1.6.34.
-
- Administrator
- Posts: 3968
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Ticket printing
Hi,
I suggest it is the logo you have configured for the PDF: https://bugs.otrs.org/show_bug.cgi?id=12629
Try to replace the logo (System Configuration PDF::LogoFile) with a non-interlaced png or in another format.
- Roy
I suggest it is the logo you have configured for the PDF: https://bugs.otrs.org/show_bug.cgi?id=12629
Try to replace the logo (System Configuration PDF::LogoFile) with a non-interlaced png or in another format.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Re: Ticket printing
Thank you very much for the help.root wrote: ↑04 Oct 2019, 08:24 Hi,
I suggest it is the logo you have configured for the PDF: https://bugs.otrs.org/show_bug.cgi?id=12629
Try to replace the logo (System Configuration PDF::LogoFile) with a non-interlaced png or in another format.
- Roy
I took out the PDF logo and the ticket printing worked correctly.
Subject resolved.