Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
GMImage.GetZPL
Queries image as ZPL hex image.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| GraphicsMagick | 10.3 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| ImageRef | The image reference number. | 1 | |
| Flags | Pass various flags. Currently 1 for skipping header/footer. |
0 | Optional |
Result
Returns text or error.
Description
Queries image as ZPL hex image.This is for sending data to a receipt printer. The picture is taken as black & white image and we build the hex string, you can send to the printer.
Picture needs to have a width dividable by 8.
Examples
Get ZPL encoded image:
Set Variable [ $BigImageRef ; Value: MBS("GMImage.NewFromContainer"; Pictures::Image) ]
# put the ZPL image in container:
Set Field [ Pictures::Result ; MBS( "GMImage.GetZPL"; $BigImageRef ) ]
Set Variable [ $Error ; Value: MBS("GMImage.Free";$BigImageRef) ]
See also
- GMImage.Free
- GMImage.GetFont
- GMImage.GetPage
- GMImage.GetSize
- GMImage.GetType
- GMImage.GetView
- GMImage.GetXMP
- GMImage.New
- GMImage.NewFromContainer
- GMImage.SetXMP
Blog Entries
Release notes
- Version 10.3
- Added GMImage.GetZPL function.
Created 1st June 2020, last changed 20th August 2020
GMImage.GetXMP - GMImage.GetcolorMap
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins