print page JavaScript

There is a JavaScript funcion into the HEAD tag. This funtion force to initiate printing process of your browser therefore its behaving depends on the browser.

<head>
<link rel='stylesheet' type='text/css' href='/include/screen.css' media='screen' />
<link rel='stylesheet' type='text/css' href='/include/print.css' media='print, handheld' />

<script language="JavaScript">
function print_overall(){
 window.print();
}
</script>
</head>

Somewhere in the body of HTML document should be a call of that funtion. Like that:

<div class="print">
<form>
  <input type="button" value="Print this page" onclick="print_overall()">
</form>
</div>

You can combine the function declaration and call

<div class="print">
<form>
  <input type="button" value="Print this Page" onClick="window.print()" />
</form>
</div>

or

<span class="print">
  <a href="JavaScript:window.print();">Print this page</a>
</span>

The class “print” I use to hide printing elements on a hard copy of the document.

/*=========================================================== screen.css */
.print {
  text-align:center;
}
/*=========================================================== print.css */
.print {
  visibility: hidden;
}

Exchange Server 2003 event ID

The event IDs that are used in Exchange Server 2003 message tracking logs include the following:

Event Number Event Type Description
0 Message transfer in The message was received from a server, a connector, or a gateway.
1 Probe transfer in An X.400 probe was received from a gateway, a link, or a message transfer agent (MTA).
2 Report transfer in A delivery receipt or a non-delivery report (NDR) was received from a server, a connector, or a gateway.
4 Message submission The message was sent by the client.
5 Probe submission An X.400 probe was received from a user.
6 Probe transfer out An X.400 probe was sent to a gateway, a link, or an MTA.
7 Message transfer out The message was sent to a server, a connector, or a gateway.
8 Report transfer out A delivery receipt or an NDR was sent to a server, a connector, or a gateway.
9 Message delivered The message was delivered to a mailbox or a public folder.
10 Report delivered A delivery receipt or an NDR was delivered to a mailbox.
18 StartAssocByMTSUser
23 ReleaseAssocByMTSUse
28 Message redirected The message was sent to mailboxes other than the mailboxes of the recipients.
29 Message rerouted The message was routed to an alternative path.
31 Downgrading An X.400 message was downgraded to 1984 format before relay.
33 Report absorption The number of delivery receipts or of NDRs exceeded a threshold and the reports were deleted.
34 Report generation A delivery receipt or an NDR was created.
43 Unroutable report discarded A delivery receipt or an NDR could not be routed and was deleted from the queue.
50 Gateway deleted message The administrator deleted an X.400 message that was queued for a gateway.
51 Gateway deleted probe The administrator deleted an X.400 probe that was queued for a gateway.
52 Gateway deleted report The administrator deleted an X.400 report that was queued for a gateway.
1000 Local delivery The sender and the recipient are on the same server.
1001 Backbone transfer in Mail was received from another MAPI system across a connector or across a gateway.
1002 Backbone transfer out Mail was sent to another MAPI system across a connector or across a gateway.
1003 Gateway transfer out The message was sent through a gateway.
1004 Gateway transfer in The message was received from a gateway.
1005 Gateway report transfer in A delivery receipt or an NDR was received from a gateway.
1006 Gateway report transfer out A delivery receipt or an NDR was sent through a gateway.
1007 Gateway report generation A gateway generated an NDR for a message.
1010 SMTP queued outbound Outgoing mail was queued for delivery by the Internet Mail Service.
1011 SMTP transferred outbound Outgoing mail was transferred to an Internet recipient.
1012 SMTP received inbound Incoming mail was received from by the Internet Mail Service.
1013 SMTP transferred Incoming mail that was received by the Internet Mail Service was transferred to the information store.
1014 SMTP message rerouted An Internet message is being rerouted or forwarded to the correct location.
1015 SMTP report transferred In A delivery receipt or an NDR was received by the Internet Mail Service
1016 SMTP report transferred out A delivery receipt or an NDR was sent to the Internet Mail Service.
1017 SMTP report generated A delivery receipt or an NDR was created.
1018 SMTP report absorbed The receipt or the NDR could not be delivered and was absorbed. (You cannot send an NDR for an NDR.)
1019 SMTP submit message to AQ A new message is submitted to Advanced Queuing.
1020 SMTP begin outbound transfer A message is about to be sent over the wire by SMTP.
1021 SMTP bad mail The message was transferred to the Badmail folder.
1022 SMTP AQ failure A fatal Advanced Queuing error occurred. Information about the failure was written to the Event Manager.
1023 SMTP local delivery A message was successfully delivered by a store drive (logged by Advanced Queue).
1024 SMTP submit message to cat Advanced Queuing submitted a message to the categorizer.
1025 SMTP begin submit message A new message was submitted to Advanced Queuing.
1026 SMTP AQ failed message Advanced Queuing could not process the message. The message caused an NDR to be sent, or the message was put in the Badmail folder.
1027 SMTP submit message to SD A message was submitted to the store driver by the MTA.
1028 SMTP SD local delivery The store driver successfully delivered a message (logged by store driver).
1029 SMTP SD gateway delivery The store driver transferred the message to the MTA.
1030 SMTP NDR all All recipients were sent an NDR.
1031 SMTP end outbound transfer The outgoing message was successfully transferred.
1032 SMTP message scheduled to retry categorization
1033 SMTP message categorized and queued for routing
1034 SMTP message routed and queued for remote delivery
1035 SMTP message scheduled to retry routing
1036 SMTP message queued for local delivery
1037 SMTP message scheduled to retry local delivery
1038 SMTP message routed and queued for gateway delivery
1039 SMTP message deleted by Intelligent Message Filtering
1040 SMTP message rejected by Intelligent Message Filtering
1041 SMTP message archived by Intelligent Message Filtering
1042 Message redirected to the alternate recipient

