Set paper size A4 while printing from google cloud print APIIs there a link to the “latest” jQuery library on Google APIs?Eclipse - Print report from app with Google Cloud PrintUsing the Google Cloud Print API with AndroidAndroid: Google Cloud Print error in Print QueueGoogle Cloud Printing from a specific trayGoogle CloudPrint printing infinite copies (Android)google cloud print tray media sizeHow to set custom margin in JOB TICKET for Google Cloud Print(GCP) print job?Google cloud print API integration in my applicationHow to cancel print job from printer using Google Cloud Print api

Owner keeps cutting corners and poaching workers for his other company

Relationship between speed and cadence?

Why are there no wireless switches?

Do Sobolev spaces contain nowhere differentiable functions?

Did the Byzantines ever attempt to move their capital to Rome?

I won a car in a poker game. How is that taxed in Canada?

Is every sentence we write or utter either true or false?

More than three domains hosted on the same IP address

How can I hint that my character isn't real?

How do English-speaking kids loudly request something?

How to interpret or parse this confusing 'NOT' and 'AND' legal clause

Why does 8 bit truecolor use only 2 bits for blue?

Fantasy Military Arms and Armor: the Dwarven Grand Armory

Is there some sort of French saying for "a person's signature move"?

How to best explain that you are taking pictures in a space for practice reasons?

After a few interviews, What should I do after told to wait?

How do draw effects during the discard phase work?

Is it right to use the ideas of non-winning designers in a design contest?

Male viewpoint in an erotic novel

Dissuading my girlfriend from a scam

Why is Sojdlg123aljg a common password?

How do German speakers decide what should be on the left side of the verb?

How do I play this harmonic? (Guitar)

Get a MPS file using NEOS/GAMS web interface



Set paper size A4 while printing from google cloud print API


Is there a link to the “latest” jQuery library on Google APIs?Eclipse - Print report from app with Google Cloud PrintUsing the Google Cloud Print API with AndroidAndroid: Google Cloud Print error in Print QueueGoogle Cloud Printing from a specific trayGoogle CloudPrint printing infinite copies (Android)google cloud print tray media sizeHow to set custom margin in JOB TICKET for Google Cloud Print(GCP) print job?Google cloud print API integration in my applicationHow to cancel print job from printer using Google Cloud Print api






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have integrated Google cloud printing API in android application. I am printing image from GCP. Everything is working fine. I want to set paper size using API. Is that feasible?



Currently i am sending following data :



**URL :**...cloudprint/submit

**Param :**
printerid
file
title
contentType


As per google document, we can use ticket param for that. not sure what to send in this key.



Any help appreciated.










