473,395 Members | 1,466 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,395 software developers and data experts.

Printing multiple "documents"

I don't know if this is really a javascript question but thought I may
as well start here...

I know that a "document" is what is displayed in a browser window.
However it is possible for the docuemnt that is displayed to be composed
from a number of documents with perhaps a separator between each one.

In our application, the user would at the moment be able to click a
button which opens a window and presents a single form which has been
filled in by a user. These users like to print these off and review them
on hard copy - that's the way they work.

So instead of pulling up each document (completed form) in a window,
clicking print and then repeating this for every document (there may be
50 or more), they would like to be able to request that all (where we
define exactly what "all" actually means!) documents (completed forms)
from a single operation.

Now one thought is to generate all the documents (completed forms) into
a browser window and then have the user click "print" and then let them
all come out together. To make this work effectively we will have to
embded some kind of coding into the documents that tells the browser to
cause a page break - can anyone advise on what this should be - perhaps
it is browser-dependent?

Would appreciate your thoughts/comments/suggestions on this and other
approaches?

Many thanks....
--

jeremy
Dec 13 '05 #1
1 1851
Rob
Jeremy wrote:
I don't know if this is really a javascript question but thought I may
as well start here...

I know that a "document" is what is displayed in a browser window.
However it is possible for the docuemnt that is displayed to be composed
from a number of documents with perhaps a separator between each one.

In our application, the user would at the moment be able to click a
button which opens a window and presents a single form which has been
filled in by a user. These users like to print these off and review them
on hard copy - that's the way they work.

So instead of pulling up each document (completed form) in a window,
clicking print and then repeating this for every document (there may be
50 or more), they would like to be able to request that all (where we
define exactly what "all" actually means!) documents (completed forms)
from a single operation.

Now one thought is to generate all the documents (completed forms) into
a browser window and then have the user click "print" and then let them
all come out together. To make this work effectively we will have to
embded some kind of coding into the documents that tells the browser to
cause a page break - can anyone advise on what this should be - perhaps
it is browser-dependent?

Would appreciate your thoughts/comments/suggestions on this and other
approaches?

Many thanks....


You may want to look at CSS's @media print {} functionality.

Dec 13 '05 #2

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

Similar topics

28
by: petermichaux | last post by:
Hi, On my computer apache will see php in .php documents but not in .html documents. Can I configure apache to see php in .html documents? Or is this something that cannot be done at all? ...
33
by: Jim Hill | last post by:
I've done some Googling around on this and it seems like creating a here document is a bit tricky with Python. Trivial via triple-quoted strings if there's no need for variable interpolation but...
0
by: Grant_S | last post by:
I need to identify the path to a users "My Document" folder where the user has a roaming profile and their "My Documents" folder is mapped to a network share as the H drive (specifically H:\\ -...
6
by: JuLiE Dxer | last post by:
Is there a way via C# to programmatically retrieve the full path name to folders like "My Documents" ?? I'm seeing examples with the use of Shell32 stuff I believe, SHGetSpecialFolderLocation...
4
by: Ben | last post by:
Hello, I need to save some information into a text file. For this, I use : FileOpen(1, "c:\MyFile.txt", OpenMode.Output) For I = 0 To iCpt - 1 WriteLine(1,...
8
by: Tony Nelson | last post by:
On *nix, ~/foo refers to a file in a user's home directory. On MSWindows, users normally look at "My Documents" in their home directory. ISTM that a file that my program would put in ~/. on Linux...
2
by: Andy_Khosravi | last post by:
I'm creating an Access database that is replacing a public e-mail box. Inquiries are generated from different parts of my company, and answered by specialists in my department via this public...
4
by: Franky | last post by:
I know about GetModuleFileName but what I need is a similar call to get the folder "My Documents" Is there such a thing? Thanks
3
sambacat
by: sambacat | last post by:
on my computer, when i used to open "documents" i would find a list starting with adobe, then my albums, my downloads, etc., down thru wsdl (whatever that is) and after that was a list of all my...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.