General foo2hbpl2 :  foo2zjs - foo2hp - foo2xqx - foo2lava - foo2qpdl - foo2oak
Support for linux printer drivers
The fastest message board... ever.
Short question: foo2hbpl on a chromebook : is it possible ?
Posted by: rickrich ()
Date: March 15, 2020 07:49AM

"I don't want to waste your time here, but could you tell me if using foo2hbpl on a chromebook is possible ? If so, could you give me some pointers ?" - Peter Van Biesen

Two ways:

Way One

$ pwd

$ cat NOTES

Build and install:
    $ go get -insecure -u
    $ go get -insecure -u

    The -u flag instructs get to use the network to update the named
    packages and their dependencies. By default, get uses the network to
    check out missing packages but does not use it to look for updates to
    existing packages.

    The -insecure flag permits fetching from repositories and resolving
    custom domains using insecure schemes such as HTTP. Use with caution.

If you get "could not determine kind of name for C.cupsGetPPD3" :
    vi /home/rick/go/src/
    Add the line:
    #include <cups/ppd.h>

New way:
    cd ~/go
    install -o root -m 0664 cloud-print-connector.service /etc/systemd/system
    systemctl enable cloud-print-connector.service
    systemctl start cloud-print-connector.service
    systemctl status cloud-print-connector.service

    systemctl restart cloud-print-connector.service

Old way:
    $ cat /etc/rc.d/rc.local
    # CUPS connector for Cloud Print
    /home/rick/go/bin/gcp-cups-connector --config-filename /home/rick/go/gcp-cups-connector.config.json &


If something goes wrong:
    $ gcp-connector-util init
    "Local printing" means that clients print directly to the connector via
    local subnet, and that an Internet connection is neither necessary nor used.
    Enable local printing?

    "Cloud printing" means that clients can print from anywhere on the Internet,
    and that printers must be explicitly shared with users.
    Enable cloud printing?

    Visit, and enter this code. I'll wait for you.
    Acquired OAuth credentials for robot account

    Enter the email address of a user or group with whom all printers will
    automatically be shared or leave blank to disable automatic sharing:

    The config file /home/rick/go/gcp-cups-connector.config.json is ready
    to rock.
    Keep it somewhere safe, as it contains an OAuth refresh token.

Way Two

$ pwd
$ cd .
Git repo is:
$ cat NOTES

FYI, Cloud Print service:

$ git clone
Cloning into cloudprint...
remote: Counting objects: 109, done.
remote: Compressing objects: 100% (107/107), done.
remote: Total 109 (delta 47), reused 0 (delta 0)
Receiving objects: 100% (109/109), 31.77 KiB, done.
Resolving deltas: 100% (47/47), done.

$ cd cloudprint
$ root python install

$ root pip-python install daemon
Downloading/unpacking daemon
 Running egg_info for package daemon

Installing collected packages: daemon
 Running install for daemon

Successfully installed daemon

$ cloudprint -d
Skipping test-raw
Updated Printer test-1020
Updated Printer test-c310dn
Updated Printer mc2530
Updated Printer mc1600Wc
Updated Printer aaaa
Updated Printer mc2300c
Updated Printer test-1500
Updated Printer test-okiC110
Updated Printer test-clp315
Updated Printer cp1025nw
Updated Printer test-p1505
Updated Printer xrx6110
Updated Printer test
Updated Printer test-Oki-C3100
Updated Printer p1505n
Updated Printer test-p1102
Updated Printer test-cp1025
Updated Printer test-C3300
Updated Printer test-1680MF
Updated Printer clp315
Updated Printer test-hp2600
Updated Printer hp1020
Updated Printer p1102w
Updated Printer HP-LaserJet-Professional-P1102w
Updated Printer hp2600
Updated Printer cp1215
Updated Printer p1102-hpcups
Updated Printer Cups-PDF
Updated Printer test-clp300
Updated Printer GnomeManualDuplex
Updated Printer p1005
Updated Printer test-m1319
Updated Printer HP-LaserJet-1000
Updated Printer test-p2035
Updated Printer mc2530c
Updated Printer xrx6110c
Updated Printer test-CLP-610
Updated Printer test-KM-1635

   $ firefox

And on your Android tablet:

If you get:
    ERROR: Could not Connect to Cloud Service. Will Try again in 60 Seconds
    $ rm ~/.cloudprintauth
    $ cloudprint
    Google username: rickrich

cloudprint -u -d -p /tmp/ -x test-

Options: ReplyQuote

Sorry, only registered users may post in this forum.
This forum powered by Phorum.