Quantcast
Channel: VMware Communities : Discussion List - Virtual Machine, Guest OS and VM Tools
Viewing all articles
Browse latest Browse all 1961

How to set printer margins in Mozilla Firefox if using a lot of printers in VDI's which are deleted each time users logs off

$
0
0

Hello, I am using VMware floating assignement linked clones virtual desktops. I am using Firefox version 31. I have a problem with page setup margins. I need to use left 30mm; right 10mm; top 20mm; bottom 20mm.  After users log off - machines are deleted and users next time logs on get's brand new VDI's. Users gets printers to VDI using login script from Active Directory:

 

Option Explicit

Dim strPrinterUNC, objNetwork

strPrinterUNC = "\\some_server\printer_number_1"

Set objNetwork = CreateObject("WScript.Network")

objNetwork.AddWindowsPrinterConnection

strPrinterUNC WScript.Sleep (20000)

objNetwork.SetDefaultPrinter strPrinterUNC

Set objNetwork = Nothing

 

Each user have different logon script, because they use different printers (different printer names e.g. \\some_server\printer_number_2 ; \\some_server\printer_number_3  and etc. Page setup margins in Internet Explorer are ok. But how to make Firefox page setup margins as i need? For other options i have used CCK2 Wizard 2.0.4 tool. It worked fine. Maybe i can put some information in C:\Program Files\Mozilla Firefox\defaults\pref\autoconfig.js I have some usefull data in it allready. I have found info that: "Setting print margins is done in the printer settings". I have a lot of printers, so i can not set printer margins individualy for each of them. Now mozilla shows top, bottom, right, left each 12.7 mm. What should i do if i have a lot of printers in enterprise environment? I can not use thinprint and thinapp in this situation.


Viewing all articles
Browse latest Browse all 1961

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>