Skip to content

Commit

Permalink
Version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jvenhuizen committed May 6, 2022
1 parent cf1256c commit 14bacf3
Show file tree
Hide file tree
Showing 53 changed files with 2,234 additions and 1,103 deletions.
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "zebra-printing-scripts"]
path = src/main/dist/maximo/tools/maximo/classes/psdi/zebralabel/en
[submodule "src/main/dist/tools/maximo/classes/psdi/zebralabel/en"]
path = src/main/dist/tools/maximo/classes/psdi/zebralabel/en
url = https://github.com/sharptree/zebra-printing-scripts.git
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If checked, uncheck the `System managed` switch for the `Customization` section.

![System mananged switch](images/mas-deploy-customization-sys-manage.png)

In the `File Address` field enter the URL for the `zebra-label-x.y.z.zip` archive. This can be hosted on a self-hosted server or from the GitHub release URL, such as `https://github.com/sharptree/zerba-label/archive/refs/tags/v1.0.0.zip`. If using a self-hosted site, optional credentials can be provided by entering the username and password in the following format.
In the `File Address` field enter the URL for the `zebra-label-x.y.z.zip` archive. This can be hosted on a self-hosted server or from the GitHub release URL, such as `https://github.com/sharptree/zebra-label/releases/download/public/1.1.0/zebra-label-1.1.0.zip`. If using a self-hosted site, optional credentials can be provided by entering the username and password in the following format.
```properties
user=your user name
password=your password
Expand Down Expand Up @@ -73,16 +73,16 @@ This application is available to the Maximo administrator group (typically MAXAD

![Application Navigation Menu](images/label-print-nav-menu.png)

# Configure Printers
Before users can print labels one or more Zebra printers must be configured. Navigate to the `Label Configuration` application and then select the `Manage Printers` option from the `More Actions` menu.
# Manage Printers
Before users can print labels one or more Zebra printers must be created. Navigate to the `Label Configuration` application and then select the `Manage Printers` option from the `More Actions` menu.

![Manage Printers](images/manage-printers.png)

Click the `New Row` button to create a new printer configuration.

![New Printer](images/new-printer.png)

Enter the printer details with a unique printer name globally identifying the printer, a Storeroom, a host name or IP address, port number and the media type. When printing the available printers are filtered based on the current records LOCATION or TOSTORELOC value and available labels are filtered based on compatible media types.
Enter the printer details with a unique printer name globally identifying the printer, a Storeroom, a host name or IP address, port number and the media type. When printing the available printers are filtered based on the current records LOCATION or TOSTORELOC value and available labels are filtered based on compatible media types.

![Printer Details](images/printer-details.png)

Expand All @@ -99,6 +99,8 @@ Continue to add additional printers as required, then click the `OK` button to s
| Media | The media identifier, typically in HxW (2x1, 4x6 etc) format although non-standard identifiers may be used. |
| Default? | Boolean value that indicates that the printer is the default for the storeroom location and will be selected by default. |
| Site | The Maximo Site identifier for the storeroom location. |
| Remote? | Is the printer on a remote network and using the print agent. |



# Configure Labels
Expand Down
26 changes: 23 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,22 +1,31 @@
@file:Suppress("KDocUnresolvedReference")

plugins {
java
distribution
}

group = "io.sharptree"
version = "1.0.0"
version = "1.1.0"

val vendor = "Sharptree"
val product = "zebra-label"
val distro = "zebra-label"

project.version = "1.0.0"
project.version = "1.1.0"

tasks.compileJava {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}


configurations.register("installation").configure {
extendsFrom(configurations.implementation.get())
isTransitive = false
}


repositories {
mavenCentral()
}
Expand All @@ -36,6 +45,7 @@ distributions {
into("applications/maximo/lib") {
from(distribution.filter { it.name.startsWith("guava") })
}

into("applications/maximo/maximouiweb/webmodule/WEB-INF/lib") {
from("$buildDir/libs/${product.toLowerCase()}-web.jar")
}
Expand Down Expand Up @@ -88,6 +98,10 @@ tasks.register("unzip") {
from(zipTree(tasks.distZip.get().archiveFile.get().asFile))
into(distDir + File.separator + "tmp")
}
copy {
from(zipTree(configurations.getByName("installation").filter { it.name.startsWith("semver") }.singleFile))
into(distDir + File.separator + "tmp/${project.name}-${version}/tools/maximo/classes")
}
}
}

Expand Down Expand Up @@ -175,11 +189,17 @@ dependencies {
* webclient - classes from the maximouiweb/WEB-INF/classes folder
* tools - classes from the [SMP_HOME]/maximo/tools/maximo/classes folder
*
*
* If you are not a Sharptree developer, but have access to a Maximo instance you can zip the required into jar files and
* places them in the libs directory on this project. The comment the non-local dependencies.
*/

compileOnly(fileTree( "libs") { listOf("*.jar") })

compileOnly("com.google.code.gson:gson:2.2.4")

/**
* Semantic versioning for checking script versions.
*/
implementation("com.vdurmont:semver4j:3.1.0")

}
Binary file modified images/printer-details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
<major>1</major>
<minor>0</minor>
<modlevel>0</modlevel>
<patch>7</patch>
<build>20220314</build>
<patch>15</patch>
<build>20220504</build>
</version>
<dbmaxvarname>ZEBRALABEL</dbmaxvarname>
<dbscripts>zebralabel</dbscripts>
<dbversion>V1000-7</dbversion>
<dbversion>V1000-15</dbversion>
<lastdbversion>V1000-00</lastdbversion>
</product>
Loading

0 comments on commit 14bacf3

Please sign in to comment.