.ru domain name by PayPal for EUR

I check many registrants but I found only one with a reasonable price (16.76 USD most ask 19.00 USD or even more) and a full functionality with the paypal payment.

http://estdomain.com.ua/ - clear interface
http://mydomain-in.net/ - nice looking interface

I prefer the clear interface

12.61 EUR  .ru domain for 1 year with paypal and conversion from EUR to USD fees

Canon iR2016 E007 = 267.95 EUR

A sensor was really dirty and greasy and the film was displaced. I believe if clean the sensor the film soils it again. So I call a technician to chenge film.

203.00 EUR  x1 piece fixing film    FM2-3353-000
 14.00 EUR  x2 fixing bushing       NS-1441
233.00 EUR
 34.95 EUR VAT
267.95 EUR

Canon iR2016 E007

I am trying to fix system error E007 of Canon iR2016 - Fixing film rotation error / Fixing film has become displaced

system errors Canon iR2016 / iR2016J / iR2016i / iR2020 / iR2020i
error codesub codedescription
E000 0000 Fixing temperature abnormal rise
E001 0000 Fixing unit temperature rise detection (by main thermistor)
0001 Fixing unit temperature rise detection (by sub thermistor)
E002 0000 Fixing unit temperature insufficient rise
E003 0000 Low fixing temperature detection after standby (by main thermistor)
0001 Low fixing temperature detection after standby (by sub thermistor)
E007 0000 Fixing film rotation error / Fixing film has become displaced
E010 0000 Main motor rotation error
E019 0001 Waste toner full detection
0002 Waster toner full detection sensor failure
E052 0000 Duplex unit connection error
E100 0000 BD cycle out of range
E197 0000 Erroneous communication with printer engine
E500 0001 Finisher communication error
E520 0000 Offset error
E531 0000 Stapling error
E540 0001 Paper surface not detected (standard tray)
0002 Not moved within the specified time (standard tray)
0003 Sensor not reached within 3 seconds (standard tray)
0005 Encoder clock failure (standard tray)
E542 0001 Paper surface not detected (optional tray)
0002 Not moved within the specified time (optional tray)
0003 Sensor not reached within 3 seconds (optional tray)
0005 Encoder clock failure (optional tray)
E575 0000 Stack delivery error
E584 0000 Shutter failure
E716 0000 Erroneous communication with optional cassette
E719 0000 Erroneous communication with card reader (serial communication)
0002 Erroneous communication with coin vender (serial communication)
E733 0000 Erroneous communication between controller and printer
E736 0000 CCU communication error
E739 0000 Erroneous communication between controller and network board
E744 0001 Language file/boot ROM/USB memory error
0002
0003
0004
E805 0000 Fan failure
E808 0000 Fixing drive circuit failure

begin to use dash instead of underscore

I start to use the dash instead of underscore in filenames, directories, folders.

1. I can copy projects and anything to web without changes. I believe the dash more understandable for search engines than the underscore.
2. one press on keyboard :)

Show desktop icon

show desktop The icon “Show Desktop” on “Quick Launch” toolbar is a link to .scf text file locates in [harddive]:\Documents and Settings\[user name]\Application Data\Microsoft\Internet Explorer\Quick Launch\Show Desktop.scf

[Shell]
  Command=2
  IconFile=explorer.exe,3
[Taskbar]
  Command=ToggleDesktop

remove ^M, conver end of sting from dos to unix


$cat input_filename | sed 's/r//' > output_filename

visibility private post in RSS

I just notice in WordPress 2.7.1.  that eveybody can see your private posts in RSS feeds. That is quite unexpectedly to me,  I expect private post should be hidden from others.  Ok, I will try to fix that  late on.

gmail.com on behalf of [mydomain.com]

One user should not be in our network but should have email address like others in our domain.

I have tried make an email account on gmail.com for the user and substitute xxxx@gmail.com to zzzz@mydomain.com through gmail | Settings  | Accounts |  Send mail as: |

Everything was fine but the field “form” kept “xxxx@gmail.com on behalf of [zzzz@mydomain.com]“. This was not look good for muggles and I did not find how to solve that, eventually, I had to play with MS Exchange  settings.

Finally, I found the solution for that task without gmail.com and that is pity.  :)

←Older