Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/question/public_html/index.php:1) in /home/question/public_html/index.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/question/public_html/index.php:1) in /home/question/public_html/index.php on line 2
Questionville.com - Technology - Programming - Bypass HTML Print Dialog VBNET FaxServer Object

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/question/public_html/scripts.php on line 1574

Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /home/question/public_html/scripts.php on line 1574
Top Answers


Please try not to post duplicate answers... if you see an answer that you want to post, just add a vote to it and you can add a note as well. Thank You
1

2
maybe...
Submitted By: Brandn487 ( 312 days, 10 hours, 54 minutes ago )
You could use some windows API to automatically select the OK button on the print dialog box. I know printing directly to the printer is fairly easy in VB6 but im not sure about VB.NET. One sloppy way to do it would be to use the ascii code for the enter once the print function is called.
Submitted By: AluminumPork
I thought about that. But I didn't know how I would go about targeting the Print Dialog box with SendKeys or something. As for the ASCII way, how could I simulate output from the keyboard?
Submitted By: Brandn487
Well in VB6 if you wanted to simulate pressing the enter key you would just open the keypress event where there was already a variable named KeyAscii, and you would type KeyAscii = 13 but im not really sure how it would be done in VB.NET I havent used it much