Printers App seems to not work

Hi, i have ncp with nextcloud 18.0.1 running on my raspberry pi2 and have set up my printer using cups as the standard printer. I can print a testpage from cups. I have enabled the printers app in nextcloud and see the option to print. If i select a document i choose printers and landscape or portrait as orientation, then i get a message that it was printed successfully, but in cups i dont see a new job and obviously nothing is printed.
Anyone has printers working in nc18?

Does anyone at all have printers working in any nc version?

1 Like

It came out amazing :slight_smile: keep trying

I’m actualy now testing if it rolls out if I print from mobile 4g network … I think it will

omg it did.

I came here to say it works but saw your question. Altough I run on a normal pc it should not matter. I Enabled printing and then had to activate it.

For my printer I use a Canon Pixma mg5750 default drivers setup with system-config-printer
obviously below it says printer app is disabled because it’s detailed before I tried printing.

Server configuration detail

Operating system: Linux 4.4.0-170-generic #199-Ubuntu SMP Thu Nov 14 01:45:04 UTC 2019 x86_64

Webserver: Apache/2.4.18 (Ubuntu) (apache2handler)

Database: mysql 10.0.38

PHP version: 7.2.28-3+ubuntu16.04.1+deb.sury.org+1

Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, Reflection, SPL, sodium, session, standard, apache2handler, mysqlnd, PDO, xml, apcu, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, igbinary, imagick, imap, intl, json, exif, memcache, msgpack, mysqli, pdo_mysql, apc, posix, pspell, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, wddx, xmlreader, xmlwriter, xsl, zip, Phar, memcached, Zend OPcache

Nextcloud version: 18.0.2 - 18.0.2.2

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status

Array ( )

List of activated apps
Enabled:
 - accessibility: 1.4.0
 - activity: 2.11.0
 - audioplayer: 2.9.0
 - bruteforcesettings: 1.5.0
 - calendar: 2.0.2
 - cloud_federation_api: 1.1.0
 - cms_pico: 1.0.5
 - contacts: 3.2.0
 - dav: 1.14.0
 - extract: 1.2.3
 - federatedfilesharing: 1.8.0
 - federation: 1.8.0
 - files: 1.13.1
 - files_antivirus: 2.2.1
 - files_external: 1.9.0
 - files_markdown: 2.2.0
 - files_pdfviewer: 1.7.0
 - files_rightclick: 0.15.2
 - files_sharing: 1.10.1
 - files_trashbin: 1.8.0
 - files_versions: 1.11.0
 - files_videoplayer: 1.7.0
 - logreader: 2.3.0
 - lookup_server_connector: 1.6.0
 - maps: 0.1.6
 - nextcloud_announcements: 1.7.0
 - notifications: 2.6.0
 - oauth2: 1.6.0
 - ocdownloader: 1.7.6
 - password_policy: 1.8.0
 - passwords: 2020.3.1
 - photos: 1.0.0
 - privacy: 1.2.0
 - provisioning_api: 1.8.0
 - rainloop: 6.1.0
 - recommendations: 0.6.0
 - richdocuments: 3.5.2
 - serverinfo: 1.8.0
 - settings: 1.0.0
 - sharebymail: 1.8.0
 - support: 1.1.0
 - survey_client: 1.6.0
 - text: 2.0.0
 - theming: 1.9.0
 - twofactor_backupcodes: 1.7.0
 - updatenotification: 1.8.0
 - viewer: 1.2.0
 - workflowengine: 2.0.0
Disabled:
 - admin_audit
 - comments
 - encryption
 - firstrunwizard
 - printer
 - systemtags
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "cloud.vstans.nl",
        "office.vstans.nl"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/cloud.vstans.nl",
    "dbtype": "mysql",
    "version": "18.0.2.2",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "memcache.local": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "logtimezone": "Europe\/Amsterdam",
    "has_internet_connection": true,
    "check_for_working_webdav": true,
    "installed": true,
    "loglevel": 1,
    "maintenance": false,
    "log_rotate_size": 1485760,
    "mail_smtpmode": "sendmail",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "app.mail.imaplog.enabled": "true",
    "mail_smtpauthtype": "LOGIN",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "enabledPreviewProviders": [
        "OC\\Preview\\PNG",
        "OC\\Preview\\JPEG",
        "OC\\Preview\\GIF",
        "OC\\Preview\\BMP",
        "OC\\Preview\\XBitmap",
        "OC\\Preview\\TXT",
        "OC\\Preview\\MarkDown",
        "OC\\Preview\\NFO"
    ],
    "updater.release.channel": "stable",
    "theme": "",
    "trashbin_retention_obligation": "auto, 365",
    "mail_smtpsecure": "tls",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mysql.utf8mb4": true,
    "app_install_overwrite": [
        "admin_notifications"
    ],
    "updater.secret": "***REMOVED SENSITIVE VALUE***"
}

External storages: yes

External storage configuration
+----------+-------------+---------+---------------------+----------------------------+---------+------------------+-------------------+-------+
| Mount ID | Mount Point | Storage | Authentication Type | Configuration              | Options | Applicable Users | Applicable Groups | Type  |
+----------+-------------+---------+---------------------+----------------------------+---------+------------------+-------------------+-------+
| 1        | /Muziek     | Lokaal  | Geen                | datadir: "\/cloud\/muziek" |         |                  | muziek            | Admin |
| 2        | /Share      | Lokaal  | Geen                | datadir: "\/cloud\/Films"  |         |                  | films             | Admin |
+----------+-------------+---------+---------------------+----------------------------+---------+------------------+-------------------+-------+

Encryption: no

User-backends:

  • OC\User\Database

Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36

So after a while i found out that i am not able to print a testfile from commandline as well:

sudo -u www-data lpr testfile.pdf

Revealed that lpr was not installed at all, fixing this, it says

lpr: lp: unknown printer

The testpage from cups webinterface prints fine and the printer is set up as a standard printer as well
Any help appreciated

Did you install cups and cups-bsd as said in the Readme?

1 Like

Thanx, that fixed it…