Print the whole site with one button
Hi All
This may sound like a stupid question, but
I wonder if someone can help me, is there a way of having a
button that would print the whole site - rather than separate html
pages. - without having/using a pdf file .
Regards
Lorna17
No.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"lorna17" <[email protected]> wrote in
message
news:eci4gv$h7l$[email protected]..
> Hi All
> This may sound like a stupid question, but
>
> I wonder if someone can help me, is there a way of
having a button that
> would
> print the whole site - rather than separate html pages.
- without
> having/using
> a pdf file .
>
> Regards
> Lorna17
>
>
>
>
>
>
Similar Messages
-
How to insert into 2 tables from the same page (with one button link)
Hi,
I have the following 2 tables....
Employees
emp_id number not null
name varchar2(30) not null
email varchar2(50)
hire_date date
dept_id number
PK = emp_id
FK = dept_id
Notes
note_id number not null
added_on date not null
added_by varchar2(30) not null
note varchar2(4000)
emp_id number not null
PK = note_id
FK = emp_id
I want to do an insert into both tables via the application and also via the same page (with one button link). I have made a form to add an employee with an add button - adding an employee is no problem.
Now, on the same page, I have added a html text area in another region, where the user can write a note. But how do I get the note to insert into the Notes table when the user clicks the add button?
In other words, when the user clicks 'add', the employee information should be inserted into the Employees table and the note should be inserted into the Notes table.
How do I go about doing this?
Thanks.Hi,
These are my After Submit Processes...
After Submit
30 Process Row of NOTES Automatic Row Processing (DML) Unconditional
30 Process Row of EMPLOYEES Automatic Row Processing (DML) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
50 Insert into Tables PL/SQL anonymous block Conditional
My pl/sql code is the same as posted earlier.
Upon inserting data into the forms and clicking the add button, I get this error...
ORA-06550: line 1, column 102: PL/SQL: ORA-00904: "NOTES": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
Error Unable to process row of table EMPLOYEES.
Is there something wrong with the pl/sql code or is it something else? -
Want to print the whole month with or without overtime for each employee
Hi,
I have Oracle forms/reports10g R2, Below query returns employee overtime correctly but I want to add the whole month with it in simple words if one employee have overtime for five days in a month I want the query to return the whole month including five overtime days for each employee and let say if we have ten employees query return whole month for each employee either he have or overtime or not how can I implement this in report it becomes agony for me, anyone please suggest a solution.
Thanks and regards, Khawar.
---Query---
select o.ot_date , o.start_dt_time as start_time, o.end_dt_time as end_time, o.ot_details, et.holiday, et.staff_id, e.staff_name, e.desig
from overtime o, emp_ot et, employee e
where o.complain_no = et.complain_no
and o.inc_type_code = et.inc_type_code
and et.staff_id = e.staff_id
order by 1, 2, 3, e.staff_idHi Michael,
Thanks for reply, I think I didn't explain as I should, I want to print Overtime report for each employee let say employee A123 did overtime for five days in DEC than what I want is to print report for employee A123 for the whole month means when I print report blank cell should come where A123 don't have data (I mean other 25/26 days).
The structure of tables are as
SQL> desc overtime
Name Null? Type
COMPLAIN_NO NOT NULL NUMBER(5)
OT_DATE NOT NULL DATE
START_DT_TIME NOT NULL DATE
INC_REF_NO NUMBER(5)
END_DT_TIME NOT NULL DATE
INC_TYPE_CODE NOT NULL VARCHAR2(10)
DISTRICT_CODE VARCHAR2(6)
BUSBAR_VOL VARCHAR2(5)
OT_DETAILS VARCHAR2(2000)
SQL> desc EMP_OT
Name Null? Type
STAFF_ID NOT NULL VARCHAR2(8)
COMPLAIN_NO NOT NULL NUMBER(5)
INC_TYPE_CODE NOT NULL VARCHAR2(10)
HOLIDAY NUMBER
Each employee associated with primary key i.e COMPLAIN_NO and INC_TYPE_CODE
in each OVERTIME table record we may have more than one employee in EMP_OT table.
above detail may clear my query.
Thanks and Regards,
Khawar. -
Stop whole program with one button
Hi, I've written a program for reading some values out of a measurement instrument. Now i want to have one button which stops the entire program no matter in which loop or which subVI the program is in. I have a subvi to make a connection to the device and i can't get out of this when he is trying to make that connection. Also the stopbutton i've used now is only read when the program is in a specific while loop. Can is solve this problem. I've attatched my program.
Attachments:
oplossing2.vi 74 KBYou will need to use global variables to communicate between VIs. Don't make it a habit since using them can lead to race conditions and synchronization problems, so I would recommend that you look into functional global variables, semaphores, notifiers and queues. The Help document in LabVIEW has detailed explanations on each one of them.
You will need to call a subVI in parallel if you want to continue with the execution of other tasks in your mainVI. I have created a quick example which shows the use of a global variable and using a subVI in parallel.
Message Edited by Adnan Z on 02-17-2009 04:31 PM
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Attachments:
Example.zip 13 KB -
Why does my back arrow close out the whole site and not just the one page?
I just replaced my old MacbookPro with a new one. The one difference that is driving me crazy is that the back arrow (button) closes the whole site, not just the page that I am on. Is there a way to change this. My old computer just sent me back to the previous page. Thanks in advance!
CindyRed buttons, back buttons, I guess specifics matter.
Glad you figured it out. -
I have used the "description" spot in iPhoto for in-depth additional information for photos of my ancestors. Now I am wanting to know if there is a way to print the photos along with the descriptions; either photo by photo, or maybe more than one per page, or possibly in some sort of booklet format. Thank you very much.
You can make a Book and have a photo on one side and your text description on the other.
-
Dynamically adding multiple instances of a movie clip to the stage with one button
hello,
I was wondering if there was a way to add several instances
of the same movie clip to the stage dynamically utilizing one
button.
I can do one with the following code placed on the button...
on (release) {
attachMovie ("filledCircle", "filled1", 5);
filled1._x = 370;
filled1._y = 225;
But I want the user to be able to hit the button again and
get yet another instance of "filledCircle" on the stage.
I also want the user to be able to drag these instances
around...
Any help would be appreciated...
Thanks,
MuhlMuhl,
> I was wondering if there was a way to add several
> instances of the same movie clip to the stage
> dynamically utilizing one button.
Sure thing.
> I can do one with the following code placed on the
> button...
>
> on (release) {
> attachMovie ("filledCircle", "filled1", 5);
> filled1._x = 370;
> filled1._y = 225;
> }
Gotcha.
> But I want the user to be able to hit the button again
> and get yet another instance of "filledCircle" on the
> stage.
You're in luck, because this isn't very hard to do. The main
thing to
keep in mind is that each instance must have A) its own
unique instance name
and B) its own unique depth. In your example, the instance
name is filled1
and the depth is 5. The next clip's instance name should be
filled2 at a
depth of 6. Then filled3, depth 7, and so on. You can use a
single
variable to handle the incrementation.
// code in a frame
var counter:Number = 1;
// code on your button
on (release) {
attachMovie ("filledCircle", "filled" + counter, counter +
4);
With me so far? The variable counter contains the numeric
value 1. The
second parameter of attachMovie() is provided with a
concatenation of
"filled" + 1, which makes "filled1". The third parameter is
provided with
the sum of counter plus 4, which makes 5. Obviously, we need
a bit more.
The button must, in addition, increment the value of counter.
The ++
operator handles this perfectly.
on (release) {
attachMovie ("filledCircle", "filled" + counter, counter +
4);
counter++;
Now, it seems you also want to position the attached movie
clip to (370,
225). Are they call supposed to go to the same place? If so,
you may use a
second variable to hold a reference to the newly attached
clip. Look up
MovieClip.attachMovie(), and you'll see that the method
returns the exact
reference you need.
// code in a frame
var counter:Number = 1;
var mc:MovieClip;
// code on your button
on (release) {
mc = attachMovie ("filledCircle", "filled" + counter,
counter + 4);
counter++;
mc._x = 370;
mc._y = 225;
Make sense?
> I also want the user to be able to drag these instances
> around...
Then you need to handle a few events. You're dealing with
movie clips
here, so your best bet is to study up on the MovieClip class,
which defines
all movie clips. (Note, also, that the TextField class
defines all input
and dynamic text fields; the Sound class defines all sounds,
etc. This is a
very handy arrangement of the ActionScript 2.0 Language
Reference.)
// code in a frame
var counter:Number = 1;
var mc:MovieClip;
// code on your button
on (release) {
mc = attachMovie ("filledCircle", "filled" + counter,
counter + 4);
counter++;
mc._x = 370;
mc._y = 225;
mc.onPress = function() {
this.startDrag();
mc.onRelease = function() {
this.stopDrag();
Easy as that. You're simply assigning a function literal to
the event
of each new MovieClip instance as you create it. Take a look
and you'll see
each of these class members available to you -- that is, to
all movie clips.
MovieClip.onPress, MovieClip.startDrag(), MovieClip._x, etc.
Wherever it shows the term MovieClip in the Language
Reference, just
replace that with the instance name of your clip -- or a
reference to that
clip (which even includes the global "this" property).
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/
"Luck is the residue of good design." -
How can I change the link color css in one module but not the whole site?
I have a site built in muse but using modules from BC. I changed the link color in the css for the online store and blog but of course it is applying it to everypage. Is there a way to change the link color in an individual BC module instead of the whole site.? I'm new to CSS obviously.
Thanks
JoshI don't think you can do it right in Muse but you can easily if you have access to the code of the page and the css file.
You need to create a css class something like:
.secondLink a { /* secondLink can be any class name, I just chose that randomly
color: #990000; /* of course substitute your color code in there
Then in your code add:
class="secondLink"
to your link's <a> tag. This will give any links with the class of secondLink the color assigned. Hope that helps get you started. -
how do i get it to print the whole article? i don't seem to have a problem printing from my old windows laptop
melbaby_3 wrote:
when I clicked on your link and hit print, all pages were there!
That suggests there's no problem with Safari or Quartz, the PDF rendering engine used by Safari, Preview, and other Mac applications.
When I'm in the database and have the article open that I want to print, I click on the "full text in pdf" link and it opens in another safari window.
Does the PDF in this other Safari window have all the pages? If yes, why don't you print from this window?
It's very difficult to tell what might be going on if you don't give very specific details.
For instance, in many reference databases, full-text articles are not free. You have to pay to view them, either article by article, or by subscription. Your school may have such a subscription, but, if it does, you probably need to access the database through the portal, web site, or facility provided by your school (your school's librarian should be able to help you with that). If you don't, the database has no way of knowing you have a right to view the full text, and may give you just a preview or the article's first page.
Another possibility is that the database provides full-text PDFs in a format not compatible with Quartz, which may be able to render only the first page. But, in such a case, I'd expect Safari to print blank pages. If that's the case, you need to save the PDF on your hard disk and open it with Adobe Reader (Preview wouldn't work).
There are other possibilities, but these two seem to me the most likely.
Would I have to save it in preview first
You should save the PDF on your hard disk from Safari. (I think you should do this anyway, just in case you need to refer to the article again later.) Instead of just clicking the "'full text in pdf' link", press and hold Control, then click. This should give you a contextual menu; if the link points to a PDF file, you should see the commans "Save Linked File to 'Downloads'" and "Save Linked File As…". Use either, save the file, then, in Finder, double-click on it. Preview should open it.
It is possible that the link is not to a PDF file, but to a script which fetches that PDF file for you. In that case, it's pointless to download it. Click on it, and then, if the PDF viewing window opens in Safari, move the cursor towards the centre of the bottom of the window. A bar with commands should appear; one of them will download the file to your Downloads folder. -
IWeb quits at half the preparation of the files when publishing the whole site
SOS ! After having saved my site on a local folder, I can't publish anymore my whole site through iWeb to FTP. iWeb quits when arriving at half the preparation of the files for publication. At one moment I had the message "Insufficient memory" (?!?). My site www.yesicannes.com is now big enough after one year of reports published with many pictures, but before I published my site on a local folder, I had no problem publishing frequent updates. But as I published on a local folder, I have to publish again the whole site and iWeb stops all the time before the publication. Any help please ?
[email protected]I was referring to the group of links on the first page and other pages:
but now realize that's not the part of your site you're referring to.
I'm not sure how you have your magazine site organized. Based on just what i've seen on the first page of the magazine page you could put all of the December pages in it's separate site and link to the site as you link to the pages only they are in a separate sitel
To split the sites, say by month, make a copy of your domain file and name it December.sites2. Open that domain file and delete all of the pages from it except those associated with December. Then make another copy of the full domain file and delete all files except those for November. That should reduce the size of each domain file down to a more reasonable size.
You could do this all locally, i.e. publishing to a folder on your hard drive, while leaving your online site untouched until you've got it worked out. However you will have to publish them to your server so that you can get the hyperlinks between sites established. You can do this by giving the sites names, i.e. December, etc. and non with the same name as your current site. Once you have the new site(s) up and running to your satisfaction change the current site so that the magazine files are not in it's domain file and the link to the magazine
points to the new magazine site. You'll see what I mean and can refine the concept to fit what you need. I have a family site that has nearly 80 pages, each of which is a separate site. So when I finish with a page (nearly all are never edited once they are published) I can put that domain file aside (but backed up) and not have to deal with it.
You can lay it out graphically on paper to get an idea how you will want to separate and group the pages. -
Hi,
I got this code somewhere from the net.
import java.awt.*;
import javax.swing.*;
import java.awt.print.*;
/** A simple utility class that lets you very simply print
* an arbitrary component. Just pass the component to the
* PrintUtilities.printComponent. The component you want to
* print doesn't need a print method and doesn't have to
* implement any interface or do anything special at all.
* <P>
* If you are going to be printing many times, it is marginally more
* efficient to first do the following:
* <PRE>
* PrintUtilities printHelper = new PrintUtilities(theComponent);
* </PRE>
* then later do printHelper.print(). But this is a very tiny
* difference, so in most cases just do the simpler
* PrintUtilities.printComponent(componentToBePrinted).
* 7/99 Marty Hall, http://www.apl.jhu.edu/~hall/java/
* May be freely used or adapted.
public class PrintUtilities implements Printable {
private JFrame componentToBePrinted;
public static void printComponent(JFrame c) {
new PrintUtilities(c).print();
public PrintUtilities(JFrame componentToBePrinted) {
this.componentToBePrinted = componentToBePrinted;
public void print() {
PrinterJob printJob = PrinterJob.getPrinterJob();
printJob.setPrintable(this);
if (printJob.printDialog())
try {
printJob.print();
} catch(PrinterException pe) {
System.out.println("Error printing: " + pe);
public int print(Graphics g, PageFormat pageFormat, int pageIndex) {
if (pageIndex > 0) {
return(NO_SUCH_PAGE);
} else {
Graphics2D g2d = (Graphics2D)g;
g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
disableDoubleBuffering(componentToBePrinted);
componentToBePrinted.paint(g2d);
enableDoubleBuffering(componentToBePrinted);
return(PAGE_EXISTS);
/** The speed and quality of printing suffers dramatically if
* any of the containers have double buffering turned on.
* So this turns if off globally.
* @see enableDoubleBuffering
public static void disableDoubleBuffering(Component c) {
RepaintManager currentManager = RepaintManager.currentManager(c);
currentManager.setDoubleBufferingEnabled(false);
/** Re-enables double buffering globally. */
public static void enableDoubleBuffering(Component c) {
RepaintManager currentManager = RepaintManager.currentManager(c);
currentManager.setDoubleBufferingEnabled(true);
}From my main class (where the JFrame resides), the print() method is invoked to print the JFrame. However, when it is printed, it only prints the top left part of the JFrame, not the whole JFrame. Can anyone help please? Thank you very much.public int print(Graphics g, PageFormat pageFormat, int pageIndex) {
if (pageIndex > 0) {
return(NO_SUCH_PAGE);
else {
Graphics2D g2d = (Graphics2D)g;
g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
double xScale = 0.63;
double yScale = 0.56;
g2d.scale(xScale, yScale);
disableDoubleBuffering(componentToBePrinted);
componentToBePrinted.paint(g2d);
enableDoubleBuffering(componentToBePrinted);
return(PAGE_EXISTS);
}Hi all,
Alright I managed to scale it to print the whole JFrame. But another problem surfaces. When I select draft quality printing, it doesn't print the whole JFrame. Other printing qualities (standard, high) do print the whole JFrame. I am really puzzled. Anyone has any clue?
And I have an unrelated question to this topic. How do I set a JTextField so that when I click on it the first time, it highlights its content? Have to work around with the mouselistener?
Thank you. -
Is there a way to print the check register with the Text field
Hi,
Is there a way to print the check register with the Text field and also each item's Text field?"
When we enter a invoice we enter a generic text on the Basic Data tab then enter a "+" on each individual line item which in turns defaults to the generic text. Just wanted to know if the check register could draw in the individual line item detail where we can enter text that relates to just that line item. Sort of like the MIR7 draws in the detail for each item.
Kindly help me in full fill the above requirement.
Thanks
SunithaHi,
Can any one help me on this issue?
Thanks
Sunitha -
All-in-one (OfficeJet or Inkjet) WiFi printer which can work with one cartridge also at a time (black or color) in a colour printer.
Even if colour cartridge is over, w/o replacing I can still print with black cartridge.
Which printer is suitable.Since I upgraded to Firefox 19 from 18.0.2, on my Windows XP (SP3) laptop, I, too, can no longer open a new window. File-->New Window does nothing; also can no longer tear off a tab and open it in a new window (it stays where it is). Also, if I right-click on a tab and select Move to New Window, nothing happens. All of these worked fine in FF 18.0.2. All of these work fine with FF 19 on Windows 7. Only an issue on my XP laptop.
After trying to open a new window, and not seeing the new window come up (and yes, I waited a long time), I decided to close my current window, which had multiple tabs open. Instead of just closing, it pops up the message reminding me that I'm about to close all those tabs. If I say close, and then go into the Task Manager, the Firefox application has disappeared (as expected), but the firefox (and plug-in container) processes are still running. So I have to manually kill the Firefox process to get it to quit. it's as if it thinks there is another Window open (the one I tried to open but never appeared). This happens every single time! I've restarted my laptop, and that does not resolve the problem.
Is there a way to downgrade back to v 18.0.2 until this is fixed? -
While installing a program (MediaCenter.exe) to handle audiobooks from the library, I erroneously associated the download site with Windows Media Player instead of the actual application (NetLibrary Media Center). How can I reverse/change this? Reinstalling the application does not clear the error, so I'm assuming the association is somewhere in Firefox.
Never mind -- I just found it under Tools/Options.../Applications, where I changed the incorrect association of "nlmcp" from Windows Media Player to the correct one, NetLibrary Media Center. Done!
-
Print out of RFQ with One Time Vendor
My customer wants print out of RFQs with one time vendor.
As per my understandings as like other vendors this one time vendor data is not stored in any table.This data is in table ADRC. And for one time vendor no master data is there.I can see this one time address in particular RFQ.
Now, my customer wants this one time vendor address to be printed in all RFQs.
Is any body come across this scenario ever ?Please guide my it is urgent.
With Best Regards,
RajeshHi,
The vedor(OTV or Regular vendor) will be decided after the price comparision only.
Once the OTV (account group:CPD/CPDL) is finalised as the final vendor for procurement create a new vendor master record (With A/c group:0001) and maintain Inforecord and source list and create PO.
Maintain all the conditions in the Inforecord from the quotations (you have the update info option from price comparision itself)
regards,
Kannaiah Naidu
Maybe you are looking for
-
How do I copy an album from one mac to another without duplicating the photos
When I try to copy an album of photos from my wife's mac to mine, I just want the "album". I already have the photos. But I want to have that subset in the order she put them in. However, all I can figure out to do is "copy" that album, importing all
-
External access to TC with my macbook
My TC is operating in bridge mode behind a fritz box that provides the www. I do not manage to enter by "access to my mac" using any www connection from the outside. The ports UCP 5353 to 5353, 4500 to 4501 and TCP 5354 to 5354 are forwarded into the
-
WHAT IS THE DIFFRAND BTWEEN MD760B/B AND MD760P/A
WHAT IS THE DIFFERENCE BETWEEN MACKBOOK AIR MD760B/B AND MD760P/A
-
After start of Grid High Availability Service (HAS) can't umount filesystem
I have weird problem when I start and stop HAS. File system get's into state, where it does not umount. So filesystem where grid software is running can't be umounted on boot. 9Is there something I do wrong, or don't do right. I have fresh install of
-
ITouch will not come on, only displays picture of USB cord and iTunes
My daughter's iTouch will only display a picture of the USB cord with an arrow pointing to an iTunes icon. I have turned it off (it will give you the bar to turn it off) and reset it, but it will not work. When I plug it into the computer (iTunes)