Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/0xMH/fichero-printer
/ functions
Functions
251 in github.com/0xMH/fichero-printer
⨍
Functions
251
◇
Types & classes
83
↓ 1 callers
Method
loadObject
(key: string)
web/src/utils/persistence.ts:71
↓ 1 callers
Function
main
()
fichero/cli.py:186
↓ 1 callers
Method
onNotify
(event: Event)
web/src/lib/fichero/client.ts:148
↓ 1 callers
Method
parseStatusByte
(byte: number)
web/src/lib/fichero/client.ts:244
↓ 1 callers
Method
pickAndReadTextFile
(acceptExtension: string, multiple: boolean)
web/src/utils/file_utils.ts:237
↓ 1 callers
Function
prepare_image
Convert any image to 96px wide, 1-bit, black on white. When *dither* is True (default), uses Floyd-Steinberg error diffusion for better quali
fichero/imaging.py:42
↓ 1 callers
Function
preprocessDateTime
(format?: string)
web/src/utils/canvas_preprocess.ts:9
↓ 1 callers
Function
refreshRfidInfo
()
web/src/stores.ts:62
↓ 1 callers
Method
requestDevice
(options?: RequestDeviceOptions)
web/src/lib/fichero/web-bluetooth.d.ts:56
↓ 1 callers
Method
resetVirtualZoom
()
web/src/fabric-object/custom_canvas.ts:85
↓ 1 callers
Method
rotateCW90
(canvas: HTMLCanvasElement)
web/src/lib/fichero/image_encoder.ts:20
↓ 1 callers
Method
send_chunked
(self, data: bytes, chunk_size: int | None = None)
fichero/printer.py:233
↓ 1 callers
Method
setAndShrinkText
Set text and reduce fontSize until text fits to the given width
web/src/fabric-object/textbox-ext.ts:40
↓ 1 callers
Method
setPacketInterval
(ms: number)
web/src/lib/fichero/client.ts:271
↓ 1 callers
Method
set_shutdown_time
(self, minutes: int)
fichero/printer.py:314
↓ 1 callers
Method
setupZoom
()
web/src/fabric-object/custom_canvas.ts:41
↓ 1 callers
Method
shrinkText
Reduce fontSize until text fits to the given width
web/src/fabric-object/textbox-ext.ts:55
↓ 1 callers
Method
startHeartbeat
()
web/src/lib/fichero/client.ts:275
↓ 1 callers
Method
startNotifications
()
web/src/lib/fichero/web-bluetooth.d.ts:40
↓ 1 callers
Method
stop_print
AiYin stop: 10 FF FE 45. Waits for 0xAA or 'OK'.
fichero/printer.py:341
↓ 1 callers
Function
text_to_image
Render crisp 1-bit text, rotated 90 degrees for label printing.
fichero/imaging.py:80
↓ 1 callers
Method
urlHashParamsToDict
()
web/src/utils/file_utils.ts:348
↓ 1 callers
Method
virtualZoomIn
()
web/src/fabric-object/custom_canvas.ts:73
↓ 1 callers
Method
virtualZoomOut
()
web/src/fabric-object/custom_canvas.ts:77
↓ 1 callers
Method
waitForNotify
(timeout = 2000)
web/src/lib/fichero/client.ts:158
↓ 1 callers
Method
wakeup
(self)
fichero/printer.py:326
Method
__init__
(self, byte: int)
fichero/printer.py:96
Method
__init__
(self, address: str, channel: int = RFCOMM_CHANNEL)
fichero/printer.py:139
Method
__init__
(self, client: BleakClient)
fichero/printer.py:205
Method
__str__
(self)
fichero/printer.py:105
Method
_on_notify
(self, _char: BleakGATTCharacteristic, data: bytearray)
fichero/printer.py:212
Method
_render
(ctx: CanvasRenderingContext2D)
web/src/fabric-object/qrcode.ts:114
Method
_render
(ctx: CanvasRenderingContext2D)
web/src/fabric-object/barcode.ts:165
Method
_renderBackground
(ctx: CanvasRenderingContext2D)
web/src/fabric-object/custom_canvas.ts:171
Method
_renderObjects
( ctx: CanvasRenderingContext2D, objects: fabric.FabricObject[], )
web/src/fabric-object/custom_canvas.ts:307
Method
_set
(key: string, value: any)
web/src/fabric-object/qrcode.ts:89
Method
_set
(key: string, value?: any)
web/src/fabric-object/barcode.ts:112
Method
addEventListener
(type: "characteristicvaluechanged", listener: (event: Event) => void)
web/src/lib/fichero/web-bluetooth.d.ts:42
Method
addImageBlob
(fabricCanvas: fabric.Canvas, img: Blob)
web/src/utils/label_designer_object_helper.ts:54
Method
addObject
(canvas: fabric.Canvas, objType: OjectType)
web/src/utils/label_designer_object_helper.ts:161
Method
addObjectFromClipboard
( fabricCanvas: fabric.Canvas, data: DataTransfer, )
web/src/utils/label_designer_object_helper.ts:62
Method
addStaticText
(canvas: fabric.Canvas, text?: string, options?: Partial<fabric.TextProps>)
web/src/utils/label_designer_object_helper.ts:95
Function
atkinson
(image: ImageData, threshold: number)
web/src/utils/post_process.ts:35
Function
bayer
(image: ImageData, threshold: number)
web/src/utils/post_process.ts:67
Function
canvasPreprocess
(canvas: fabric.Canvas, variables?: { [key: string]: string })
web/src/utils/canvas_preprocess.ts:29
Method
cloneSelection
(canvas: fabric.Canvas)
web/src/utils/label_designer_utils.ts:6
Function
cmd_image
(args: argparse.Namespace)
fichero/cli.py:119
Function
cmd_info
(args: argparse.Namespace)
fichero/cli.py:86
Function
cmd_set
(args: argparse.Namespace)
fichero/cli.py:130
Function
cmd_status
(args: argparse.Namespace)
fichero/cli.py:98
Function
cmd_text
(args: argparse.Namespace)
fichero/cli.py:108
Method
connect
(opts?: { deviceId?: string })
web/src/lib/fichero/client.ts:102
Method
constructor
( opts: PrintTaskOptions, sendCmd: SendFn, sendChunked: SendChunkedFn, emitProgress: EmitProgr
web/src/lib/fichero/print_task.ts:31
Method
constructor
(options?: Props)
web/src/fabric-object/qrcode.ts:73
Method
constructor
(text: string, options?: Props)
web/src/fabric-object/textbox-ext.ts:28
Method
constructor
(options?: Props)
web/src/fabric-object/barcode.ts:93
Method
constructor
( el?: string | HTMLCanvasElement, options?: fabric.TOptions<fabric.CanvasOptions>, )
web/src/fabric-object/custom_canvas.ts:32
Function
copyImageData
(iData: ImageData)
web/src/utils/post_process.ts:1
Method
createMirroredObjects
Clone mirrored objects and add them to canvas
web/src/fabric-object/custom_canvas.ts:394
Method
deleteSelection
(canvas: fabric.Canvas)
web/src/utils/label_designer_utils.ts:62
Function
detectAntiFingerprinting
()
web/src/utils/browsers.ts:2
Method
disconnect
()
web/src/lib/fichero/client.ts:131
Method
encodeCanvas
(canvas: HTMLCanvasElement, direction: PrintDirection)
web/src/lib/fichero/image_encoder.ts:5
Method
enterEditingImpl
()
web/src/fabric-object/textbox-ext.ts:65
Method
exitEditingImpl
()
web/src/fabric-object/textbox-ext.ts:70
Method
factory_reset
(self)
fichero/printer.py:320
Method
fail_connect
(sock, addr)
tests/test_rfcomm.py:76
Method
feed_dots
Feed paper forward by n dots.
fichero/printer.py:333
Method
getAvailability
()
web/src/lib/fichero/web-bluetooth.d.ts:55
Method
getAvailableTransports
()
web/src/lib/fichero/utils.ts:13
Method
getPrintTaskType
()
web/src/lib/fichero/client.ts:267
Method
get_density
(self)
fichero/printer.py:274
Method
hang_forever
()
tests/test_rfcomm.py:164
Method
hasCustomDefaultTemplate
()
web/src/utils/persistence.ts:319
Function
initClient
()
web/src/stores.ts:77
Function
invert
(image: ImageData)
web/src/utils/post_process.ts:104
Method
isAnyInputFocused
(canvas: fabric.Canvas)
web/src/utils/label_designer_utils.ts:69
Method
loadCachedFonts
* @throws {z.ZodError}
web/src/utils/persistence.ts:333
Method
loadCanvasState
(canvas: fabric.Canvas, state: FabricJson)
web/src/utils/file_utils.ts:279
Method
loadDefaultTemplate
* @throws {z.ZodError}
web/src/utils/persistence.ts:312
Method
loadFonts
(fontsToLoad: UserFont[])
web/src/utils/file_utils.ts:396
Method
loadLabelPresets
* @throws {z.ZodError}
web/src/utils/persistence.ts:264
Method
loadLabels
* @throws {z.ZodError}
web/src/utils/persistence.ts:181
Method
loadLastConnectionType
()
web/src/utils/persistence.ts:272
Method
loadLastLabelProps
* @throws {z.ZodError}
web/src/utils/persistence.ts:113
Method
loadSavedPreviewProps
* @throws {z.ZodError}
web/src/utils/persistence.ts:243
Method
makeExportedLabel
(canvas: fabric.Canvas, labelProps: LabelProps, includeCsv: boolean)
web/src/utils/file_utils.ts:148
Method
makeLabelUrl
(label: ExportedLabelTemplate)
web/src/utils/file_utils.ts:333
Method
message
(text: string)
web/src/utils/toasts.ts:16
Method
mock_recv
(sock, size)
tests/test_rfcomm.py:123
Method
moveSelection
( canvas: fabric.Canvas, direction: MoveDirection, ctrl?: boolean, )
web/src/utils/label_designer_utils.ts:38
Method
off
(event: K, listener: Listener<EventMap[K]>)
web/src/lib/fichero/emitter.ts:14
Method
ok
(self)
fichero/printer.py:122
Method
pickAndReadBinaryFile
* Open file picker and return file contents *
web/src/utils/file_utils.ts:266
Method
pickAndReadSingleTextFile
(acceptExtension: string)
web/src/utils/file_utils.ts:255
Method
printEnd
()
web/src/lib/fichero/print_task.ts:113
Method
printImageUrls
(sources: string[])
web/src/utils/file_utils.ts:292
Method
printInit
()
web/src/lib/fichero/print_task.ts:44
Method
printPage
(image: EncodedImage, quantity: number)
web/src/lib/fichero/print_task.ts:59
Method
readLabelFromUrl
()
web/src/utils/file_utils.ts:371
← previous
next →
101–200 of 251, ranked by callers