Seitenränder IE 5.5
Sophia
- browser
0 Thomas Mell
Das Problem:
bei dem IE 5.5 übernimmt der Browser die Einstellung bei Seite einrichten nicht, wenn man die Ränder auf 0 setzt.
Da wir aber schon seit langen unsere Faxe usw. per Browser ausdrucken, haben wir jetzt ein Problem.
Kann uns jemand helfen? Andere Browser kommen vorerst nicht in Frage, da wir uns für einen Browser damals entscheiden mussten uns somit die internen Seiten nur mit IE funktionieren.
Danke im voraus.
Sophia
Hallo,
<body style="position:absolute; left:0px; top:0px">
viele Grüße
Thomas
Danke für die schnelle Antwort
Leider wird das beim drucken ignoriert.
Kann man der Funktion: window.parent.previewpage.print()
vielleicht diese Parameter übergeben.
Gruß
Sophia
hallo Sophia
Leider wird das beim drucken ignoriert.
Kann man der Funktion: window.parent.previewpage.print()
angeblich hat print() keine variablen aber habt ihr schon
mal versucht eure seiten über css zu formatieren.
<../../tdcj.htm#a1>
vielleicht kann der ie5.5 ja schon teile aus css2.0?
bis dann
FICHTL
hallo FICHTL
angeblich hat print() keine variablen aber habt ihr schon
mal versucht eure seiten über css zu formatieren.
versucht ja, bringt nichts, ich habe jetzt den IE 5.0 aufgespielt,
also lasse ich auch fürs erste die Versuche den 5.5 zu bändigen
gruß
Sophia
Hallo !
Habe noch 'mal drüber nachgedacht:
Beim IE 5.0 konnte man zwar die Seitenränder für den Ausdruck auf 0, 0, 0 und 0 einstellen, nichtsdestotrotz wurden aber beim Druck die physikalischen Grenzen des Druckers eingehalten. (sonst wäre es ja auch ein Wunder gewesen)
Versuch doch einfach diese physikalischen Grenzen (stehen im Handbuch des Druckers) so in den IE 5.5 einzugeben.
Dann müsste es doch auf's gleiche herauskommen, oder nicht ?
Gruß,
kerki
Hallo !
Habe noch 'mal drüber nachgedacht:
Beim IE 5.0 konnte man zwar die Seitenränder für den Ausdruck auf 0, 0, 0 und 0 einstellen, nichtsdestotrotz wurden aber beim Druck die physikalischen Grenzen des Druckers eingehalten. (sonst wäre es ja auch ein Wunder gewesen)
Die Seiten sind so programmiert, dass das schon berücksigtigt wurde, aber der IE 5.5 behält keine Änderung
Versuch doch einfach diese physikalischen Grenzen (stehen im Handbuch des Druckers) so in den IE 5.5 einzugeben.
Dann müsste es doch auf's gleiche herauskommen, oder nicht ?
Also leider nicht, jetzt habe ich ja auch den 5.0 wieder drauf
Gruß
Sophia
Fals jemand die Lösung braucht:
Die Lösung kommt vom Microsoftsupport
Änderung in der Registry:
Support Engineer
Change Print Settings for WebBrowser Control, Internet Explorer
Gruß
SOphia
The information in this article applies to:
IMPORTANT: This article contains information about editing the registry.
Before you edit the registry, make sure you understand how to restore it if
a problem occurs. For information about how to do this, view the "Restoring
the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help
topic in Regedt32.exe.
This article explains how to set page margins, header and footer information,
and the default printer for printing from Internet Explorer and the WebBrowser
control programmatically.
Users can easily change page margins, header and footer settings, and the
default Internet Explorer printer through the Internet Explorer user
interface.
However, there are no methods under Internet Explorer or the WebBrowser
control
to change these settings programmatically.
You cannot use the ExecWB command toset page margins and the header or
footer.
These values are stored in the registry.
There might be a need to change the print settings of Internet Explorer or the
WebBrowser control programmatically. The only settings that can be changed are
page margins, and header and footer information. There is no supported way to
change other settings like page orientation or printer.
WARNING: Using Registry Editor incorrectly can cause serious problems that may
require you to reinstall your operating system. Microsoft cannot guarantee
that
problems resulting from the incorrect use of Registry Editor can be solved.
Use
Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it. If
you are running Windows NT or Windows 2000, you should also update your
Emergency Repair Disk (ERD).
This is how Microsoft Internet Explorer accesses the printing settings:
For Page Margins, Microsoft Internet Explorer first tries to get the values
from
this registry key:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup
If there is no such a key, Internet Explorer create this key by copying the
values from the following:
HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\PageSetup
If there is no such key, default values are provided.
For the Header and Footer, the values are picked up from the following:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup
If there is no such key, default valuesare provided.
The defaults are 0.75 for margins,"&w&bPage &p of &P" for header
and "&u&b&d" for footer.
For the Internet Explorer default printer, default values are provided from:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\PageSetup\printer
The developer could alter the above registry entries for the printing settings
accordingly.
Please note that these values are system-wide and affect all instances of the
WebBrowser control and Internet Explorer for the current user.
For additional information, click the article numbers below to view the
articles
in the Microsoft Knowledge Base:
Q145679 HOWTO: Use the Registry API to Save and Retrieve Setting
Q156732 HOWTO: Print from the Microsoft WebBrowser Control
Q176400 HOWTO: Print the WebBrowser Control
Q188271 HOWTO: Print Contents of the Web Browser Control From VB
Q256898 Default Printer for Internet Explorer or Outlook Express May Be
Incorrect
For more information on developing Web-based solutions for Internet Explorer,
please see the following sites:
MSDN Web Workshop (http://msdn.microsoft.com/workshop/default.asp)
Internet Explorer Developer Center (http://msdn.microsoft.com/ie/)
Internet Explorer (Programming) Support FAQs and Highlights Page
(http://support.microsoft.com/highlights/iep.asp?FR=0&SD=MSDN)
Additional query words: Print WebBrowser header footer margins orientation
======================================================================
Keywords : kbAutomation kbIE400 kbIE401 kbPrinting kbWebBrowser
kbIE401sp1 kbIE401sp2 kbGrpInet kbIE500 kbDSupport kbIEFAQ
Technology : kbvcSearch
Version : WINDOWS:4.0,4.01,4.01 SP1,4.01 SP2,5
Platform : WINDOWS
Issue type : kbhowto
Hallo !
Hallo,
<body style="position:absolute; left:0px; top:0px">viele Grüße
Thomas
Ich denke 'mal, das ging glatt am Thema vorbei.
Gemeint ist doch wohl, die Einstellung der Seitenränder beim SeitenDRUCK!
Leider kenne ich jetzt den neuen IE 5.5 noch nicht, aber da hat sich ja wohl gerade beim Druck (Vorschau) etwas geändert. Vermutlich verweigert er jetzt Einstellungen, die vom Druckertreiber her nicht erlaubt sein sollten (ähnlich zu Word etc.).
Eine Lösung fiele mir jetzt nicht ein. Vielleicht anderen ?
Ausser: Zwingt euch irgendjemand, den IE 5.5 zu verwenden, oder tut's nicht der IE 5.0 auch noch?
Gruß,
kerki