PrintJob / Intent not refreshing

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 1

Nov 27, 2017, 1:25:25 PM via Website

Hi Everyone,

I am having problem updating the Copies in the print UI to more than 1 copy, I am using the below code:

PrintManager printManager = (PrintManager) getActivity().getSystemService(Context.PRINT_SERVICE);
PrintAttributes.Builder attbuilder = new PrintAttributes.Builder();
attbuilder.setMediaSize( PrintAttributes.MediaSize.ISO_A4);
PrintJobInfo prtJobInfo = printManager.print(jobName, pda,;
PrintJobInfo.Builder jobBuilder = new PrintJobInfo.Builder(prtJobInfo);
prtJobInfo =;
Intent bkpIntent = getActivity().getIntent().putExtra(PrintService.EXTRA_PRINT_JOB_INFO, prtJobInfo);
Log.d(TAG, “printWifi bkpIntent: “+ bkpIntent.getParcelableExtra(
getActivity().setResult(Activity.RESULT_OK, getActivity().getIntent());

However, after printJob has been created (by 'printManager.print' function), it doesn't seem to be updating even though the log show the intent has been updated correctly.

Anyone can provide some help / insight in why the intent is not refreshing?

Thank you


Recommended articles