Can't print in landscape

9,184 views
Skip to first unread message

Robin Drexler

unread,
May 15, 2014, 1:47:38 PM5/15/14
to gcp-dev...@googlegroups.com
Hi everybody,

today gcp suddenly stopped printing my pdfs in landscape orientation. I then noticed that capabilities are deprecated now, so I switched to ticket. No success. Then I tried to print an example pdf (I generated) on the GCP web app and also wasn't able to print it in landscape. (I configured the print with the gpc web interface)

This is the pdf I tried to print in landscape (in A6 size): http://pastelink.me/getfile.php?key=6f2e95
Here is the request the gpc app sent (copied as curl, stripped some sensitive data):

curl 'https://www.google.com/cloudprint/submit?printerid=XXXXX&output=json&zx=XXX' -H 'origin: https://www.google.com' -H 'accept-encoding: gzip,deflate,sdch' -H 'accept-language: en-US,en;q=0.8,de;q=0.6'  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundaryCvqusykfAneUMiRh' -H 'referer: https://www.google.com/cloudprint/gadget.html?user=0&hl=en' --data-binary $'------WebKitFormBoundaryCvqusykfAneUMiRh\r\nContent-Disposition: form-data; name="content"; filename="foo.pdf"\r\nContent-Type: application/pdf\r\n\r\n\r\n------WebKitFormBoundaryCvqusykfAneUMiRh\r\nContent-Disposition: form-data; name="title"\r\n\r\nfoo.pdf\r\n------WebKitFormBoundaryCvqusykfAneUMiRh\r\nContent-Disposition: form-data; name="ticket"\r\n\r\n{"version":"1.0","print":{"vendor_ticket_item":[{"id":"psk:PageInputBin","value":"psk:AutoSelect"},{"id":"psk:PageMediaType","value":"psk:Plain"},{"id":"psk:PageScaling","value":"psk:None"}],"color":{"vendor_id":"psk:Color","type":0},"duplex":{"type":0},"page_orientation":{"type":1},"copies":{"copies":1},"dpi":{"horizontal_dpi":300,"vertical_dpi":300,"vendor_id":"epns200:Level2"},"fit_to_page":{"type":0},"media_size":{"width_microns":101600,"height_microns":152400,"is_continuous_feed":false,"vendor_id":"psk:NorthAmerica4x6"},"reverse_order":{"reverse_order":false}}}\r\n------WebKitFormBoundaryCvqusykfAneUMiRh\r\nContent-Disposition: form-data; name="tag"\r\n\r\nprint_file\r\n------WebKitFormBoundaryCvqusykfAneUMiRh\r\nContent-Disposition: form-data; name="tag"\r\n\r\ndashboard\r\n------WebKitFormBoundaryCvqusykfAneUMiRh--\r\n' --compressed

Do you have any idea, why I'm not able to print my pdfs in landscape anymore?
It just stopped working today, without me touching anything.

Thanks a lot. :)

 

Paolo Ferraris

unread,
May 15, 2014, 6:40:52 PM5/15/14
to gcp-developers
Hi Robin,
we can't reproduce the problem, as least as we understand it, so we need to understand more what's going on.

Currently, GCP ignores page orientation option and always applies "AUTO". In most cases the result is what the user expects: i.e., if the page is landscape as your foo.pdf, the page is automatically printed in landscape (the long edges are above and below FOO). In case of your ticket the media orientation is portrait (width < height), so the PDF should be rotated 90 degrees to achieve proper landscape printing.

Can you confirm us that the paper in the 4x6" tray is loaded from the short edge?

Anyway, next week we'll introduce full orientation support, so printing results should become more predictable.

Thanks,
Paolo



--
You received this message because you are subscribed to the Google Groups "Google Cloud Print Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gcp-developer...@googlegroups.com.
Visit this group at http://groups.google.com/group/gcp-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/gcp-developers/bbfa820f-6274-4a16-ade9-f247e5986a57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robin Drexler

unread,
May 16, 2014, 10:18:46 AM5/16/14
to gcp-dev...@googlegroups.com
Hello Paolo, thanks for your quick reply :) 
 
 Can you confirm us that the paper in the 4x6" tray is loaded from the short edge?
 Yes
 
we can't reproduce the problem
 Were you actually able to print the foo.pdf in landscape via gcp api? If so, how?  
We didn't manage to print any pdf in landscape via the api. 
 
Currently, GCP ignores page orientation option and always applies "AUTO"
Has this been the case since the beginning of gcp or has it been changed with the introduction of ticket?

Here is an example image of how the same pdf looks different when printed with gcp and when printed locally.
Printed with GCP printer: c3562c6e-a917-b0e0-afc7-a3f5053c7a4a


