Help with html printing

hi all
i wonder if there is any command in html that inforce the printer to start print from the top of the page (A4 page)?
thanks

Hello Naama,
>> i wonder if there is any command in html that inforce the printer to start print from the top of the page (A4 page)?
HTML was not designed for printing so there isn't any HTML tag for page break. The best (and the only one I know, without line counting) solution is to use CSS - http://www.w3.org/TR/CSS21/page.html#page-breaks .
In some cases, this can be a perfect solution (usually, when the page break depends on a specific, and unique object on page, like date on the letter head, or name in a new invoice, or a signature in the bottom of the page). It can also provide a decent solution when printing large tables, provided you are using the THEAD tag (you might find the following helpful - Re: placing <thead> and </thead> around headers ). In all other cases, this is a trial and error game.
Regards,
Arie.

Similar Messages

  • Help with ordering prints

    Can anyone help with ordering prints for Shutterfly? I keep getting to step 4 (payment type) and then it just goes to blank page and nothing happens.

    Thanks for your help, I am new to all of this. I think it was my edited pics that were the problem, they were to big of files, I had to go and save them as a new file as a jpeg and then went to shutterfly and downloaded from there. I never could get it to work from Photoshop Elem.
    Date: Thu, 9 May 2013 00:51:58 -0700
    From: [email protected]
    To: [email protected]
    Subject: Help with ordering prints
        Re: Help with ordering prints
        created by vsh07 in Photoshop Elements - View the full discussion
    Looks like some problem! Just try the following steps. They worked for me: 1. Go to shutterfly website (www.shutterfly.com) and log into your account.2. In My Account Section> Billing Information, add your Credit Card details and Save.3. Logout from your account and open Photoshop Elements application to order prints.4. Now,on step4 (payment type),your Credit Card details will appear magically    Let me know if this solution works for you. It can be of some help to other members too.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5304432#5304432
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5304432#5304432
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5304432#5304432. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Need help with duplicate print jobs over network that I can't cancel

    I have the Photosmart Premium All-in-One on my home network.  My kids who each have laptop running Windows 7 and are connected via wireless to the printer via a DLINK DIR-655.
    They hit the print button too many times and it keeps printing over and over again.
    Is there a way to get the printer to stop printing these duplicates.  I tried turning off/on but they just keep printing.
    We're wasting paper/ink and I need help with a solution.
    Please let me know.  Thanks.
    Angelo

    There should be a button with a red 'X' on it on the front of the printer.  This is the print cancel button.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Help with my printing nightmare!

    Hello, I added an HP desject 3620 to my MB, but when I go to system preferences, then go to set up a printer, my printer shows there, but when I press + to add the printer , it doesn't show in the next window, so I can't add it. Any advices to that should help me a lot because I need to start using the printer. Thabk you all for your help.

    Which application you use for print that material?
    And is that the only application or the whole printing instruction failed?
    Try to create text document using text edit
    Finder > Application > Text Edit, and try to print that file and see how it goes. That is my shortcut to perform the Print test page similar instruction like on pc side.
    If the file print properly, than that particular program is not sets properly with your printer.

  • Help with Java Printing-Custom paper sizes

    Hi,
    I'm trying to print documents with custom paper sizes out of java.
    I can print fine when I don't try to set the MediaSize to a custom size or when I use already named constants like: "MediaSizeName.JIS_B4"
    The error message I get is this:
    java.lang.ClassCastException
         at javax.print.attribute.AttributeSetUtilities.verifyAttributeValue(Unknown Source)
         at javax.print.attribute.HashAttributeSet.add(Unknown Source)
         at hello.Printy.printDocument(Printy.java:103)
         at hello.Printy.main(Printy.java:135)
    The offending line(103) looks like this:
    pras.add(new MediaSize(1,10,MediaSize.INCH ));The function that its from looks like this:
    public  void printDocument()
    try
              System.out.println("input file name is");
         System.out.println(inputFileName);
    PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
    DocFlavor flavor = DocFlavor.INPUT_STREAM.AUTOSENSE;
    PrintService printService[] = PrintServiceLookup.lookupPrintServices(flavor, pras);
    PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
    PrintService printPrintService = null;
    // didn't work pras.add(new MediaSize(1,10,MediaSize.INCH) );
    PrintService service = ServiceUI.printDialog(null, 200, 200,printService, defaultService, flavor, pras);
    if (service != null)
         System.out.println("There is a service aunty-may!!");
    DocPrintJob job = service.createPrintJob();
    FileInputStream fis = new FileInputStream(getInputFileName());
    DocAttributeSet das = new HashDocAttributeSet();
    //pras.add(new MediaSize((float)3.25, (float)4.75, Size2DSyntax.INCH ) );
    // - works
    //pras.add(MediaSizeName.JIS_B4);
    pras.add(new MediaSize(1,10,MediaSize.INCH ));
    //pras.add(new MediaSize(1,10,MediaSize.INCH) );
         System.out.println("Doc has been set to custom size");
    Doc doc = new SimpleDoc(fis, flavor, null);
    job.print(doc, pras);
         System.out.println("any doc for you?");
    catch (Exception e)
    e.printStackTrace();
    }Any help with this would be greatly appreciated. I'm new to java but I've programmed a bunch in c++.

    Hmm ... no real help, but I found this note in the API:
    MediaSize is not yet used to specify media. Its current role is as a mapping for named
    media (see MediaSizeName). Clients can use the mapping method
    MediaSize.getMediaSizeForName(MediaSizeName) to find the physical dimensions of
    the MediaSizeName instances enumerated in this API. This is useful for clients which
    need this information to format & paginate printing.

  • HELP with WiFi Printing on my Mac Book 10.8.4

    My Mac Book Pro 10.8.4 will not print through WiFi but when I hit test it will print but will not print a document or anything else.  I have a new Brother MFC-J435W and have spent over 8 hours trying to get this hooked up and running.  I tried it on my daughters iMac 10.7.5 and it printed WiFi right away without downloading or doing anything else.  HELP I'm at a loss!

    Read Brother's user manual and/or contact Brother Support. 
    http://support.apple.com/kb/PH11070 OS X Mountain Lion: Troubleshoot a network printer 
    http://support.apple.com/kb/HT3669 Printer and scanner software available for download 
    What to do when you can't print
    Sometimes, installing the GIMP drivers help with printing issues: http://gimp-print.sourceforge.net/MacOSX.php

  • Help with html / php contact form

    Hi guys I was hoping to get some help with a contact form on my website, to be honest I havent a clue about php but kind of okay with html thats why the php code is just a copy and paste from some website, just trying to marry it up with the html but getting errors.
    Hopfully one of you can see the problem.
    Error on Submitting:
    Notice: Undefined variable: name in \\nas44ent\Domains\g\gethinhayman.co.uk\user\htdocs\send_form_email.php on line 69
    Notice: Undefined variable: message in \\nas44ent\Domains\g\gethinhayman.co.uk\user\htdocs\send_form_email.php on line 75
    We are very sorry, but there were error(s) found with the form you submitted. These errors appear below.
    The Name you entered does not appear to be valid.
    The Comments you entered do not appear to be valid.
    HTML Code:
    <section id="contact" class="four">
                                                                <div class="container">
                                                                          <header>
                                                                                    <h2>Contact</h2>
                                                                          </header>
                                                                          <form method="post" action="send_form_email.php">
                                                                                    <div class="row half">
                                                                                              <div class="6u"><input type="text" class="text" name="name" placeholder="Name" /></div>
                                                                                              <div class="6u"><input type="text" class="text" name="email" placeholder="Email" /></div>
                                                                                    </div>
                                                                                    <div class="row half">
                                                                                              <div class="12u">
                                                                                                        <textarea name="message" placeholder="Message"></textarea>
                                                                                              </div>
                                                                                    </div>
                                                                                    <div class="row">
                                                                                              <div class="12u">
                                                                                                        <a href="http://www.mywebsite.co.uk/email_form.php" class="button submit">Send Message</a>
                                                                                              </div>
                                                                                    </div>
                                                                          </form>
                                                                </div>
                                                      </section>
    php Code:
    <?php
    if(isset($_POST['email'])) {
        $email_to = "my email address";
        $email_subject = "Mail from Site";
        function died($error) {
            // your error code can go here
            echo "We are very sorry, but there were error(s) found with the form you submitted. ";
            echo "These errors appear below.<br /><br />";
            echo $error."<br /><br />";
            echo "Please go back and fix these errors.<br /><br />";
            die();
        // validation expected data exists
        if(!isset($_POST['name']) ||
            !isset($_POST['email']) ||
            !isset($_POST['message'])) {
            died('We are sorry, but there appears to be a problem with the form you submitted.');      
        $first_name = $_POST['name']; // required
        $email_from = $_POST['email']; // required
        $comments = $_POST['message']; // required
        $error_message = "";
        $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
      if(!preg_match($email_exp,$email_from)) {
        $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
        $string_exp = "/^[A-Za-z .'-]+$/";
      if(!preg_match($string_exp,$name)) {
        $error_message .= 'The Name you entered does not appear to be valid.<br />';
      if(strlen($message) < 1) {
        $error_message .= 'The Comments you entered do not appear to be valid.<br />';
      if(strlen($error_message) > 0) {
        died($error_message);
        $email_message = "Form details below.\n\n";
        function clean_string($string) {
          $bad = array("content-type","bcc:","to:","cc:","href");
          return str_replace($bad,"",$string);
        $email_message .= "Name: ".clean_string($name)."\n";;
        $email_message .= "Email: ".clean_string($email)."\n";
        $email_message .= "Message: ".clean_string($message)."\n";
    // create email headers
    $headers = 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n" .
    'X-Mailer: PHP/' . phpversion();
    @mail($email_to, $email_subject, $email_message, $headers); 
    ?>
    <?php
    ?>

    PHP CODE:  SaveAs send_form_email.php
    <?php
    if(isset($_POST['email'])) {
        // EDIT THE 2 LINES BELOW AS REQUIRED
        $email_to = "[email protected]";
        $email_subject = "Your email subject line";
        function died($error) {
            // your error code can go here
            echo "We are very sorry, but there were error(s) found with the form you submitted. ";
            echo "These errors appear below.<br /><br />";
            echo $error."<br /><br />";
            echo "Please go back and fix these errors.<br /><br />";
            die();
        // validation expected data exists
        if(!isset($_POST['name']) ||
            !isset($_POST['email']) ||
            !isset($_POST['message'])) {
            died('We are sorry, but there appears to be a problem with the form you submitted.');     
        $name = $_POST['name']; // required
        $email_from = $_POST['email']; // required
        $comments = $_POST['message']; // required
        $error_message = "";
        $email_exp = '/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/';
      if(!preg_match($email_exp,$email_from)) {
        $error_message .= 'The Email Address you entered does not appear to be valid.<br />';
        $string_exp = "/^[A-Za-z .'-]+$/";
      if(!preg_match($string_exp,$name)) {
        $error_message .= 'The Name you entered does not appear to be valid.<br />';
      if(strlen($message) < 2) {
        $error_message .= 'The message you entered does not appear to be valid.<br />';
      if(strlen($error_message) > 0) {
        died($error_message);
        $email_message = "Form details below.\n\n";
        function clean_string($string) {
          $bad = array("content-type","bcc:","to:","cc:","href");
          return str_replace($bad,"",$string);
        $email_message .= "Name: ".clean_string($name)."\n";
        $email_message .= "Email: ".clean_string($email_from)."\n";
        $email_message .= "Message: ".clean_string($message)."\n";
    // create email headers
    $headers = 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n" .
    'X-Mailer: PHP/' . phpversion();
    @mail($email_to, $email_subject, $email_message, $headers);
    ?>
    <!-- include your own success html here -->
    Thank you for contacting us. We will be in touch with you very soon.
    <?php
    ?>
    HTML Code -- save as html page.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Contact Form</title>
    </head>
    <body>
    <section id="contact" class="four">
    <div class="container">
    <header>
    <h2>Contact</h2>
    </header>
    <form method="post" action="send_form_email.php">
    <div class="row half"> <div class="6u">
    <input type="text" class="text" name="name" placeholder="Name" />
    </div>
    <div class="6u">
    <input type="text" class="text" name="email" placeholder="Email" />
    </div>
    </div>
    <div class="row half"> <div class="12u">
    <textarea name="message" placeholder="Message"></textarea>
    </div>
    </div>
    <div class="row">
    <div class="12u">
    <input type="submit" name="submit" value="Send">
    </div>
    </div>
    </form>
    </div>
    </section>
    </body>
    </html>
    Upload both to your Apache server to test.
    EDIT:  changed typo on Submit button -- valuse to value.
    Nancy O.

  • Need help with hp printer/airport

    until yesterday, my ibook printed to my hp 5250 on the airport network. i came back from a trip, and although the internet connection works fine, i can no longer print. i can see the printer (listed as a bonjour printer), but all jobs are stopped. tried the usual - shut everything down and restarted;disconnected and reconnected printer and airport; deleted printer from "print and fax" in system preferences and then added it back in. nothing. i have things in such a twist that i can't print from the printer even when connected directly (the printer DOES work when connected directly to another mac). i can also see another hp printer connected to the network, but cannot add it as a printer - it just spins forever. please help - could i have updated something from apple that is in conflict with my printer working? it is the only thing i can think of. thanks in advance!

    I have the same problem.

  • Need Help with HTML Batch Processing

    Hi,
    New to this forum so be kind
    I am trying to work out a way to batch process html's.
    The html template is used in our eBay listings.
    All the information I want to change is the same.
    Eg in my template I have the number "0234" it appears for 6 times, sometimes in the text sometimes in part of the image title I am loading.
    I then have an excel sheet listing all my codes that i need to make htmls for - 0234, 0235, 0236 etc etc...
    I use say 10 templates depending on what number im doing.
    So next cell to the codes (in excel) I list what template I would need.
    Now I know in dreamweaver I can search for "0234" in my html & replace to create my new html. But I have 1000's to do, and I am sure I am doing it a long way manually.
    Is it possible to use the excel sheet and dreamweaver together to process all these changes in a scripted batch system? and even load which html to use?
    Or maybe use a different software?
    Any advice would be much appreciated.
    Kind Regards

    The closest to this I have done was in using Photoshop and text files to create hundreds of photoshop designed banners that all had different copy/type on them but based on a template and, the same idea but with pharmacy magnets using InDesign and Excel.
    The idea is that you put text boxes in the document and specify a variable for them and then equate those boxes either to variables in a text file or to column headers in an Excel file.
    Google on "Data Merging" and perhaps you'll find something.
    I'm not aware of a way to do this with html documents but if you approach the html as just a text file, then conceptually, you should be able to create a template whereby you assign a variable to certain divs or input boxes or whatever. Then, you might have to re-process the entire lot to remove the code needed to distinguish a field as dynamic but that would easier to remove.
    I'll watch this post as well because massive replacements are always something to know about!

  • Help with html radio in JSF component

    I am creating a Custom JSF componet., which has text fields and radio buttons
    I am able to create Text field say ...
    HtmlInputText field = new HtmlInputText();
    field.setId(pId);
    return field;
    Whn I am trying to use HtmlSelectOneRadio for creating radio buttons, I am unable to see that in browser.. Y is that so??
    HtmlSelectOneRadio selectOne = new HtmlSelectOneRadio();
    selectOne.setId(pId);
    selectOne.setRendererType("javax.faces.Radio");

    i tried with HTml SelectBooleanCheckbox.. its working .. but not with radio box.

  • Help with Photosmart Printer 7960 with Windows 8.1

    I had to buy a new computer (8.1 windows).  I was still using XP, when the computer crashed.  I have lost the software for my printer.  Does anyone know where I can find the software?  HP told me that my printer is not compatible with windows 8.1.  Has anyone been able to print with this printer and windoes 8.1?
    Thanks

    Hi,
    The last update was 4 years and 11 months ago:
       http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=3053...
    Well, it's time to buy a new printer.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Need help with HP printer installation.

    Trying to install drivers for an HP OfficeJet 6500 e710n on two machines, an iMac and a MacBook Air, both running OS X 10.7.  The printer is a networked printer that I have tried adding to both machines as an IP printer and as a USB printer. With either method the printer is automatically discovered and the drivers are downloaded.  After the drivers are installed the process stalls at "Configuring the device..."  I have waited at this point for over half an hour with no progress before choosing cancel.  I have also downloaded and run the installer from HP with the same results.  The only way that I have been able to connect with this printer is by manually configuring an IP printer with the generic PCL drivers.  This allows me to print but only in low-res black and white.  Any suggestions?

    If you force restart the computer on the freeze up, or force quit the printer adding window, does the printer appear in the print and scan system preference?   In other words, did the printer successfully install?  (is it possible that the setup part of the install failed, but the actual install worked?)
    If so, you might be able to set the configurations yourself.
    Open up the print and scan system preference.  Double click on the printer.
    When the printer queue window opens up, you should be able to click on the printer setup button.
    Go through all the tabs and set things up the way you like.
    HTH
    -Graham

  • Please help with wireless printing

    I am running a wireless network in the house and having trouble printing. The printer (Canon MP800) is connected via USB to my Windows XP desktop. The desktop is connected via Ethernet to a 2Wire DSL modem that broadcasts the wireless signal to my Powerbook G4 running OSX (10.4.10). I can’t get the powerbook to print, though.
    I have followed the instructions at http://www.ifelix.co.uk/tech/3015.html up to the point where it says:
    “Select the printer but do not click Add as you need to change the Printer Model.”
    “Under Printer Model select HP.”
    I assume that since I am using a Canon that I should look for Canon instead of HP. The only options I get are
    Generic
    Other
    Apple
    ESP
    “Generic” is a selection all by itself
    “Other” opens up a finder dialog box that allows me to choose a file on my harddrive, but I have no idea where to go.
    “Apple” opens a pulldown menu that allows me to select from a list of Apple printers.
    “ESP” opens a pulldown menu that allows me to select from a list of other printers. This list includes Epson, HP, etc. but does not include any Canon printers.
    I selected the “Generic” option. When I try to print from the powerbook, I have noticed that the printer queue on my Windows XP desktop shows a document entitled “Remote Downlevel Document.” The printer queue spools up with this document, it appears to go through the cycle and then disappear (as a normal print document does), but nothing happens on the printer.
    The desktop will print normally. The powerbook will print normally when I connect the printer to it via the USB cable but another printer is created in the Printer List. This printer is named MP800 and is kind: Canon MP800 whereas the first attempt (wirelessly) names it Canon MP8 and is kind: Generic Postscript Printer.
    In troubleshooting I have attempted to remove and reload the printer from both the powerbook and the desktop independently to no avail. I have even temporarily removed the firewall (Norton 360) from the desktop to make sure that wasn’t it.
    I Googled the term “Remote Downlevel Document” and discovered that it was associated with a virus that affects print servers. I updated my Norton anti-virus and did a full system scan which came up clean. Some of the Google results also suggested that there might be clutter in one of the printer folders in Windows. I should remove any .tmp files I find there, but when I followed the path, there were no such files in that folder.
    I apologize for the length but I wanted to make sure I had a full and accurate account in case someone might be able to point me in the next appropriate direction. Thanks for whatever advice you can offer.
    I am cross posting this question on the macbookpro yahoo group, the applemac yahoo group and the apple discussion page.

    still looking for some help on this intriguing matter... if anyone can help out, i'd really appreciate it! thanks.
    edited original post:
    I have a Samsung ML-1710 printer which we use with both an iMac and an iBook. When the iMac needs the printer, we connect the printer's USB cable to the iMac. When the iBook needs the printer, we connect the printer's USB cable to the Airport Extreme Base Station (AEBS).
    Both the computers use the AEBS - the iMac is connected via ethernet (DSL modem) and the iBook connects to the AEBS wireless network.
    The small annoyance of having to change the USB cable aside, there is a bigger problem. After every time the printer is used by the iMac, printing does not go through on the iBook. The only solution I've found is to restart the AEBS (through AirPort Admin Utility). As this interrupts the wireless network, it is a major annoyance.
    I do not want to spend $ on an Airport card for the iMac at this point...
    Is there any way to correct this? Thanks in advance for your help.

  • Help with HP printer all-in-one C4380

    hi, 
    Can anyone help me. My printer keeps saying that there is a paper jam. There isnt any paper in the printer. I can't get it to work.
    Many thanks,
    Yossi 

    On the printer, press the Wireless button and then select the option to restore network defaults from the main menu. Now run the downloaded driver, then click on Reconfigure Network Settings, or Add A Device, and just follow the instructions to reconnect it to your new network.
    Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"
    I am an ex-HP Employee.

  • Help[ with hp printer 4215 all-in-one.

    I can not print anything because I am told my printer is not listed on devices.  help please I am S with a very limited income

    Hi there dsn192,
    What operating system are you using ;
    Please take the time to read this post Click HERE and post again taking into consideration the advise in the post.
    This will maximaze yor chances of getting help in prompt and effective matter.  I will do everything I can to help you. Please post again with the information and format recommended in the post linked.
    Respectfully;
    RobertoR

    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

Maybe you are looking for