files_pdfviewer icon indicating copy to clipboard operation
files_pdfviewer copied to clipboard

Rasterized text on printouts

Open eldroiderino opened this issue 1 year ago • 0 comments

Hello, my Nextcloud's pdf.js rasterizes the characters when printing PDF text documents, which reduces the print quality considerably. I am using a rather old printer with a TurboPrint Linux driver, which is connected to a local print server. Any help would be greatly appreciated.

Steps to reproduce

  1. Print a PDF text document using Nextcloud's inbuild pdf.js
  2. Print the same document using Firefox's inbuild pdf.js (with identical printer configuration)

Expected behaviour

All printouts should look the same

Actual behaviour

When printing using Nextcloud's pdf.js, text gets rasterized and characters look blurred

Server configuration

Operating system: Linux 5.4.210-1-MANJARO

Web server: nginx/1.22.0

Database: 10.8.3-MariaDB-log Arch Linux

PHP version: PHP 8.1.9

Nextcloud version: Nextcloud Hub 5 (27.0.0)

List of activated apps:

  • activity: 2.19.0
  • bookmarks: 13.0.1
  • calendar: 4.4.3
  • circles: 27.0.0
  • cloud_federation_api: 1.10.0
  • comments: 1.17.0
  • contacts: 5.3.2
  • contactsinteraction: 1.8.0
  • dav: 1.27.0
  • facerecognition: 0.9.20
  • federatedfilesharing: 1.17.0
  • federation: 1.17.0
  • files: 1.22.0
  • files_external: 1.19.0
  • files_pdfviewer: 2.8.0
  • files_rightclick: 1.6.0
  • files_sharing: 1.19.0
  • files_trashbin: 1.17.0
  • files_versions: 1.20.0
  • integration_dropbox: 2.0.1
  • logreader: 2.12.0
  • lookup_server_connector: 1.15.0
  • mail: 3.2.5
  • maps: 1.1.0
  • nextcloud_announcements: 1.16.0
  • notifications: 2.15.0
  • oauth2: 1.15.0
  • onlyoffice: 8.1.0
  • password_policy: 1.17.0
  • photos: 2.3.0
  • polls: 5.2.0
  • previewgenerator: 5.3.0
  • privacy: 1.11.0
  • provisioning_api: 1.17.0
  • recommendations: 1.6.0
  • related_resources: 1.2.0
  • serverinfo: 1.17.0
  • settings: 1.9.0
  • sharebymail: 1.17.0
  • spreed: 17.0.3
  • support: 1.10.0
  • survey_client: 1.15.0
  • systemtags: 1.17.0
  • tasks: 0.15.0
  • text: 3.8.0
  • theming: 2.2.0
  • twofactor_backupcodes: 1.16.0
  • updatenotification: 1.17.0
  • user_status: 1.7.0
  • video_converter: 1.0.6
  • viewer: 2.1.0
  • workflow_pdf_converter: 1.12.0
  • workflowengine: 2.9.0

Nextcloud configuration: { "system": { "instanceid": "REMOVED SENSITIVE VALUE", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusted_domains": [ "myip", "mydomain" ], "datadirectory": "REMOVED SENSITIVE VALUE", "dbtype": "mysql", "version": "27.0.0.8", "overwrite.cli.url": "https://mydomain", "dbname": "REMOVED SENSITIVE VALUE", "dbhost": "REMOVED SENSITIVE VALUE", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "installed": true, "filelocking.enabled": true, "memcache.local": "\OC\Memcache\APCu", "memcache.locking": "\OC\Memcache\Redis", "redis": { "host": "REMOVED SENSITIVE VALUE", "port": myport1 }, "maintenance": false, "loglevel": 1, "updater.release.channel": "stable", "mail_from_address": "REMOVED SENSITIVE VALUE", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "REMOVED SENSITIVE VALUE", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "REMOVED SENSITIVE VALUE", "mail_smtpport": "myport2", "mail_smtpname": "REMOVED SENSITIVE VALUE", "mail_smtppassword": "REMOVED SENSITIVE VALUE", "mail_smtpsecure": "ssl", "app_install_overwrite": [ "bruteforcesettings", "bookmarks_fulltextsearch", "ojsxc", "video_converter" ], "preview_max_x": 2048, "preview_max_y": 2048, "preview_max_memory": 256, "enabledPreviewProviders": [ "OC\Preview\TXT", "OC\Preview\MarkDown", "OC\Preview\PDF", "OC\Preview\MSOfficeDoc", "OC\Preview\OpenDocument", "OC\Preview\JPEG", "OC\Preview\PNG", "OC\Preview\GIF", "OC\Preview\BMP", "OC\Preview\Movie", "OC\Preview\MP4", "OC\Preview\AVI" ], "theme": "", "onlyoffice": { "jwt_secret": "mysecret", "jwt_header": "myheader" } } }

Client configuration

Browser: Mozilla Firefox 118.0.1

Operating system: Linux 5.15.133-1-MANJARO

Logs

Nextcloud log (data/owncloud.log)

nothing reported

Browser log

nothing reported

eldroiderino avatar Nov 30 '23 12:11 eldroiderino