Is there any more information I can provide you with, that would help?
Thanks :)

Paolo Ferraris

unread,
May 16, 2014, 2:49:38 PM5/16/14
to gcp-developers
Can you please let me know what is the printer id, so we can look the capabilities up?

(Go to https://www.google.com/cloudprint/#printers, click on the printer and then on the "details" button: the id is now in the URL.)


--
You received this message because you are subscribed to the Google Groups "Google Cloud Print Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gcp-developer...@googlegroups.com.
Visit this group at http://groups.google.com/group/gcp-developers.

Paolo Ferraris

unread,
May 16, 2014, 3:06:16 PM5/16/14
to gcp-developers
Oooops. Sorry, never mind: the id was already in your previous email.

jrmck...@gmail.com

unread,
May 30, 2014, 8:11:32 AM5/30/14
to gcp-dev...@googlegroups.com
My organisation has had the exact same problem with the M2875FW Samsung Printer and Chrome OS v35/Windows 8 running Chrome 35.

We have this cloud printer leading to users in 2 parallel paths. First is Classic through a Windows Print server, and on the second one, GCP actually registered on the device.

Printing using either of these options with ANY document that's pre-defined as landscape always produces the exact same result as OP stated. Printing the same docs work fine when using a local printer (something we don't have the option to do in Chrome OS).

I've found a workaround but it isn't ideal. Every time you print something landscape, click "print using GCP dialog..." and change the "auto" orientation to "landscape".

I am 110% sure this is a GCP issue. It's been happening for over a week and not ironed itself out.

