473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Silent Printing HTML

I have a issue. I need to create a command line application/or windows
application that will take 2
parameters and will print to the default printer without any popups. the
first parameter is the html file name(location) second is a switch that will
tell the app to print in landscape or protrait. Basicly I when I type in
(for example) PrintApp "c:\printthis.html" \L it should print the file
printthis.html in landscape. I have tried everything and I have some apps
that will write but with a prompt and others that will write but it will not
print the html correctly (because I am not rendering it). Does anyone have
any clues?
I need to open the app, Print then close without the user knowing

Nov 16 '05 #1
1 2739
Can this be done?


"Sean McKaharay" <se**@classactweb.com> wrote in message
news:eN**************@TK2MSFTNGP11.phx.gbl...
I have a issue. I need to create a command line application/or windows
application that will take 2
parameters and will print to the default printer without any popups. the
first parameter is the html file name(location) second is a switch that
will
tell the app to print in landscape or protrait. Basicly I when I type in
(for example) PrintApp "c:\printthis.html" \L it should print the file
printthis.html in landscape. I have tried everything and I have some apps
that will write but with a prompt and others that will write but it will
not
print the html correctly (because I am not rendering it). Does anyone have
any clues?
I need to open the app, Print then close without the user knowing


Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Peter Schmiedeskamp | last post by:
Hello, I'm writing in regard to the distutils package for python. I regularly repackage installers for silent/automated distribution on numerous Windows PCs throughout an enterprise. Sites such...
2
by: Mei | last post by:
HI! Sir, I'm having difficulties to save the web browser in silent. when I try to use WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DONTPROMPTUSER, "c:\blank.html", "c:\blank.html"
4
by: Bob | last post by:
Hi, I am using Office XP PIAs. I want to use Word/Excel to printOut documents w/o bringing up the application at all. When I set the Visible field to false, I still get the printing window...
5
by: zeljko.markic | last post by:
I want to implement silent printing in my project to print reports programmatically, so that a user will not see any pop-up messages to do with the printing process. For instance, I want to hide...
1
by: eelisdotnet | last post by:
Hi I have an application that have to be installed in silent/passive mode. The first installation goes well. When I try to execute a silent/passive installation of the new version (new msi...
12
by: Alex Clark | last post by:
Greetings, (.NET 2.0, WinXP Pro/Server 2003, IE6 with latest service packs). I've decided to take advantage of the layout characteristics of HTML documents to simplify my printing tasks, but...
0
by: U S Contractors Offering Service A Non-profit | last post by:
" I saw your report " Tom Cruise " I liked it Look at this one if you will..." Inbox U S Contractors Offering Service A Non-profit More options 3:50 pm (9 minutes ago) " I saw your report "...
0
by: nikhilgargi | last post by:
Requirement: I need to provide printing capability in a C# desktop application that I am developing The documents that need to be printed can be in Rich Text Format (RTF) or HTML. Custom...
112
by: istillshine | last post by:
When I control if I print messages, I usually use a global variable "int silent". When I set "-silent" flag in my command line parameters, I set silent = 1 in my main.c. I have many functions...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.