yasirsiddiqui / php-google-cloud-print

PHP class to print documents using Google Cloud Print with OAuth2 authorization
91 stars 42 forks source link

PaperSize #6

Closed lincolnlemos closed 4 years ago

lincolnlemos commented 9 years ago

How we can set paperSize? I search this on https://developers.google.com/cloud-print/docs but not found how integrate this...

yasirsiddiqui commented 9 years ago

You can follow the links below to see it printer preferences work http://www.phpclasses.org/discuss/package/8086/thread/4/ https://developers.google.com/cloud-print/docs/appInterfaces#submit https://developers.google.com/cloud-print/docs/cdd#cjt

comyou commented 9 years ago

Sorry to jump on this but it seemed better than creating a new one.

I've tried setting my ticket settings as the following "{"version": "1.0","print": {"media_size" : { "width_microns" : 72000, "height_microns" : 297000}}}"

Which, as far I can see should set the size to 72*297mm (which is the size my printer says in its capabilities doing https://www.google.com/cloudprint/printer) yet it looks like it is printing in A4 size and only printing a section the width of the paper from the center of the A4.

Have I missed something in my ticket settings?

yasirsiddiqui commented 9 years ago

@lemoslincoln @comyou any luck with setting paper size?

lincolnlemos commented 9 years ago

nops!

Lincoln Lemos www.bigodesign.com.br

62 8275 0010 62 3932 7441

2015-08-11 11:41 GMT-03:00 Yasir Siddiqui notifications@github.com:

@lemoslincoln https://github.com/lemoslincoln @comyou https://github.com/comyou any luck with setting paper size?

— Reply to this email directly or view it on GitHub https://github.com/yasirsiddiqui/php-google-cloud-print/issues/6#issuecomment-129911272 .

der-lukas commented 9 years ago

@lemoslincoln have you tried what I suggested in the other thread? https://github.com/yasirsiddiqui/php-google-cloud-print/issues/16#issuecomment-129938138