473,769 Members | 1,752 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

print out and save as

how to print with pre-define preference such as margin and page size ?

and a quick Question , the function call to save as

thanks ~~~~~~~
Jul 19 '05 #1
3 2732
Gazing into my crystal ball I observed "hycn office" <hy******@hotma il.com>
writing in news:#x******** ******@TK2MSFTN GP09.phx.gbl:
how to print with pre-define preference such as margin and page size ?

and a quick Question , the function call to save as

thanks ~~~~~~~


For your browser, go into page setup and set margins and page size.

For visitors' browsers, you can suggest this using the @page directive in
CSS.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 19 '05 #2
thanks ~

of coz the visitor browser , i want to programmaticall y preset the print
preference , be coz i found that if i just use javascript window.print ,
some printer cannot print out because of the size , and i cant ask them to
use fineprint ...
so , can anyone tell me more abt how to do in asp plus @page
also , whats the function call of save as document ?

"Adrienne" <ar****@sbcglob al.net> ¦b¶l¥ó
news:Xn******** *************** *****@207.115.6 3.158 ¤¤¼¶¼g...
Gazing into my crystal ball I observed "hycn office" <hy******@hotma il.com> writing in news:#x******** ******@TK2MSFTN GP09.phx.gbl:
how to print with pre-define preference such as margin and page size ?

and a quick Question , the function call to save as

thanks ~~~~~~~


For your browser, go into page setup and set margins and page size.

For visitors' browsers, you can suggest this using the @page directive in
CSS.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com

Jul 19 '05 #3
Gazing into my crystal ball I observed "hycn office"
<hy******@hotma il.com> writing in
news:OO******** ******@tk2msftn gp13.phx.gbl:

"Adrienne" <ar****@sbcglob al.net> ¦b¶l¥ó
news:Xn******** *************** *****@207.115.6 3.158 ¤¤¼¶¼g...
Gazing into my crystal ball I observed "hycn office"
<hy******@hotma il.com> writing in
news:#x******** ******@TK2MSFTN GP09.phx.gbl:
> how to print with pre-define preference such as margin and page size
> ?
>
> and a quick Question , the function call to save as
>
> thanks ~~~~~~~
>
>
>
For your browser, go into page setup and set margins and page size.

For visitors' browsers, you can suggest this using the @page directive
in CSS.

thanks ~

of coz the visitor browser , i want to programmaticall y preset the
print preference , be coz i found that if i just use javascript
window.print , some printer cannot print out because of the size , and
i cant ask them to use fineprint ...


AFAIK you really cannot do that. You have no idea what kind of setup the
visitor has, whether it is a PC, Mac, something entirely different.
so , can anyone tell me more abt how to do in asp plus @page
CSS - http://www.w3.org/TR/REC-CSS2/page.html

also , whats the function call of save as document ?


The user's browser should prompt them to 'save as' unless the content type
is something the user's system is configured to run, or the server is
sending the wrong content type.

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com
Jul 19 '05 #4

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

Similar topics

2
2415
by: Kitkat | last post by:
Hi, i hope my english is good enough to explain my problem. Okay, I have a html-file with a image. But i don't want to save or print the html-file with the image. I want to save or print a pdf-file (in this pdf-file is the image, too) without open the pdf-file. It should only open the "save as"-window or the "print"-window when I push a button. It'll be nice if somebody can help me.
1
7976
by: Eager-Learner | last post by:
Through window.open or window.showmodaldialog, I want to open a word or excel document in Print Preview mode. Bcos I don't want the user to make any changes or save it but the user can ONLY VIEW OR take a print out. Can anyone help me out ? Thanks in advance for any help / guideline
7
14369
by: Pat | last post by:
I would like to send the Print Preview of a MS Access form to a Snapshot file. The form contains an OLE graph. BACKGROUND A snapshot of a report is possible. If I could I would use a report to display the graph but it is not possible to send query parameters to an OLE graph on a report (or programatically change any properties of an OLE Graph). However with a Form you do have the ability to change the RowSource of
16
660
by: John Baker | last post by:
HI; I feel like a fool..I put CUTE FTP in my last request for help --it should have been CUTE PDF! I have FTP on my mind because I have been working on a web based application, and somehow my brain got stuck on it..sorry! Hi: I need some help writing code that will "print" a report using Cute PDF.
5
1880
by: Paul Sullivan | last post by:
We are a state agency that views protected medical information via our intranet. The screens even have privacy shields. Alarmingly, uses can "Print" and "Save As" which destroys the protection of the health information at the level we want. QUESTION: Can we shut those off?? Any other suggestions?? Paul Sullivan
7
2637
by: Ron | last post by:
Hi All, Is it possible to have Access print a report, identical to one that would print to a printer, only print to a "standard" text file? I can't find it in help and when I try to just print to a file (in the printer selection screen of the print routines) it gives me a file named what I wanted, but is just garbage. Can't read it. TIA ron
4
8748
by: Deano | last post by:
I'm in the situation of having to print a form - not a report. This will fit nicely in a landscape format but by default it prints portrait. Is there any code to make it play nice?
1
1880
by: adultswim | last post by:
Hello everyone... I have a problem that I was hoping I might be able to get some suggestions on the best way to resolve. Do to the environment I work in I am not able to get outside access to the web very often (but do have my email forwarded so I can read email. If you can reply to **** that would be great) So I have a page (lets call it DOC page, that will be used for internal documents only. Users will submit documents to me as word...
16
4525
by: raylopez99 | last post by:
I am running out of printing paper trying to debug this...it has to be trivial, but I cannot figure it out--can you? Why am I not printing text, but just the initial string "howdy"? On the screen, when I open a file, the entire contents of the file is in fact being shown...so why can't I print it later? All of this code I am getting from a book (Chris Sells) and the net. The solution is to be found in the fact that stringbuilder is...
0
9589
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10047
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9995
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8872
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7410
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6674
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5304
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3563
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.