Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: How To Print in Linux as a Client to Google Cloud Print

  1. #1
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default How To Print in Linux as a Client to Google Cloud Print

    Hi

    I have openSUSE Tumbleweed but this is a general CUPS + openSUSE (12.1)
    question.

    My home printer is attached to a windows 7 computer. It has to be there
    for the other members of the family. It will not network to my Linux
    computer.

    I can print to PDF files in Linux, open those files in the google-chrome
    browser and print to the remote printer with Google Cloud Print. That
    works fine but is inelegant; in fact it's so inelegant that it's
    embarrassing.

    Is there a way to install Google Cloud Print generally in Linux (maybe
    as a CUPS printer) to be a client linked to the cloud print server that
    I have on my windows 7 machine?

    Regards
    swerdna

  2. #2
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: How To Print in Linux as a Client to Google Cloud Print

    On 05/09/2012 09:42 AM, swerdna wrote:
    > Hi
    >
    > I have openSUSE Tumbleweed but this is a general CUPS + openSUSE (12.1)
    > question.
    >
    > My home printer is attached to a windows 7 computer. It has to be there
    > for the other members of the family. It will not network to my Linux
    > computer.
    >
    > I can print to PDF files in Linux, open those files in the google-chrome
    > browser and print to the remote printer with Google Cloud Print. That
    > works fine but is inelegant; in fact it's so inelegant that it's
    > embarrassing.
    >
    > Is there a way to install Google Cloud Print generally in Linux (maybe
    > as a CUPS printer) to be a client linked to the cloud print server that
    > I have on my windows 7 machine?
    >
    > Regards
    > swerdna


    Just in case I wasn't clear: I want e.g. to print from LibreOffice to
    the goole cloud printer direct, or from any app e.g. gimp, direct,
    without creating and then opening a PDF version of the output in
    google-chrome first.

    --
    Regards
    swerdna

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,845
    Blog Entries
    15

    Default Re: How To Print in Linux as a Client to Google Cloud Print

    Quote Originally Posted by swerdna
    On 05/09/2012 09:42 AM, swerdna wrote:
    > Hi
    >
    > I have openSUSE Tumbleweed but this is a general CUPS + openSUSE
    > (12.1) question.
    >
    > My home printer is attached to a windows 7 computer. It has to be
    > there for the other members of the family. It will not network to my
    > Linux computer.
    >
    > I can print to PDF files in Linux, open those files in the
    > google-chrome browser and print to the remote printer with Google
    > Cloud Print. That works fine but is inelegant; in fact it's so
    > inelegant that it's embarrassing.
    >
    > Is there a way to install Google Cloud Print generally in Linux (maybe
    > as a CUPS printer) to be a client linked to the cloud print server
    > that I have on my windows 7 machine?
    >
    > Regards
    > swerdna


    Just in case I wasn't clear: I want e.g. to print from LibreOffice to
    the goole cloud printer direct, or from any app e.g. gimp, direct,
    without creating and then opening a PDF version of the output in
    google-chrome first.
    This?
    http://www.linuxquestions.org/linux/...ud_print_linux

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
    up 3 days 21:45, 4 users, load average: 0.02, 0.06, 0.05
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: How To Print in Linux as a Client to Google Cloud Print

    On 05/09/2012 09:53 AM, malcolmlewis wrote:
    >
    Quote Originally Posted by swerdna
    On 05/09/2012 09:42 AM, swerdna wrote:
    >> Hi
    >>
    >> I have openSUSE Tumbleweed but this is a general CUPS + openSUSE
    >> (12.1) question.
    >>
    >> My home printer is attached to a windows 7 computer. It has to be
    >> there for the other members of the family. It will not network to my
    >> Linux computer.
    >>
    >> I can print to PDF files in Linux, open those files in the
    >> google-chrome browser and print to the remote printer with Google
    >> Cloud Print. That works fine but is inelegant; in fact it's so
    >> inelegant that it's embarrassing.
    >>
    >> Is there a way to install Google Cloud Print generally in Linux (maybe
    >> as a CUPS printer) to be a client linked to the cloud print server
    >> that I have on my windows 7 machine?
    >>
    >> Regards
    >> swerdna

    >
    > Just in case I wasn't clear: I want e.g. to print from LibreOffice to
    > the goole cloud printer direct, or from any app e.g. gimp, direct,
    > without creating and then opening a PDF version of the output in
    > google-chrome first.
    >
    >
    > This?
    > http://www.linuxquestions.org/linux/...ud_print_linux
    >

    Thanks Malcolm.

    That's for attaching a printer in Linux as a server for the cloud print
    process.

    I have my printer already acting as a server on the windows computer. I
    want to print to that service from Linux, but not using the chrome
    browser as an intermediary. Rather, I want to print direct from an app
    (like Kwrite or whatever) to the remote cloud printer.

    Thoughts?

    --
    Regards
    swerdna

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,845
    Blog Entries
    15

    Default Re: How To Print in Linux as a Client to Google Cloud Print

    Quote Originally Posted by swerdna
    On 05/09/2012 09:53 AM, malcolmlewis wrote:
    >
    Quote Originally Posted by swerdna
    On 05/09/2012 09:42 AM, swerdna wrote:
    >> Hi
    >>
    >> I have openSUSE Tumbleweed but this is a general CUPS + openSUSE
    >> (12.1) question.
    >>
    >> My home printer is attached to a windows 7 computer. It has to be
    >> there for the other members of the family. It will not network to my
    >> Linux computer.
    >>
    >> I can print to PDF files in Linux, open those files in the
    >> google-chrome browser and print to the remote printer with Google
    >> Cloud Print. That works fine but is inelegant; in fact it's so
    >> inelegant that it's embarrassing.
    >>
    >> Is there a way to install Google Cloud Print generally in Linux
    >> (maybe as a CUPS printer) to be a client linked to the cloud print
    >> server that I have on my windows 7 machine?
    >>
    >> Regards
    >> swerdna

    >
    > Just in case I wasn't clear: I want e.g. to print from LibreOffice to
    > the goole cloud printer direct, or from any app e.g. gimp, direct,
    > without creating and then opening a PDF version of the output in
    > google-chrome first.
    >
    >
    > This?
    > http://www.linuxquestions.org/linux/...ud_print_linux
    >

    Thanks Malcolm.

    That's for attaching a printer in Linux as a server for the cloud print
    process.

    I have my printer already acting as a server on the windows computer. I
    want to print to that service from Linux, but not using the chrome
    browser as an intermediary. Rather, I want to print direct from an app
    (like Kwrite or whatever) to the remote cloud printer.

    Thoughts?
    Via cups....
    http://www.niftiestsoftware.com/cups-cloud-print/
    https://github.com/simoncadman/CUPS-Cloud-Print


    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
    up 3 days 23:26, 4 users, load average: 0.17, 0.08, 0.05
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,382
    Blog Entries
    1

    Default Re: How To Print in Linux as a Client to Google Cloud Print

    Interesting thread. I'm following with interest (not that I've ever tried to play with Google Cloud Print)

  7. #7
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,845
    Blog Entries
    15

    Default Re: How To Print in Linux as a Client to Google Cloud Print

    Quote Originally Posted by deano ferrari
    Interesting thread. I'm following with interest (not that I've ever
    tried to play with Google Cloud Print)

    Hi
    I've built an rpm for openSUSE (it needed some tweaking) it's in my Misc
    repository. Quite cool prints as a pdf up to google docs;
    https://build.opensuse.org/package/s...3AMiscellanous

    Assuming cups is running, as root user run the helper script to add
    your local printer;
    Code:
    /usr/lib/cloudprint-cups/setupcloudprint.py
    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
    up 4 days 2:13, 4 users, load average: 0.16, 0.06, 0.06
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  8. #8
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: How To Print in Linux as a Client to Google Cloud Print

    On 05/09/2012 02:41 PM, malcolmlewis wrote:
    >
    Quote Originally Posted by deano ferrari
    > Interesting thread. I'm following with interest (not that I've ever
    > tried to play with Google Cloud Print)
    >
    >
    >
    > Hi
    > I've built an rpm for openSUSE (it needed some tweaking) it's in my Misc
    > repository. Quite cool prints as a pdf up to google docs;
    > https://build.opensuse.org/package/s...3AMiscellanous
    >
    > Assuming cups is running, as root user run the helper script to add
    > your local printer;
    >
    Code:
    > /usr/lib/cloudprint-cups/setupcloudprint.py
    >
    >


    Holy mackerel: it works
    No browser involved, no conscious login to google, no need for google
    docs or PDF intermediary files. It prints like a normal physical printer.

    I'll write more later -- gotta go now

    --
    Regards
    swerdna

  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,845
    Blog Entries
    15

    Default Re: How To Print in Linux as a Client to Google Cloud Print

    Quote Originally Posted by swerdna
    On 05/09/2012 02:41 PM, malcolmlewis wrote:
    >
    Quote Originally Posted by deano ferrari
    > Interesting thread. I'm following with interest (not that I've ever
    > tried to play with Google Cloud Print)
    >
    >
    >
    > Hi
    > I've built an rpm for openSUSE (it needed some tweaking) it's in my
    > Misc repository. Quite cool prints as a pdf up to google docs;
    > https://build.opensuse.org/package/s...3AMiscellanous
    >
    > Assuming cups is running, as root user run the helper script to add
    > your local printer;
    >
    Code:
    > /usr/lib/cloudprint-cups/setupcloudprint.py
    >
    >


    Holy mackerel: it works
    No browser involved, no conscious login to google, no need for google
    docs or PDF intermediary files. It prints like a normal physical
    printer.

    I'll write more later -- gotta go now
    Awesome

    I have it working for SLE and openSUSE now, but noted the permissions
    on /etc/cloudprint.conf need hardening, so run;
    Code:
    chmod 600 /etc/cloudprint.conf
    It really needs to be encrypted, so am having a play to see what can be
    done.

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
    up 4 days 13:44, 6 users, load average: 0.00, 0.08, 0.12
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,845
    Blog Entries
    15

    Default Re: How To Print in Linux as a Client to Google Cloud Print

    Quote Originally Posted by malcolmlewis
    Quote Originally Posted by swerdna
    On 05/09/2012 02:41 PM, malcolmlewis
    wrote:
    >
    Quote Originally Posted by deano ferrari
    > Interesting thread. I'm following with interest (not that I've ever
    > tried to play with Google Cloud Print)
    >
    >
    >
    > Hi
    > I've built an rpm for openSUSE (it needed some tweaking) it's in my
    > Misc repository. Quite cool prints as a pdf up to google docs;
    > https://build.opensuse.org/package/s...3AMiscellanous
    >
    > Assuming cups is running, as root user run the helper script to add
    > your local printer;
    >
    Code:
    > /usr/lib/cloudprint-cups/setupcloudprint.py
    >
    >


    Holy mackerel: it works
    No browser involved, no conscious login to google, no need for google
    docs or PDF intermediary files. It prints like a normal physical
    printer.

    I'll write more later -- gotta go now
    Awesome

    I have it working for SLE and openSUSE now, but noted the permissions
    on /etc/cloudprint.conf need hardening, so run;
    Code:
    chmod 600 /etc/cloudprint.conf
    It really needs to be encrypted, so am having a play to see what can be
    done.
    Hi
    OK, it borks cups changing that, so need to look elsewhere.... so just
    remember it's plain text....

    --
    Cheers Malcolm °¿° (Linux Counter #276890)
    openSUSE 12.1 (x86_64) Kernel 3.1.10-1.9-desktop
    up 4 days 18:48, 5 users, load average: 0.05, 0.07, 0.05
    CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU


Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •