发布于 2014-07-10 08:17:58
为了简化它,PostScript与PDF相同。)这只是给打印机(或PostScript查看器)的命令列表,告诉他该做什么。下面是postscript命令的示例(来自维基百科),它打印“Hello”:
%!PS
/Courier % name the desired font
20 selectfont % choose the size in points and establish
% the font as the current one
72 500 moveto % position the current point at
% coordinates 72, 500 (the origin is at the
% lower-left corner of the page)
(Hello world!) show % stroke the text in parentheses
showpage % print all on the page正如你所看到的,这是类似于“海龟”的绘制命令,但被提升到专业水平。
普通桌面打印机能够解释这组命令,以打印您想要的任何东西。而斑马打印机不需要打印任何你想要的。他们只需要打印一些简单的东西,比如收据,条形码,标签。因此,没有必要将更昂贵的芯片投入到支持PS的芯片中。然而,所有斑马打印机都可以打印图像。(意思是图形位图,通常是单色图像)。
因此,您的问题的解决方案听起来是这样的:尽管无法直接向Zebra打印机发送PostScript命令,但您始终可以将PostScript命令呈现到图像/位图中(就像Adobe阅读器那样),然后将该图像转换为单色,然后使用任何斑马或其他热打印机打印。
https://stackoverflow.com/questions/24653766
复制相似问题