Training Mag For most of the examples given in this tutorial yo | Page 4
Calling MobilePrint via Intent (Fax)
Intent
Type
Name
Value
Description
Etc.
action
Action
com.sec.print.mobileprint.action.F
AX
-
Main action to send fax using Samsung Mobile Print.
Mandatory
(Version 2.00.11 and above)
Extra
Contents
com.sec.print.mobileprint.extra.CO
NTENT
Uri
URI object with the file path of Image or Document to be
printed.
Mandatory
com.sec.print.mobileprint.extra.M
ULTIPLE_CONTENTS
ArrayList
This is only for faxing multiple image files. Content type must
be set as “PHOTO”
※ If this value is set, “.extra.CONTENT” value is ignored.
com.sec.print.mobileprint.extra.CO
NTENT_TYPE
“PHOTO”
The file to be sent as fax is image.
※ Support formats : JPG, BMP, PNG, GIF
“DOCUMENT”
The file to be sent as fax is document.
※ Support formats : PDF, TXT, HWP, DOC, DOCX PPT, PPTX,
XLS, XLSX
“WEBPAGE”
The URL to be sent as fax is Web URL
Web Print path will ne followed.
“WEBPAGE_AUTO”
The URL to be sent as fax is Web URL.
Similar to “WEBPAGE” except it skips Web View screen and
moves directly to Preview screen
“PHOTO_PRINT”
PHOTO_PRINT
Options for Photo printing will be enabled.
Ex) Image Size , Crop
※ Works with only Photos
Content
type
Option
Type
com.sec.print.mobileprint.extra.OP
TION_TYPE
“DOCUMENT_PRINT”
4
Job Name
com.sec.print.mobileprint.extra.JO
B_NAME
Action type
com.sec.print.mobileprint.extra.AU
TO_RETURN
“TRUE” /”FALSE”
Mandatory
(Version 2.00.00 and above)
Optional
Default:”PHOTO_PRINT”
DOCUMENT_PRINT
Options for Document printing will be enabled.
Ex) N-UP
※ This option can be used with all content types
The name of fax job.
Optional
When set as True, Mobile Print app is closed automatically
when user presses Fax and returns back to calling App.
Optional
Default:”FALSE”
(Version 2.00.11 and above)