Like I say, to recreate this, you must print a document in Chrome that doesn't give you the "landscape/portrait" option on the print preview - you need a doc/spreadsheet/PDF that's already defined as landscape (such as Docs' page setup).

This issue only appeared in the last week. We've been using it for a year before that.

I'm happy to give more info as long as we can get this problem sorted. It's frustrating since CrOS was meant to make my job easier.

Thanks.

jrmck...@gmail.com

unread,
May 30, 2014, 8:18:19 AM5/30/14
to gcp-dev...@googlegroups.com, jrmck...@gmail.com
I should point out we use A4 short edge and we've tried the following too:
  • Checking all settings on the SyncThru (Samsung Control Panel) service
  • Disabling all network protocols except essential ones
  • Completely de-registering GCP and re-registering it
  • Trying on a Samsung Xpress 4200 linked via a classic printer
  • Trying M2875FW & X4200 printers on a different print server

Paolo Ferraris

unread,
May 30, 2014, 2:14:09 PM5/30/14
to gcp-developers, jrmck...@gmail.com
Hi Jack,
can you tell me the id of the printer, so we can investigate?

Thanks,
Paolo



jrmck...@gmail.com

unread,
Jun 4, 2014, 6:10:51 AM6/4/14
to gcp-dev...@googlegroups.com, jrmck...@gmail.com
Hi Paolo

ID is 48254349-dafa-ce2d-b64a-04e0e8166635
Cheers,
Jack.

n...@netmail.eu

unread,
Jun 12, 2014, 6:31:14 AM6/12/14
to gcp-dev...@googlegroups.com, jrmck...@gmail.com
Hi all,
we have exactly the same problem. We have printer Canon i-SENSYS MF-8580CDw. It is few weeks ago when landscape print using GCP stop working. When we print locally to that printer landscape print is fine. Do you have any idea what is wrong with GCP?
Printer ID: 61770580-97c8-7dd1-7c21-9ffb7c365159
Thank you very much for your advice.


Jakub


Dne středa, 4. června 2014 12:10:51 UTC+2 jrmck...@gmail.com napsal(a):

jrmck...@gmail.com

unread,
Jul 24, 2014, 6:18:55 AM7/24/14
to gcp-dev...@googlegroups.com, jrmck...@gmail.com
Hi Paolo

Although I appreciate that you've looked into this, it's still a huge problem for us. We've invested heavily into Google's services and it's ridiculous we get zero support with it. The amount of paper and toner our company has wasted with people forgetting they have to click the advanced print dialog option is horrendous. We were told switching to CrOS would save us money but it's just been frustrating and wasted our time too.

I've never complained openly on a forum before, but this issue has stagnated since May. Has anyone got close to solving this yet?

Thanks,
Jack.

On Friday, 30 May 2014 19:14:09 UTC+1, Paolo Ferraris wrote:

Paolo Ferraris

unread,
Jul 24, 2014, 5:27:35 PM7/24/14
to gcp-developers
Robin,
is the issue still occurring? We've changed quite some code and the issue may be fixed now.

Paolo Ferraris

unread,
Jul 24, 2014, 5:39:02 PM7/24/14
to gcp-developers, Jack Caldwell
Hi Jakub,
do you have the same problem even when you explicitly select LANDSCAPE, or only with AUTO?



Paolo Ferraris

unread,
Jul 24, 2014, 6:07:24 PM7/24/14
to gcp-developers, Jack Caldwell
Hi Jack,

your problem seems different from the others here, both because you say that page orientation is not in the base settings (where are you printing from? Google print dialog? Chrome print dialog?) and by looking at your printer capabilities.

The capabilities of your printer are not fully compliant with the Microsoft XPS capability specs. In fact capabilities are supposed to expose the actual media sizes (width and height) in microns for each of the media size option (A4, letter, ... ) supported by the printer. Your printer capabilities don't have those sizes.

This probably has a cascade effect of not showing media size options at all. GCP doesn't handle page orientation in the cloud if page size is unknown, and it's then up to the printer to do the best it can.


Fixing the problem on our side means trying to figure out the media sizes from the names, which is a hack, not easy to implement and heavily error-prone. Unfortunately your printer model may be GCP compatible but it doesn't seem to have been certified by us (otherwise the problem in the capabilities would have been discovered). And we offer limited support for those printers.


Paolo


jrmck...@gmail.com

unread,
Jul 25, 2014, 7:42:01 AM7/25/14
to gcp-dev...@googlegroups.com, jrmck...@gmail.com
Hi Paolo

While I can appreciate you may not be able to give full support now, it appears to be false advertising on Samsung's  page since they use the official Cloud Ready Printer logo from Google.

It also appears to be fully supported looking at Google's Cloud Print /learn page. Not only does it directly link to Samsungs range of cloud printers, but the mentioned model in this thread is actually used as the preview picture.

Is there anything you can do? Someone at Samsung to talk to and explain the situation to?

Thanks again,
Jack.

Aleksey Shlyapnikov

unread,
Jul 25, 2014, 12:31:56 PM7/25/14
to gcp-dev...@googlegroups.com
Hi Jack,

The page for the model you have, http://www.samsung.com/us/computer/printers/SL-M2875FW/XAA, does not mention Google Cloud Print.


Although very similar, they are still different models with the different set of features.

Regards,
Alex



C. Andrew Warren

unread,
Jul 28, 2014, 2:33:16 AM7/28/14
to gcp-dev...@googlegroups.com
Hi, I'm also on the GCP team. Just to follow up on this, we've notified Samsung's development team of the issue and sent details from our investigation.

We're still hunting down a few leads on changes we could make server-side to adapt to the issue, but it may not be feasible - we've identified at least one other brand that also leaves these XPS values blank, and makes opposite assumptions to the Samsung model Jack highlighted.

Lastly, just a quick reminder for others who stumble across this in searches that gcp-developers@ is for developers building clients and tools using the Cloud Print API. End-users should raise issues they're experiencing on the Chrome Help Forum, and administrators should contact Google Apps or Chromebook support. We pop in to help troubleshoot API programming issues here occasionally, but unfortunately aren't able to scale non-developer support here in the same way as the forums or enterprise support channels can.

We'll update this thread with more details based on what we find given the two areas we're looking at (mentioned above).

Best,
Andrew


jrmck...@gmail.com

unread,
Aug 12, 2014, 6:53:26 AM8/12/14
to gcp-dev...@googlegroups.com
I can understand Google don't want to take the blame for this, but the logo is nonsense. The below screenshot, which can also be seen here, clearly lists our model as a supported printer. I'm aware this is Google.com but it's not specified anywhere that this only applies to the American version of M2875FW (.com just being a generic TLD).


And even if the above excuse was true, you're telling me that Google allows anyone to brand and sell their printer as a "Google Cloud Printer" with no repercussions - as long as it doesn't have the logo? 

Once again, I appreciate that you guys are the devs but I've absolutely had it with this "service". Is this what we have to deal with by locking ourselves into your ecosystem? What's the best way to make a formal complaint? Failing that, we have to consider taking this to a small claims court.

Thanks again,
Jack.

jrmck...@gmail.com

unread,
Aug 12, 2014, 6:54:28 AM8/12/14
to gcp-dev...@googlegroups.com, jrmck...@gmail.com
Apologies, forgot link.
Message has been deleted

Patrick Elliott-Brennan

unread,
Aug 21, 2015, 10:05:34 PM8/21/15
to Google Cloud Print Developers, jrmck...@gmail.com
Hi Jack,

I'm not a dev or Google anything :)

I'm curious as to whether this was resolved at your end.

I came across the same problem and eventually was able to identify a solution (Chromebook Acer C720, Printer Samsung CLP-680DW)

After selecting print (this is for spreadsheets only, I've not tried with anything else yet) if I selected 'more settings' then 'change printer options' and then 'Autofit ON' it seemed to fix the problem.

I'm hoping you were able to find a resolution. I'm posting this mainly in case someone else comes along and my information may be of use to them.

Regards,

Patrick 

Jack Caldwell

unread,
Aug 25, 2015, 3:49:02 PM8/25/15
to gcp-dev...@googlegroups.com, jrmck...@gmail.com
Hi Patrick

I'm afraid we never did find a solution, and it was part of the reason my company left Google Apps - a lot of software promised the moon and the stars and never delivered. I mean Cloud Print is still in beta after 3 years and the developers never say anything about it - via Chrome feedback, this forum or Google Apps support. Even their Twitter closed down ages ago.

Anyway, rant over. I whipped out an old Chromebox and tried it again with our Samsung M2875FW and still no joy. Printing is portrait only and even then it automatically creates strange margins. Printer is on latest firmware. I have no option to "Autofit" so I'm guessing it depends on the printer model you have.

I really appreciate you getting back to me and helping find a solution - something I would of expected the company we've invested thousands of pounds into to do. Sorry, still bitter after a year about the shit support...

Also good on you, you may have helped someone avoid this scenario.

Best Wishes,
Jack.

Patrick Elliott-Brennan

unread,
Aug 25, 2015, 9:23:25 PM8/25/15
to gcp-dev...@googlegroups.com

Hi Jack.

That's a pity.

If there is one way that Google seriously lets itself down (and us all) is its crappy person-to-person service.

I know a few current and ex google staffers. Really nice people.

When I've raised this issue the following seems to best summarise Google's approach:
 
The company often talks "how to scale" but fails to recognise that you can't 'automate and scale' good customer service and good will. It requires people who speak to people and address their concerns.

It's a great pity they still don't grasp this.

BTW: Love the XKCD 'toon :)
So apt.

The other responses I like are were they say they've solved it and either:

A) Don't post the answer
Or
B) Post a link to the solution but the page no longer exists

