Script to print an html page in both sides (duplex printing)

Hi,
I have a website that can print page automatically without showing the print dialog box. Now, user's have requirement to print the page in both sides.
Is there any vbscript/javascript that will auto print the html page in both sides (duplex)
Thank You!

Hello,
This should be asked in Microsoft's ASP.Net forums:
http://forums.asp.net/
Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

Similar Messages

  • Print JSP/HTML Pages (perhaps PDF?)

    Hi,
    i have a table in HTML generated by JSP.
    Just like the following simple example:
    ...<table>
    <%
    for( Enumeration et = free.getSqlIDs().elements(); et.hasMoreElements();)
    String keyt = (String)et.nextElement();
    Bean b = new Bean();
    b.init(path,DB);
    b.setID(keyt);
    b.restore();
    %>
    <tr>
    <td>
    <%out.print(b.getName());%>
    </td>
    <td>
    <%out.print(b.getAdress());%>
    </td>
    </tr>
    %>
    </table>...
    No i want to give a button to the user. When pressed, the HTML-Page should transform to PDF.
    With such a method i want to print the HTML-Page.
    I Know that this is possible with the help of XML/XSP and a stylesheet. But i like to do that with this way:JavaBeans-->JSP-->HTML-->PDF
    Anyone a solution, some code examples for me?
    Or perhaps another solution to print HTML-Pages in a fine design?
    Thank you for your help
    Andy

    Hi,
    no one any idea?
    How do you print Jsp Pages?
    Thank you
    Bye
    Andy

  • Printing from iWorks Pages on a HP 2600n printer with OS 10.4

    Whenever I go to print from iWorks Pages on a HP 2600n printer with OS 10.4 it does not let me print in black and white. On print, I select color with a slash through it and it says not available for this OS. Does someone know how to get around this or a software update around this.

    This forum is dedicated to the productivity application, AppleWorks. It is not a "catch-all" for how Apple computers work. For your Pages 3/'08 questions, post in the Pages ‘08 forum. For your Numbers questions, post in the Pages ‘08 forum. Both are located in the iWork '08 sub-category of the iWork category.
    For your HP printer, make sure you have the newest driver for your printer model & OS. Personally, I'd never have an HP printer - they don't "play nice" with either Pages or AppleWorks.

  • Print postcards from 'Pages' with a Lexmark C544dn printer?

    I have been trying, unsuccessfully, to print postcards from 'Pages' with a Lexmark C544dn printer. As far as I can say, I have correctly set all parameters, but the output is always blank. Any ideas? FYI Lexmark have been unable to help!!

    GeoffBob wrote:
    Hi Jerry, and thanks for your response.
    What I want to achieve is a landscape postcard with one line of text across the top. I use this to stick on a few sticky notes for training workshop participants to use, to record their special interests for the session. I have done this for years with a Windows PC, MS Word and an HP4500dn LaserJet, and assumed that it would be a simple process with the new set-up (iMac, OS-X 10.7.4, iWork Pages 4.1 and Lexmark C544dn).
    I started a blank document, with the paper size set to 6 x 4 inches landscape format. I re-set the margins to suit the size of the postcard, so that the text appeared to be in the right position, on screen.
    I used the MP tray to feed the paper (there is only this one input, apart from the regular paper tray), and have tried this at the left side, in the centre and at the right side, in both landscape and portrait format.
    I have even tried putting a sheet of portrait A4 paper through, and the printing shows up two thirds towards the bottom of the sheet, across the narrow dimension of the sheet. This makes me think that the machine is 'printing' after the paper has passed through.
    Any idea what I am missing? Thanks, Geoff
    Your trial with a full size paper tells the story, I think. Your ink is missing the post card. Try again with a small card. After initiating the Print function, make sure you are seeing the expanded Print dialog with the preview on the left side of the dialog window. Does everything look OK there? Paper correct size and orientation? Text showing where it should in the preview?
    Jerry

  • How can i print just one page of photo book without printing the entire book

    how can i print just one page of photo book without printing the entire book

    Jim,
    Take heart.  We can help.
    First turn on page view so you can see how the content of your sheet fits on the page(s).  A Numbers document contains sheets (listed on the left) which in turn contain tables, charts, text, and graphics.  Select the sheet you want to print on the left, then enable page view by selecting the menu item:
    "View > Show Print View":
    Now you should see your content and how it fits on one, or more, pages.  If thie content is too big for one page use the controls and the bottom left of the window to expose the sheet controls:
    Here a table is too big to fit on one page:
    slide the "Content Scale" slider so the content fits:

  • How can I print a Safari page without the links being printed and cover other text?

    How can I print a Safari page without the links being printed and covering other text?

    Try printing the page as PDF.
    From your Safari menu bar click File > Print > Save As PDF then print the PDF file.
    If you don't want to do it that way, reset the print system.
    Mac OS X: How to reset the printing system

  • LR 4 only prints a blank page on Epson 2880. Print preview panes remain blank. Window 7 OS. Need help desperately!

    LR 4 only prints a blank page on Epson 2880. Print preview panes remain blank. Window 7 OS. Need help desperately!

    Bob
    Thank you for your kind consideration of my problem. Up until the software started to print blank pages the preview pane always showed the selected print within the selected layout. Something has changed. Lightroom will print to the JPEG file but only a blank page on the Epson 2880. I've been in contact with Epson support and an IT tech and they tell me the problem is with Lightroom. I'm at my wits end and thinking of upgrading but the glitch may carry over. Uninstalling and reinstalling and deleting the preferences file did nothing to rectify the situation.
    Thanks again!
    David

  • Printing a HTML page in a JTextPane

    Hi all..
    I nned to develop a report generating system for one of the softwares that I am writing and I am planing to generat the report as a HTML page (both text and images) and users can preview them on a JTextPane and can save to disk as html files for further use.
    I also want to add functionality to the application to print the report through java.
    what I want to do is to print what is displayed in JTextPane (Content Type: text/html)
    I am familiour with Printable interface what I cant figure out is how to make the JTextPane printable and how to send the data in JTextPane to printers Graphic object
    Can somebody give a sample code for this.
    Also if you know any other way of printing a HTML formated text without use of any other componant like JTextPane please tel me how to do it.

    We had done the same using the JEditor Pane and later print the JEditorPane using the print API..
    Here is the code to include the html file.
    mainPane = new JEditorPane("file:///C:/project/JavaPrintingAPI/AddGlobalProduct.html");
    mainPane.setEditable(false);If it work... hungry for yummy dukes... :-)

  • JEditorPane printing a HTML PAGE

    Hi,
    Here is my problem. I am displaying a HTML Page in a JEditorPane. So far so good.
    when I try to print is printing to my printer. Here is the problem the Text or to say the font doesnot look good in the paper, each letter is not nice and smoth and it looks like some of the pixels in each letter were lost. This happens right when I initialize the JEditorPane with html code. I can also see the pixels in each letter are lost when I initilized it in a JEditorPane.
    Any help will be appreciate.

    How are you printing? Are you using the Printing API?
    You can try antialiasing the text before printing:
    http://www.exampledepot.com/egs/java.awt/AntiAlias.html

  • HP LaserJet P1006 won't print both sides (duplex)

    I have been using my printer for two years now and haven't had a problem till i needed to print on both sides of the page. It tells me to do all of the steps for it and then at the end it says push the go button or ok and i have no such buttons on my computer that show up or on the printer. There is a cancel button and a power button on the computer.
    Does anyone know how to make it work? I have tried reinstalling the drivers for it and still nothing works.
    Thanks,
      Nick

    Ken Spiker wrote:
    Yes, I just downloaded the Apple HP update 2.3. The driver that was showing in my Printer Setup Utility was 1.2.0.224. Now I downloaded and installed 2.3 but the Printer Setup Utility only shows 1.2.0.224. 2.3 is not listed in the driver list. Why is that?
    2.3 is the version of the update, not the version of the driver.
    According to http://support.apple.com/kb/HT3669, 1.2.0.224 is the correct version of the HP driver.
    Final question: why do I have problems nobody else does?
    People are having a variety of problems. It may be because of permissions, previous versions of the HP software that was installed and not deleted. Since there wasn't support for this printer on Snow Leopard until the 2.2 update, it's hard to guess what the issue was, but you're not alone - read some of threads here.
    If you run into this problem again, delete the <hard drive>/Library/Printers/hp folder, delete your printer from Print & Fax, then run Software Update and re-add the printer.
    Hope this helps.

  • Footers only print on front page when using two sided printing.

    I am printing front to back and for some reason the footers in my document are only printing on one side of the page. My headers are printing on both sides.

    z,
    Perhaps I wasn't clear. If you select the "Left and Right Pages are Different" option that could explain why you don't have the same thing on the left and right pages, so you should deselect that option. I think your problem goes deeper though. When you say you are "pasting a footer", that concerns me. We type content into footer fields; we don't normally think of them as needing to be pasted in or into. If you don't have a copy, you may want to download the Pages 08 user guide and read-up on Headers and Footers. You can download the guide at: http://manuals.info.apple.com/en/Pages08_UserGuide.pdf
    Regards,
    Jerry

  • Printer printing with truncating characters on both sides using Style PDF

    Hi,
    DB:11.1.0.7.0
    Oracle Apps: 12.1.1
    OS:Linux Red Hat 86x64
    We are using Printer name XYZ with Printer Type: HPLJ4SI
    Style: PDF Publisher
    Driver:PASTA_PDF
    Issue: The same printer works fine in DEV env but not in INT env.
    What could be the issues here and where could be the fix?
    Could anyone please share such an issues faced before?
    Thanks for your time!
    Regards,

    Hi,
    Yes.Verified.
    Printer style: PDF Publisher :
    User style: PDF Publisher
    Layout: Columns: 132 Rows :55
    Report Definition:
    Output Format: XML
    Columns: 132
    Rows: 45
    Style: PDF Publisher
    Exactly the same setups are there in both the environments but still it's printing with truncated characters at both left and right margins of the page in INT only.
    In DEV it's printing fine.
    So, now where else could we be looking for the fix.
    Thanks,

  • Pages: Special problem with duplex printing on hp310c

    I used to produce and print double sided flyers with pages on my ipad4. My HP 310c printer is ready to print duplex. Everything worked fine until I loaded the IOS7 version of pages (Nov 13). Now there are problems. If I fold the flyer the second page is printed up side down. After some research in internet it seems to me that until the IOS 7 version pages had as default setting "flip on short edge" and now it changed to "flip on long edge". The mac version of pages allows you to toggle between this options (duplex printing). I see no way to change this on my ipad.
    The problem seems to be a little bit tricky, but perhaps there is anybody out there to help me.
    Thanks Manfred

    TThat is my problem also. You are flipping to the long side, you need to flip to the short side. I order to get the back one to be right side up. I was able to get windows 8 to do that today without doing anything beside selecting landscape and flip to short side. But when I use my iPad I donot have that selection. I need software to be able to have that option.

  • How do I correct odd page upside down while duplex printing?

    My MX870 prints every other page upside down while printing a catalog in duplex mode.  How can I correct this? The catalog was written using MSWord 2007. Obviously, I can manually duplex the catalog. I am praying there is a solution to be able to automatically duplex.
    Thank you.

    After 3 days of futile efforts to solve odd page upside printing in duplex print. The problem was solved as follows:
    Go to the print menu
    1. Go to quick setup
    select "Preview - Duplex - Paper size - Orientation [make sure document and printer orientation are the same}
    2. select "page setup "
    on page layout select "normal size print" - "duplex automatic" - "stapling left side"
    Print area setup  "select - used reduced printing"       Selection of " use reduced printing" is the key to solving the problem
    3.  Problem solved

  • ID3 Printing issue-multiple pages per sheet mirror image printing

    So, like the title says, I'm trying to print 4 up per sheet out of ID CS3. The first page prints fine, but all pages that follow print as mirror images. I have gone through all the print settings for InDesign and specific to the printer (Xerox 7665) to make sure that flip and mirror print is not on. Still, it keeps printing every page aside from the first mirrored. Any ideas?

    A friend of mine rang me last week with a similar problem. I didn't know what to say, it was every page after the first one printed upside down.
    To me that can't happen, they should all send at the same orientation.
    Perhaps you need to update your printer drivers. But to me it sounds like an issue with your printer and not InDesign.
    As another test
    Go to File>Print and the advanced menu and choose Print as Bitmap
    I'm not sure what that will prove though?

