
Product
Introducing Repository Access Permissions and Custom Roles
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.
esc tsc print for nodejs
This module dependencies node-printer
#How to use
const print = require('pos-print');import * as print from 'pos-print'getPrinters()
Get all installed printers
printText(printerName:string, text:string)
Return Promise
Print text,print.printText('epson-58','hello!')
printRaw(printerName:string, data:any)
Return Promise
Print cmd,print.printRaw('epson-58','\x1b\x40')
printImageByTSC(options)
options{
printer: string;
url: string;
pageWidth: number;
pageHeight: number;
gap: number;
copy: number;
}
Return Promise
Print image by TSC
printImageByESC(options)
options{
printer: string;
url: string;
maxWidth: number;
}
Return Promise
Print image by ESC/POS
FAQs
nodejs esc tsc print
The npm package pos-print receives a total of 14 weekly downloads. As such, pos-print popularity was classified as not popular.
We found that pos-print demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.

Product
Socket Firewall blocks malicious VS Code and Open VSX extensions before install, protecting developers from compromised editor marketplaces.