Regards,
Patrick

--
You received this message because you are subscribed to a topic in the Google Groups "Google Cloud Print Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gcp-developers/lYI-eLE3veo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gcp-developer...@googlegroups.com.

Thorwald Persson

unread,
Sep 24, 2015, 5:58:40 PM9/24/15
to Google Cloud Print Developers
I don't see the IP address in my router. I had to write it down. But I didn't thought of the DMZ. If it really works. It means actually anyone can send a letter like a fax. //Thorwald from Malmö Sweden with a Samsung SL-410W

mobspr...@gmail.com

unread,
Nov 27, 2015, 8:01:17 AM11/27/15
to Google Cloud Print Developers
Hi , All
I could easily print a page in a landscape/portrait via google cloud print submit API  using the following CJT(cloud job ticket)...I think the following ticket will help you..you can see a field called page_orientation in ticket, and also it has an enum variable called type, so if need to print a doc as landscape you can just give 1 to type.
    PORTRAIT = 0;
    LANDSCAPE
= 1;
    AUTO
= 2;


CJT..

ticket = "{\"version\":\"1.0\",\"print\":{\"color\":{\"vendor_id\":\"1\",\"type\":1},\"duplex\":{\"type\":0},\"page_orientation\":{\"type\":1},\"copies\":{\"copies\": 10},\"fit_to_page\":{\"type\":3},\"page_range\":{\"interval\":[{\"start\": 2,\"end\":5}]},\"media_size\":{\"width_microns\":210000,\"height_microns\":297000,\"is_continuous_feed\":false,\"vendor_id\":\"9\"},\"collate\":{\"collate\":false},\"reverse_order\":{\"reverse_order\":false}}}";

Thanks 

Jack Caldwell

unread,
Mar 1, 2016, 7:28:05 AM3/1/16
to gcp-dev...@googlegroups.com
Hi all

Good news!

Not sure if it was related to our actions here (A GCP dev did say here they were taking up the issue with Samsung), but updating the M2875FW firmware to V3.00.01.33 resolves this issue for the most part.

The firmware can be downloaded from Samsung here and contains release notes that point to the update being released between October - December 2015, a year and a half after the issue was raised.

I can confirm landscape printing now works. The issue where the margins are larger than usual is still present, but progress has been made.

Interestingly, Samsung Cloud Print, a competing service, is also bundled with this update. The Chrome ecosystem now looks like it's giving users a bit more choice, which is nice.

Thanks to Paolo/anyone else who liased with Samsung.
Reply all
Reply to author
Forward
0 new messages