Ticket printing

Moderator: crythias

Post Reply
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Ticket printing

Post by gusmaer »

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.
estomagado
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

Post by estomagado »

gusmaer wrote: 27 Sep 2019, 18:56 More information about this error may be available in the server error log.
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
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Ticket printing

Post by root »

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
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 ?
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Ticket printing

Post by gusmaer »

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
skullz
Znuny superhero
Posts: 621
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Ticket printing

Post by skullz »

perl module PDF::API2 installed ?
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Ticket printing

Post by gusmaer »

hello, if installed
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Ticket printing

Post by root »

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
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 ?
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Ticket printing

Post by gusmaer »

Hi, thanks for the comments.
We use Lubuntu 17.10 and libpng is installed in version 1.6.34.
root
Administrator
Posts: 3960
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Ticket printing

Post by root »

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
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 ?
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Ticket printing

Post by gusmaer »

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
Thank you very much for the help.
I took out the PDF logo and the ticket printing worked correctly.

Subject resolved.
Post Reply