share|improve this question






























    0















    I have integrated Google cloud printing API in android application. I am printing image from GCP. Everything is working fine. I want to set paper size using API. Is that feasible?



    Currently i am sending following data :



    **URL :**...cloudprint/submit

    **Param :**
    printerid
    file
    title
    contentType


    As per google document, we can use ticket param for that. not sure what to send in this key.



    Any help appreciated.










    share|improve this question


























      0












      0








      0








      I have integrated Google cloud printing API in android application. I am printing image from GCP. Everything is working fine. I want to set paper size using API. Is that feasible?



      Currently i am sending following data :



      **URL :**...cloudprint/submit

      **Param :**
      printerid
      file
      title
      contentType


      As per google document, we can use ticket param for that. not sure what to send in this key.



      Any help appreciated.










      share|improve this question














      I have integrated Google cloud printing API in android application. I am printing image from GCP. Everything is working fine. I want to set paper size using API. Is that feasible?



      Currently i am sending following data :



      **URL :**...cloudprint/submit

      **Param :**
      printerid
      file
      title
      contentType


      As per google document, we can use ticket param for that. not sure what to send in this key.



      Any help appreciated.







      android google-api google-cloud-print






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 6:15









      Samir BhattSamir Bhatt

      1,44417 silver badges30 bronze badges




      1,44417 silver badges30 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0
















          We need to pass the A4 specifications to the G.C.Printer.
          You need to pass ticket in the path parameter along with printerid, file, title, contentType and should look like this:



          ticket : "version":"1.0","print":"media_size":"width_microns":210000,"height_microns":297000,"is_continuous_feed":false,"vendor_id":"ISO_A4"


          (^above are the specs of A4 media size)



          Your params should look like this:



          printerid : <printerid>
          content: <content>
          title : <title>
          contentType: <contentType>
          ticket : "version":"1.0","print":"media_size":"width_microns":210000,"height_microns":297000,"is_continuous_feed":false,"vendor_id":"ISO_A4"


          Also, this works perfectly for GCP version 2.0



          Ticket params is basically the settings we send to G.C.Printer and by default, it sends media type as "NA_LETTER". We can override the default settings by sending the ticket parameter to trigger the print.



          GCP parses the ticket and uses the key value accordingly. If any key is wrong, it throws "unable to parse ticket" error.






          share|improve this answer



























          • Thanks. I will check this.

            – Samir Bhatt
            Mar 28 at 9:34










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55391207%2fset-paper-size-a4-while-printing-from-google-cloud-print-api%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0
















          We need to pass the A4 specifications to the G.C.Printer.
          You need to pass ticket in the path parameter along with printerid, file, title, contentType and should look like this:



          ticket : "version":"1.0","print":"media_size":"width_microns":210000,"height_microns":297000,"is_continuous_feed":false,"vendor_id":"ISO_A4"


          (^above are the specs of A4 media size)



          Your params should look like this:



          printerid : <printerid>
          content: <content>
          title : <title>
          contentType: <contentType>
          ticket : "version":"1.0","print":"media_size":"width_microns":210000,"height_microns":297000,"is_continuous_feed":false,"vendor_id":"ISO_A4"


          Also, this works perfectly for GCP version 2.0



          Ticket params is basically the settings we send to G.C.Printer and by default, it sends media type as "NA_LETTER". We can override the default settings by sending the ticket parameter to trigger the print.



          GCP parses the ticket and uses the key value accordingly. If any key is wrong, it throws "unable to parse ticket" error.






          share|improve this answer



























          • Thanks. I will check this.

            – Samir Bhatt
            Mar 28 at 9:34















          0
















          We need to pass the A4 specifications to the G.C.Printer.
          You need to pass ticket in the path parameter along with printerid, file, title, contentType and should look like this:



          ticket : "version":"1.0","print":"media_size":"width_microns":210000,"height_microns":297000,"is_continuous_feed":false,"vendor_id":"ISO_A4"


          (^above are the specs of A4 media size)



          Your params should look like this:



          printerid : <printerid>
          content: <content>
          title : <title>
          contentType: <contentType>
          ticket : "version":"1.0","print":"media_size":"width_microns":210000,"height_microns":297000,"is_continuous_feed":false,"vendor_id":"ISO_A4"


          Also, this works perfectly for GCP version 2.0



          Ticket params is basically the settings we send to G.C.Printer and by default, it sends media type as "NA_LETTER". We can override the default settings by sending the ticket parameter to trigger the print.



          GCP parses the ticket and uses the key value accordingly. If any key is wrong, it throws "unable to parse ticket" error.






          share|improve this answer



























          • Thanks. I will check this.

            – Samir Bhatt
            Mar 28 at 9:34













          0














          0










          0









          We need to pass the A4 specifications to the G.C.Printer.
          You need to pass ticket in the path parameter along with printerid, file, title, contentType and should look like this:



          ticket : "version":"1.0","print":"media_size":"width_microns":210000,"height_microns":297000,"is_continuous_feed":false,"vendor_id":"ISO_A4"


          (^above are the specs of A4 media size)



          Your params should look like this:



          printerid : <printerid>
          content: <content>
          title : <title>
          contentType: <contentType>
          ticket : "version":"1.0","print":"media_size":"width_microns":210000,"height_microns":297000,"is_continuous_feed":false,"vendor_id":"ISO_A4"


          Also, this works perfectly for GCP version 2.0



          Ticket params is basically the settings we send to G.C.Printer and by default, it sends media type as "NA_LETTER". We can override the default settings by sending the ticket parameter to trigger the print.



          GCP parses the ticket and uses the key value accordingly. If any key is wrong, it throws "unable to parse ticket" error.






          share|improve this answer















          We need to pass the A4 specifications to the G.C.Printer.
          You need to pass ticket in the path parameter along with printerid, file, title, contentType and should look like this:



          ticket : "version":"1.0","print":"media_size":"width_microns":210000,"height_microns":297000,"is_continuous_feed":false,"vendor_id":"ISO_A4"


          (^above are the specs of A4 media size)



          Your params should look like this:



          printerid : <printerid>
          content: <content>
          title : <title>
          contentType: <contentType>
          ticket : "version":"1.0","print":"media_size":"width_microns":210000,"height_microns":297000,"is_continuous_feed":false,"vendor_id":"ISO_A4"


          Also, this works perfectly for GCP version 2.0



          Ticket params is basically the settings we send to G.C.Printer and by default, it sends media type as "NA_LETTER". We can override the default settings by sending the ticket parameter to trigger the print.



          GCP parses the ticket and uses the key value accordingly. If any key is wrong, it throws "unable to parse ticket" error.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 28 at 9:45

























          answered Mar 28 at 9:32









          Anirudh SariaAnirudh Saria

          12 bronze badges




          12 bronze badges















          • Thanks. I will check this.

            – Samir Bhatt
            Mar 28 at 9:34

















          • Thanks. I will check this.

            – Samir Bhatt
            Mar 28 at 9:34
















          Thanks. I will check this.

          – Samir Bhatt
          Mar 28 at 9:34





          Thanks. I will check this.

          – Samir Bhatt
          Mar 28 at 9:34








          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







          Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.




















          draft saved

          draft discarded















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55391207%2fset-paper-size-a4-while-printing-from-google-cloud-print-api%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현