Skip to content

Commit

Permalink
PDFBOX-974: make printer name match case insensitive, as suggested by…
Browse files Browse the repository at this point in the history
… Christophe Borivant

git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1923642 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Feb 7, 2025
1 parent bd5e322 commit 3a9d0a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/src/main/java/org/apache/pdfbox/tools/PrintPDF.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public Integer call()
boolean printerFound = false;
for (PrintService printService : printServices)
{
if (printService.getName().equals(printerName))
if (printService.getName().equalsIgnoreCase(printerName))
{
printJob.setPrintService(printService);
printerFound = true;
Expand Down

0 comments on commit 3a9d0a1

Please sign in to comment.