diff options
author | Saurabh Chauhan <mopriadevteam@gmail.com> | 2024-01-25 07:07:37 +0000 |
---|---|---|
committer | Saurabh Chauhan <mopriadevteam@gmail.com> | 2024-01-25 07:07:37 +0000 |
commit | 31c722524ee6f9f29ff6b50e31928446935f0e98 (patch) | |
tree | 151b056b86ec44e8a44121860fd5fb7f8f606d29 | |
parent | 79fb0a3f55ef499d09cba6327956eccb8f4ddabc (diff) | |
download | BuiltInPrintService-31c722524ee6f9f29ff6b50e31928446935f0e98.tar.gz |
Reverted print-scaling attr for PCLm & PWG printers
Don't send print-scaling job attribute for PCLm &
PWG raster printers. This change will address inverted
color printout issue with Brother printers.
Test: Print a document on Brother printer having older FW.
Change-Id: I69a1b7fcb5ecae85d91c93c2205cc02627de7382
Signed-off-by: Saurabh Chauhan <mopriadevteam@gmail.com>
-rwxr-xr-x | jni/lib/wprintJNI.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/jni/lib/wprintJNI.c b/jni/lib/wprintJNI.c index 15b0d3e..38834c1 100755 --- a/jni/lib/wprintJNI.c +++ b/jni/lib/wprintJNI.c @@ -1915,14 +1915,6 @@ JNIEXPORT jint JNICALL Java_com_android_bips_ipp_Backend_nativeStartJob( } } } - } else { - LOGD("PCLm / PWG-Raster"); - for (int i = 0; i < caps.print_scalings_supported_count; i++) { - if (strcmp(caps.print_scalings_supported[i], "none") == 0) { - strlcpy(print_scaling, "none", sizeof(print_scaling)); - break; - } - } } LOGD("setting print-scaling value = %s", print_scaling); strlcpy(params.print_scaling, print_scaling, sizeof(params.print_scaling)); |