MCPcopy Create free account

hub / github.com/0xMH/fichero-printer / functions

Functions251 in github.com/0xMH/fichero-printer

↓ 1 callersMethodloadObject
(key: string)
web/src/utils/persistence.ts:71
↓ 1 callersFunctionmain
()
fichero/cli.py:186
↓ 1 callersMethodonNotify
(event: Event)
web/src/lib/fichero/client.ts:148
↓ 1 callersMethodparseStatusByte
(byte: number)
web/src/lib/fichero/client.ts:244
↓ 1 callersMethodpickAndReadTextFile
(acceptExtension: string, multiple: boolean)
web/src/utils/file_utils.ts:237
↓ 1 callersFunctionprepare_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 callersFunctionpreprocessDateTime
(format?: string)
web/src/utils/canvas_preprocess.ts:9
↓ 1 callersFunctionrefreshRfidInfo
()
web/src/stores.ts:62
↓ 1 callersMethodrequestDevice
(options?: RequestDeviceOptions)
web/src/lib/fichero/web-bluetooth.d.ts:56
↓ 1 callersMethodresetVirtualZoom
()
web/src/fabric-object/custom_canvas.ts:85
↓ 1 callersMethodrotateCW90
(canvas: HTMLCanvasElement)
web/src/lib/fichero/image_encoder.ts:20
↓ 1 callersMethodsend_chunked
(self, data: bytes, chunk_size: int | None = None)
fichero/printer.py:233
↓ 1 callersMethodsetAndShrinkText
Set text and reduce fontSize until text fits to the given width
web/src/fabric-object/textbox-ext.ts:40
↓ 1 callersMethodsetPacketInterval
(ms: number)
web/src/lib/fichero/client.ts:271
↓ 1 callersMethodset_shutdown_time
(self, minutes: int)
fichero/printer.py:314
↓ 1 callersMethodsetupZoom
()
web/src/fabric-object/custom_canvas.ts:41
↓ 1 callersMethodshrinkText
Reduce fontSize until text fits to the given width
web/src/fabric-object/textbox-ext.ts:55
↓ 1 callersMethodstartHeartbeat
()
web/src/lib/fichero/client.ts:275
↓ 1 callersMethodstartNotifications
()
web/src/lib/fichero/web-bluetooth.d.ts:40
↓ 1 callersMethodstop_print
AiYin stop: 10 FF FE 45. Waits for 0xAA or 'OK'.
fichero/printer.py:341
↓ 1 callersFunctiontext_to_image
Render crisp 1-bit text, rotated 90 degrees for label printing.
fichero/imaging.py:80
↓ 1 callersMethodurlHashParamsToDict
()
web/src/utils/file_utils.ts:348
↓ 1 callersMethodvirtualZoomIn
()
web/src/fabric-object/custom_canvas.ts:73
↓ 1 callersMethodvirtualZoomOut
()
web/src/fabric-object/custom_canvas.ts:77
↓ 1 callersMethodwaitForNotify
(timeout = 2000)
web/src/lib/fichero/client.ts:158
↓ 1 callersMethodwakeup
(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
MethodaddEventListener
(type: "characteristicvaluechanged", listener: (event: Event) => void)
web/src/lib/fichero/web-bluetooth.d.ts:42
MethodaddImageBlob
(fabricCanvas: fabric.Canvas, img: Blob)
web/src/utils/label_designer_object_helper.ts:54
MethodaddObject
(canvas: fabric.Canvas, objType: OjectType)
web/src/utils/label_designer_object_helper.ts:161
MethodaddObjectFromClipboard
( fabricCanvas: fabric.Canvas, data: DataTransfer, )
web/src/utils/label_designer_object_helper.ts:62
MethodaddStaticText
(canvas: fabric.Canvas, text?: string, options?: Partial<fabric.TextProps>)
web/src/utils/label_designer_object_helper.ts:95
Functionatkinson
(image: ImageData, threshold: number)
web/src/utils/post_process.ts:35
Functionbayer
(image: ImageData, threshold: number)
web/src/utils/post_process.ts:67
FunctioncanvasPreprocess
(canvas: fabric.Canvas, variables?: { [key: string]: string })
web/src/utils/canvas_preprocess.ts:29
MethodcloneSelection
(canvas: fabric.Canvas)
web/src/utils/label_designer_utils.ts:6
Functioncmd_image
(args: argparse.Namespace)
fichero/cli.py:119
Functioncmd_info
(args: argparse.Namespace)
fichero/cli.py:86
Functioncmd_set
(args: argparse.Namespace)
fichero/cli.py:130
Functioncmd_status
(args: argparse.Namespace)
fichero/cli.py:98
Functioncmd_text
(args: argparse.Namespace)
fichero/cli.py:108
Methodconnect
(opts?: { deviceId?: string })
web/src/lib/fichero/client.ts:102
Methodconstructor
( opts: PrintTaskOptions, sendCmd: SendFn, sendChunked: SendChunkedFn, emitProgress: EmitProgr
web/src/lib/fichero/print_task.ts:31
Methodconstructor
(options?: Props)
web/src/fabric-object/qrcode.ts:73
Methodconstructor
(text: string, options?: Props)
web/src/fabric-object/textbox-ext.ts:28
Methodconstructor
(options?: Props)
web/src/fabric-object/barcode.ts:93
Methodconstructor
( el?: string | HTMLCanvasElement, options?: fabric.TOptions<fabric.CanvasOptions>, )
web/src/fabric-object/custom_canvas.ts:32
FunctioncopyImageData
(iData: ImageData)
web/src/utils/post_process.ts:1
MethodcreateMirroredObjects
Clone mirrored objects and add them to canvas
web/src/fabric-object/custom_canvas.ts:394
MethoddeleteSelection
(canvas: fabric.Canvas)
web/src/utils/label_designer_utils.ts:62
FunctiondetectAntiFingerprinting
()
web/src/utils/browsers.ts:2
Methoddisconnect
()
web/src/lib/fichero/client.ts:131
MethodencodeCanvas
(canvas: HTMLCanvasElement, direction: PrintDirection)
web/src/lib/fichero/image_encoder.ts:5
MethodenterEditingImpl
()
web/src/fabric-object/textbox-ext.ts:65
MethodexitEditingImpl
()
web/src/fabric-object/textbox-ext.ts:70
Methodfactory_reset
(self)
fichero/printer.py:320
Methodfail_connect
(sock, addr)
tests/test_rfcomm.py:76
Methodfeed_dots
Feed paper forward by n dots.
fichero/printer.py:333
MethodgetAvailability
()
web/src/lib/fichero/web-bluetooth.d.ts:55
MethodgetAvailableTransports
()
web/src/lib/fichero/utils.ts:13
MethodgetPrintTaskType
()
web/src/lib/fichero/client.ts:267
Methodget_density
(self)
fichero/printer.py:274
Methodhang_forever
()
tests/test_rfcomm.py:164
MethodhasCustomDefaultTemplate
()
web/src/utils/persistence.ts:319
FunctioninitClient
()
web/src/stores.ts:77
Functioninvert
(image: ImageData)
web/src/utils/post_process.ts:104
MethodisAnyInputFocused
(canvas: fabric.Canvas)
web/src/utils/label_designer_utils.ts:69
MethodloadCachedFonts
* @throws {z.ZodError}
web/src/utils/persistence.ts:333
MethodloadCanvasState
(canvas: fabric.Canvas, state: FabricJson)
web/src/utils/file_utils.ts:279
MethodloadDefaultTemplate
* @throws {z.ZodError}
web/src/utils/persistence.ts:312
MethodloadFonts
(fontsToLoad: UserFont[])
web/src/utils/file_utils.ts:396
MethodloadLabelPresets
* @throws {z.ZodError}
web/src/utils/persistence.ts:264
MethodloadLabels
* @throws {z.ZodError}
web/src/utils/persistence.ts:181
MethodloadLastConnectionType
()
web/src/utils/persistence.ts:272
MethodloadLastLabelProps
* @throws {z.ZodError}
web/src/utils/persistence.ts:113
MethodloadSavedPreviewProps
* @throws {z.ZodError}
web/src/utils/persistence.ts:243
MethodmakeExportedLabel
(canvas: fabric.Canvas, labelProps: LabelProps, includeCsv: boolean)
web/src/utils/file_utils.ts:148
MethodmakeLabelUrl
(label: ExportedLabelTemplate)
web/src/utils/file_utils.ts:333
Methodmessage
(text: string)
web/src/utils/toasts.ts:16
Methodmock_recv
(sock, size)
tests/test_rfcomm.py:123
MethodmoveSelection
( canvas: fabric.Canvas, direction: MoveDirection, ctrl?: boolean, )
web/src/utils/label_designer_utils.ts:38
Methodoff
(event: K, listener: Listener<EventMap[K]>)
web/src/lib/fichero/emitter.ts:14
Methodok
(self)
fichero/printer.py:122
MethodpickAndReadBinaryFile
* Open file picker and return file contents *
web/src/utils/file_utils.ts:266
MethodpickAndReadSingleTextFile
(acceptExtension: string)
web/src/utils/file_utils.ts:255
MethodprintEnd
()
web/src/lib/fichero/print_task.ts:113
MethodprintImageUrls
(sources: string[])
web/src/utils/file_utils.ts:292
MethodprintInit
()
web/src/lib/fichero/print_task.ts:44
MethodprintPage
(image: EncodedImage, quantity: number)
web/src/lib/fichero/print_task.ts:59
MethodreadLabelFromUrl
()
web/src/utils/file_utils.ts:371
← previousnext →101–200 of 251, ranked by callers