开发者

Force Safari for Mac to print with no padding/margins as well as remember the paper size

开发者 https://www.devze.com 2023-03-22 22:36 出处:网络
i have spent q good bit of time getting a zebra printer to work with os x for barcode printing from a browser.

i have spent q good bit of time getting a zebra printer to work with os x for barcode printing from a browser.

the difficulty i am now having is with safari properly displaying the margins/pad开发者_如何转开发ding. even though i have all margins etc. set to 0 with CSS with @page and body, html. it still prints with about 1/4" margin. does anyone know a way to remove this? it works fine in chrome and firefox scales it so small it's unreadable when using 4x1" paper settings.

as an aside, is it possible to for Safari (or any app) to remember the paper size from the last print job? even when i save the print profile, it always defaults to Default paper size.

thanks.


It looks like safari automatically adds the 1/4" border as not all printers are capable of edge-to-edge output. For optimum output quality and overall control you need to write native ZPL code and spool to the device.

0

精彩评论

暂无评论...
验证码 换一张
取 消