Maybe you are looking for

  • Performance of Java API 2

    Hello, we are currently using Java API 2 that comes with MDM 5.5 SP5 (Build 5.5.42.65) to read extended information from the mdm repository. Our process: We are export every product as a XML file over the MDM Syndicator and enrich this file with exte

  • How can I synch my ipod touch gen 3 to itunes on my new computer

    I was unable to save anything from my old laptop & would like to transfer all music on my ipod to the itunes on my new computer. I have authorized it as a home share computer, although I'm not sure if that means anything for this situation. Thank you

  • Omp_error  **  while attempting to see the demo results of mvdemo

    hello, i use oracle 10g enterprise edition. i am new in oracle spatial. i want to start with examining the demo which includes some state maps and relational knowledges about USA. for that, i created the user mvdemo/mvdemo, i imported the necessary d

  • Help viewing shared calendars on my iPhone?

    I've seen this same issue in a couple forums but haven't seen a solution yet. Maybe I'm just missing something. I am running outlook 2007, exchange 2003. All of my appointments in my calendar sync nicely between outlook and iphone but we have a share

  • Facebook Posts and Sounds Option

    Hi, my question regards the Facebook App and the function of Facebook Posts in the Sounds Menu.      I want to know if this has happened to other people, if its considered normal or if its an actual problem of my Ipad. The option of Facebook Posts in