Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

setup specific printing requirements

  • 3 个回答
  • 2 人有此问题
  • 9 次查看
  • 最后回复者为 Mark.Lilly

more options

I have an Adobe application within flashplayer. The application is to print data to a Dymo Label printer. I have been able to create some settings for margins, background colour etc. What I also need to do is specify the printer (locally installed Dymo that may or may not be the windows default printer) And to set the label size to the 30374 label specification.

My mozilla.cfg file as it currently is: // lockPref("network.proxy.type", 5); pref("print_margin_bottom", "0"); pref("print_margin_left", "0"); pref("print_margin_right", "0"); pref("print_margin_top", "0"); pref("print.print_bgcolor", true); pref("print.print_bgimages", true); pref("print.print_footercenter", ""); pref("print.print_footerleft", ""); pref("print.print_footerright", ""); pref("print.print_headercenter", ""); pref("print.print_headerleft", ""); pref("print.print_headerright", ""); pref("print.always_print_silent", false); pref("print.save_print_settings",true); pref("network.negotiate-auth.delegation-uris", "http://,https://"); pref("network.negotiate-auth.trusted-uris", "http://,https://"); pref("network.http.use-cache", false)

I have an Adobe application within flashplayer. The application is to print data to a Dymo Label printer. I have been able to create some settings for margins, background colour etc. What I also need to do is specify the printer (locally installed Dymo that may or may not be the windows default printer) And to set the label size to the 30374 label specification. My mozilla.cfg file as it currently is: // lockPref("network.proxy.type", 5); pref("print_margin_bottom", "0"); pref("print_margin_left", "0"); pref("print_margin_right", "0"); pref("print_margin_top", "0"); pref("print.print_bgcolor", true); pref("print.print_bgimages", true); pref("print.print_footercenter", ""); pref("print.print_footerleft", ""); pref("print.print_footerright", ""); pref("print.print_headercenter", ""); pref("print.print_headerleft", ""); pref("print.print_headerright", ""); pref("print.always_print_silent", false); pref("print.save_print_settings",true); pref("network.negotiate-auth.delegation-uris", "http://,https://"); pref("network.negotiate-auth.trusted-uris", "http://,https://"); pref("network.http.use-cache", false)

所有回复 (3)

more options

If you cannot see any content on pages you printed or in print preview, the cause might be margins which are set too high.

  1. In order to check the margins, we need to go to File > Page Setup.
  2. Once this is done, switch to the Margins & Header/Footer tab.
  3. Check what's set there under Margins.

The following are the default values for Margins:

Right: 12.7

Top: 12.7

Left: 12.7

Bottom: 12.7

Check these values accordingly and change them if necessary.

more options

His margin settings are all set to zero via the mozilla,cfg file, how is that helpful? Also, all those 12.7mm settings are not applicable when the user is using US paper types, which AFAIK includes labels. I have done labels, both sheet and continuous, and also business cards thru Open Office & Libre Office - they both defaulted to US inch measurements when setting up the "forms". I assume Firefox would work the same.


MarkLilly,

I'm curious if you have tried that mozilla.cfg file already, and verified that all those print prefs work as you intend?

As far as setting the Dyno printer as the default in Firefox and whether it is the default in Windows or not .... Firefox defaults to the "last used" regardless of the settings in Windows (or any operating system, for that matter).

And I'm not sure if setting the Dymo as the default in Firefox can be done via the mozilla.cfg file. We'll have to wait for someone with more experience in that area to "weigh-in" here.

more options

Hi Thanks for the responses. The margin settings are intended to be zero.

I'm going to try the following settings, the numbers are in metric and I think they probably need to be in imperial as the-edmeister states. Will test it both ways. I am also unsure if I can point to a shared printer this way. Ill try using a local installed label printer also

pref("print.printer_\\caa3280\DYMO LabelWriter 400.print_paper_height", 89) pref("print.printer_\\caa3280\DYMO LabelWriter 400.print_paper_width", 51)