Skip to content

Commit 3a9d0a1

Browse files
committed
PDFBOX-974: make printer name match case insensitive, as suggested by Christophe Borivant
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1923642 13f79535-47bb-0310-9956-ffa450edef68
1 parent bd5e322 commit 3a9d0a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/src/main/java/org/apache/pdfbox/tools/PrintPDF.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ public Integer call()
164164
boolean printerFound = false;
165165
for (PrintService printService : printServices)
166166
{
167-
if (printService.getName().equals(printerName))
167+
if (printService.getName().equalsIgnoreCase(printerName))
168168
{
169169
printJob.setPrintService(printService);
170170
printerFound = true;

0 commit comments

Comments
 (0)