CSS to print in landscape

I currently have an grid that i need to print from a form. When i try to print the grid it is too wide to be printed in portrait. I have made a CSS that forces the page to print in landscape, but when added to the style sheet that uix uses the grid does not print in landscape. If someone could provide an alternative to this problem or a solution i would appreciate it.

Please somebody help me out. Thanks

Similar Messages

  • Pages won't print in landscape?

    I just upgraded to the latest version of Pages for iOS, and it seems I have lost the ability to print in landscape. Even if the document itself is in landscape orientation it still prints in portrait. In fact, documents that are in landscape orientation that printed just fine last week now print in portrait as well. Same documents, same printer, the only change is the Pages upgrade. Any ideas how to fix this?
    Thanks!

    Works OK with New Pages on iPad Air,  iOS 7.0.4.  using a Canon MG3500 printer via WiFi.
    Portrait page was printed as Portrait,  Landscape as Landscape.
    First time printing from iPad. 
    As there were no Landscape or Portrait settings within Pages I'd check the printer settings.
    Selecting the printer from the recent printer list seems to be built in.. I only have one.

  • Is there a way to use css media="print" to print all Spry tabbed panels

    By setting up a special style sheet and calling that with media="print" I can control all other content that I want to appear in the printed webpage but since the tabbed panels display="none" or display="block" are controlled by the SpryTabbedPanels.js I haven't found a way to force all panels to be display="block" in the print style sheet.
    The requirement is for a seminar timetable where each day is on a separate tab but if you want hard copy then printing all days in one go is best.
    Any suggestions would be most welcome.

    Yeah! I found the answer in another forum topic - See
    http://forums.adobe.com/message/636534#636534
    Use
    <style type="text/css" media="print">
    .TabbedPanelsTabGroup {
    display: none !important;
    .TabbedPanelsContent {
    display: block !important;
    overflow: visible !important;
    height: auto !important;
    </style>

  • How do I make a page print in Landscape?

    Greetings,
    I have a page which contains a form layout just for printing. I need to print it landscape. How do I do so?
    We're on Application Express 4.1.1.00.23
    Thanks, Tony

    As far as I know APEX doesn't provide an iterface for maniging printer settings.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Unable to print a landscape document on my HP all-in-one printer

    Since upgrading to Mavericks I cannot print in Landscape.  My printer in a HP All-in-one 5520

    Did you download latest Mavericks driver from HP site?

  • HP OfficeJet Pro 8610 Always Prints in Landscape (OSX)

    My HP 8610 runs on a Mac OSX and I cannot figure out how to get it to print in a portrait format.  It ALWAYS prints in landscape.  I've looked through every setting, etc., has to be something easy.  I tend to use the Firefox browser when printing.
    Thanks!

    Hello FloralChutney,
    Welcome to the HP Forums.
    To change the lay out or the pint job, please refer to the screen shot that I have provided. 
    If you have any other questions, please feel free to write me back at any time.
    Cheers,  
    Click the “Kudos Thumbs Up" at the bottom of this post to say “Thanks” for helping!
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    W a t e r b o y 71
    I work on behalf of HP

  • How do I set my printer to print in landscape?

    When I print what do I do to get it to print in landscape?

    Thank you for your reply. However, I could not get Templates to work correctly for me.  Following your instructions, I opened my document, opened Page Setup, set the printer, paper size, orientation, and printed a copy to make sure it was right. Then I re-opened Page Setup to verify that the settings were still correct. Then I saved the document as a Template. Then I found my template in Pages, opened the template, and tried to print. The first thing I noticed was that the template did not remember my printer. Then I set the printer, and printed, but I found that the template also did not remember the page size or the document orientation. So, did I miss a step here? Lion 10.7.5 and Mac Mini.

  • Iphoto won't let me print a landscape photo

    iphoto won't let me print a landscape photo this is what it is doing when i go to print and it is driving me mad pleaseeee help

    That means your original library is damaged and requires first aid.  Do the following:
    1 - launch iPhoto with the Command+Option keys held down to open the First Aid window. Be sure to follow the circled recommendation in the screenshot.
    2 - run Option #4, Rebuild Database.

  • Print Layout Difficulties - printing in landscape mode

    Haven't upgraded to Pages 2 yet; in the meantime, here's a question related to Pages 1:
    How does one properly print in landscape mode directly from Pages? I'm trying to print a simple CD booklet, but all I get when printing directly from Pages is my page printed at the bottom of the page. This happens even when I select one of the landscape orientations (and I've tried all of them) from the Print Layout before printing.
    I'd simply change the page setup, but Pages gives me no way to rotate any of the objects once my once-horizontal document is now vertically oriented.
    On the other hand, if I do a print preview and save as PDF, I am able to print in landscape orientation from Preview. Which is fine, but having to take the extra two or three steps is frustrating.
    Thanks,
    Kevin
    iMac G5   Mac OS X (10.4.4)   2GB RAM, Epson Stylus Photo R200 printer

    Hullo Kevin:
    I'm a bit surprised (and intrigued) by this. Seems to me you're starting off right, and the only suggestion I have to make (directly, that is) is to check whether you've used the available scaling options: i.e., if your landscape mode fills only half the page, will 200% make it fill the lot - or is the landscape orientation just refusing to rotate your content? From what you say, maybe it is, and you'll have found the way around it. But it seems pretty odd to me that you can print from preview as you want, but not from the original. Maybe somebody else can shed some light on this for you.
    But the most constructive reason I have for replying to you is that I do recall a CD booklet template - which might save you a lot of trouble. I can't tell whether it will suit you; but very likely it might.
    You'll find it on Gerry Straathof's pagesuser.com. It's called Monkey Business CD Booklet, for a CD that was released with it, and the content would seem pretty flexible within the template: it could like as not suit a very different look from the sample shown. Please notice the conditions that go with it, but I think I summarise them fairly in that it's mainly the content that is protected, rather than use of the template.
    In any case the site is live - it has a forum just like this one; and by the way Gerry seems to know his way around Pages pretty well, so you might like to put your question more directly to his notice by posting it on his site.
    So I've no real answer to your question - but I hope helps you to find one.
    Best Wishes and Good Luck.

  • Cannot print in landscape mode?

    Using Firefox 31.1.0 on CentOS 6
    various HP Laserjet printers
    Cant print in Landscape mode. Firefox is on the server and users connect to the server via LTSP thin clients and we prefer to use Firefox for this. One of our users needs to print in Landscape mode several times a day. We used to have Firefox 10 and this was not an issue.
    Have tried multiple drivers from CUPS and none have let me print in Landscape. When printing in Landscape, it acutally prints out in Portrait mode but the right side of the page is cut-off. In terminal, as root, we went to system-config-printer, right click on printer, properties, and orientation is set to automatic rotation. When changing to landscape here, it prints in landscape but the top of the page is cutoff now, and that means that all the users connected to the server are going to print by default like this, because all using same CUPS.
    I have centos 6 on my stand-alone desktop (not connected to desktop LTSP server) and Landscape printing does not work on Firefox either. It works on Chrome flawlessly, but we much prefer Firefox for work use.
    Please help!

    Reset Firefox to its default state
    If you're having major problems which you can't resolve, start fresh with only your essential information.
    Troubleshooting Information
    This page contains technical information that might be useful when you're trying to solve a problem. If you are looking for answers to common questions about Firefox, check out our support website.
    Application Basics
    Name Firefox
    Version 31.1.0
    Update History
    User Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0
    Profile Directory
    Enabled Plugins about:plugins
    Build Configuration about:buildconfig
    Memory Use about:memory
    Extensions
    Name Version Enabled ID
    Graphics
    Adapter Description NVIDIA Corporation -- NVS 300/PCIe/SSE2
    Device ID NVS 300/PCIe/SSE2
    Driver Version 3.3.0 NVIDIA 331.79
    GPU Accelerated Windows 0/1 Basic
    Vendor ID NVIDIA Corporation
    WebGL Renderer NVIDIA Corporation -- NVS 300/PCIe/SSE2
    windowLayerManagerRemote false
    AzureCanvasBackend cairo
    AzureContentBackend cairo
    AzureFallbackCanvasBackend none
    AzureSkiaAccelerated 0
    Important Modified Preferences
    Name Value accessibility.typeaheadfind.flashBar 0
    browser.cache.disk.capacity 358400
    browser.cache.disk.smart_size_cached_value 358400
    browser.cache.disk.smart_size.first_run false
    browser.cache.disk.smart_size.use_old_max false
    browser.cache.frecency_experiment 4
    browser.places.smartBookmarksVersion 7
    browser.sessionstore.upgradeBackup.latestBuildID 20140916104755
    browser.startup.homepage_override.buildID 20140916104755
    browser.startup.homepage_override.mstone 31.1.0
    dom.mozApps.used true
    extensions.lastAppVersion 31.1.0
    network.cookie.prefsMigrated true
    places.database.lastMaintenance 1416493839
    places.history.expiration.transient_current_max_pages 104858
    plugin.disable_full_page_plugin_for_types application/pdf
    plugin.importedState true
    print.postscript.orientation landscape
    print.print_bgcolor false
    print.print_bgimages false
    print.print_colorspace default
    print.print_downloadfonts false
    print.print_duplex 0
    print.print_evenpages true
    print.print_footerleft
    print.print_footerright
    print.print_headerright
    print.print_in_color true
    print.print_margin_bottom 0.5
    print.print_margin_left 0.5
    print.print_margin_right 0.5
    print.print_margin_top 0.5
    print.print_oddpages true
    print.print_orientation 1
    print.print_page_delay 50
    print.print_paper_data 0
    print.print_paper_height 279.40
    print.print_paper_name na_letter
    print.print_paper_size_type 1
    print.print_paper_size_unit 1
    print.print_paper_width 215.90
    print.print_plex_name default
    print.print_resolution 600
    print.print_resolution_name default
    print.print_scaling 1.00
    print.print_shrink_to_fit true
    print.print_to_file false
    print.print_unwriteable_margin_bottom 17
    print.print_unwriteable_margin_left 25
    print.print_unwriteable_margin_right 25
    print.print_unwriteable_margin_top 17
    privacy.donottrackheader.enabled true
    privacy.sanitize.migrateFx3Prefs true
    storage.vacuum.last.index 1
    storage.vacuum.last.places.sqlite 1414001517
    JavaScript
    Incremental GC true
    Accessibility
    Activated false
    Prevent Accessibility 0
    Library Versions
    Expected minimum version Version in use
    NSPR 4.10.6 4.10.6
    NSS 3.16.1 Basic ECC 3.16.1 Basic ECC
    NSSSMIME 3.16.1 Basic ECC 3.16.1 Basic ECC
    NSSSSL 3.16.1 Basic ECC 3.16.1 Basic ECC
    NSSUTIL 3.16.1 3.16.1
    Experimental Features
    Name ID Description Active End Date Homepage

  • Win Elements 7 won't print in landscape orientation

    O.K. my PSE 5 will print in landscape orientation along the length of roll paper with an Epson Stylus 7600, but no matter what combinations I use with PSE 7, and making sure that at all stages the landscape icons/buttons are selected, PSE 7 won't print in anything else than portrait orientation and the image on the print page shows that, as does the print preview if I go to print. What is the issue here? I have tried deleting and reinstalling PSE 7 and also deleting the printer preferences at start up but this has no effect on the problem. I can edit in PSE 7, save the file, then reopen and print with PSE 5 with no problem, but that is not the point. I am using Win XP with 2G of ram and as pointed out, it works fine with PSE 5 with all my photo files.

    Are you sure tht settings used re same in PSE5 & PSE7... Are you using Organizer or Editor for Printing?
    + Ripple (VJ)

  • How to change margins when printing in landscape

    Hi all,
    I have a network printer installed on Solaris 6. To get it to print in "landscape" i added a filter - like this:
    Input types: any
    Output types: landscape
    Printer types: any
    Printers: any
    Filter type: slow
    Command: /etc/lp/landscape.sh
    The script: landscape.sh:
    echo "^[&l1O"
    cat -
    echo "^[&l0O"
    When i print like this: lp -dprinter -olandscape filename it print�s in landscape. Problem is i can�t set up any margins.
    Printer is configurated like this:
    Banner: on:Always
    Content types: landscape
    Device: /dev/null
    Interface: /etc/lp/test
    Printer type: unknown
    Modules:
    Options:
    I tried to modify it�s interface file, but that had no effect. Here are the line i tried to modify
    # PC-850, 12 cpi, 12 pkt, normal Courier, 6 col. Left Marg., 2 lin. TopMarg.
    echo '\033(0N\033(s0p12.00h12.00v0s0b3T\033&a6L\033&2E\c'
    How can i change the margins ?
    Thank u all
    Thomas

    It sounds like either the font is corrupted or your AddressBook prefs are whacked.
    You can check the font in FontBook > File> Validate Fonts, or in /Users/yourname/Library/Preferences/com.apple.AddressBook.plist move it to the desktop and restart.
    -mj

  • Problem with computing Font width while printing in Landscape mode

    I have an application which prints a table and fills it with some text. I render it on a JComponent using the drawString(theStr, xPos, yPos) and the drawLine(rigtX, topY, rigtX, botY) methods in Graphics2D object. I want to take print-out of the table and also store the image of the table in, say, jpeg format. The print can be in Landscape or Portrait format depending on the size of the JComponent, which the user sets depending on the table size and the font size.
    I have a paintTable( ) method which contains all the drawString( ) and drawLine( ) methods. This method is called from the paint( ) method of the JComponent to achieve normal rendering. The same method is called to get a BufferedImage of the Table. The same method is further called from the implementation of print( ) method from the Printable interface.
    In the paintTable( ) method, I compute the pixel coordinates of the table grid lines and the texts positions in the tables depending on the font width and height obtained as shown below:
            // Set the Font             
            Font theFont = graphics.getFont();
            theFont = theFont.deriveFont((float)TableFontSize); // TableFontSize is an int of value 8,9,10 etc.
            graphics.setFont(theFont);
            // Get the Font Size      
            FontRenderContext frc = graphics.getFontRenderContext();
            float width = ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).width;
            float height = ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).height;
           System.out.println("FONT WIDTH HEIGHT [" + width + "," + height + "] ");I am getting the following value of width and height when the above print statement is executed with a value of 9 for TableFontSize. FONT WIDTH HEIGHT [18.0,11.3203125]
    The problem I face is :
    While Printing in Landscape mode the value of the 'width' variable printed as given above is becoming negative. Kindly see the values: FONT WIDTH HEIGHT [-9.37793,11.3203125]. This is happening ONLY DURING PRINTING IN LANDSCAPE MODE. This makes my calculation of table grid line coordinates and text positions completely wrong and the table goes out of place.
    Kindly note that, there is no problem during normal rendering and BuffereredImage creation and also while printing in Portrait mode. The problem happens irrespective of Linux or Windows. The value of 'height' is always correct.
    Kindly let me know: If the method I use to get the 'width' and 'height' is correct ? Is there any better way which will work fine in all platforms under all circumstances.
    Kindly help me to sort out this issue.
    Thanks a lot in advance and best regards
    -acj123

    I have extracted the relevent code and made a stand alone program.
    The complete code is enclosed; including that for printing.
    Kindly go through the same and help me to solve this problem.
    Thanks again and regards
    -acj123
    import java.awt.*;
    import java.util.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import java.awt.print.PrinterJob;
    import java.awt.font.FontRenderContext;
    import java.awt.image.BufferedImage;
    import javax.swing.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    public class MyCanvas extends JComponent implements Printable, ActionListener
        int TableFontSize = 9;
        private Graphics2D graphics;
        public MyCanvas(JFrame frame)
            frame.getContentPane().setLayout(new BorderLayout());
            frame.getContentPane().add(this, BorderLayout.CENTER);
            frame.setJMenuBar(createMenuBar());
        public JMenuBar createMenuBar()
            JMenuBar menubar = new JMenuBar();
            JButton printButton = new JButton("Print");
            menubar.add(printButton);
            printButton.addActionListener(this);
            JButton imageButton = new JButton("Image");
            menubar.add(imageButton);
            imageButton.addActionListener(this);
            JButton drawButton = new JButton("Draw");
            menubar.add(drawButton);
            drawButton.addActionListener(this);
            JButton closeButton = new JButton("Close");
            menubar.add(closeButton);
            closeButton.addActionListener(this);
            return menubar;
        public void actionPerformed(ActionEvent evt)
            String source = evt.getActionCommand();
            if  (source.equals("Close"))
                System.exit(0);
            if  (source.equals("Image"))
                getImage();
                return;
            if  (source.equals("Print"))
                printCanvas();
                return;
            if  (source.equals("Draw"))
                repaint();
                return;
        public BufferedImage getImage()
            Dimension dim = getSize();
            BufferedImage image = (BufferedImage)createImage(dim.width, dim.height);
            this.graphics = (Graphics2D)image.createGraphics();
            System.out.print("\nImage ");
            paintCanvas();
            return image;
        public void paint(Graphics graph)
            this.graphics = (Graphics2D)graph;
            System.out.print("\nDraw  ");
            paintCanvas();
        public void paintCanvas()
            // Set the Font      
            Font theFont = graphics.getFont();
            theFont = theFont.deriveFont((float)TableFontSize);
            graphics.setFont(theFont);  
            // Get the Font Size       
            FontRenderContext frc = graphics.getFontRenderContext();
            float width = ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).width;
            float height= ((Rectangle2D.Float)theFont.getMaxCharBounds(frc)).height;
            System.out.print("FONT WIDTH HEIGHT [" + width + ", " + height + "] ");
            System.out.print(" SIZE "+ super.getWidth() +", "+ super.getHeight());
        public int print(Graphics graph, PageFormat pageFormat, int pageIndex)
            throws PrinterException
            if (pageIndex > 0) return Printable.NO_SUCH_PAGE;
            this.graphics = (Graphics2D)graph;
            graphics.translate(0,0);
            paintCanvas();
            return Printable.PAGE_EXISTS;
         *  Interface method for Printing the Canvas on Paper
        public void printCanvas()
            PrinterJob printJob =  PrinterJob.getPrinterJob();
            printJob.setPrintable(this);
            PrintRequestAttributeSet attr = new HashPrintRequestAttributeSet();
            if (super.getWidth() < super.getHeight())
                System.out.print("\nPrint PORTRAIT ");
                attr.add(OrientationRequested.PORTRAIT);
            else
                System.out.print("\nPrint LANDSCAPE ");
                attr.add(OrientationRequested.LANDSCAPE);
            Dimension dim = getSize();
            attr.add(new MediaPrintableArea(1, 1, dim.width, dim.height,
                                                  MediaPrintableArea.MM));
            attr.add(new JobName("MyCanvas", Locale.ENGLISH));
            attr.add(new RequestingUserName("acj123", Locale.ENGLISH));
            if (printJob.printDialog(attr))
                try
                    printJob.print(attr);
                catch(PrinterException ex)
                    ex.printStackTrace();
        public static void main(String[] arg)
            JFrame frame = new JFrame("MyFrame");
            MyCanvas canvas = new MyCanvas(frame);
            frame.setSize(800, 600);
            frame.setVisible(true);
    }

  • Trying to print a jpeg (not a photograph).  No matter what setting i select, it prints in landscape.  How do I get portrait printing?

    Trying to print a jpeg (not a photograph) in Elements 12. No matter what setting i select, it prints in landscape. How do I get it to print in portrait?
    Second question.  What is the fastest way to change the number setting (0 to 12) for an existing photo so that the file size is smaller?

    kkbadobe wrote:
    Trying to print a jpeg (not a photograph) in Elements 12. No matter what setting i select, it prints in landscape. How do I get it to print in portrait?
    Second question.  What is the fastest way to change the number setting (0 to 12) for an existing photo so that the file size is smaller?
    Go to File>print in Editor. In the dialog that comes up, you should see "Page Setup". Select "Portrait".
    This assumes that the file is in portrait orientation as well, before sending it to the printer.
    As for question #2, I am unaware of a numeric sequence such as you would like in this program. You can alter file size via File>save for web, however.

  • The report is always printed in landscape

    We have a VB6 application that uses CR 9 to print reports. When we launch reports to screen, and then to the printer, there is no problem and report orientation is as we design. But if we launch the report directly to a specific printer (Kyocera 250ci KX), the report is printed with landscape orientation. This error doesn't appear with the rest of applications.

    When it is printed Landscape, is the page truncated on the bottom?  In other words, is the data on the page expecting to be printed in Portrait mode, but is coming out landscape, or are page footers showing on the landscape page?
    If the later, then I'm suspecting some setting in the application that is causing the landscape printing, as the page lengths are correct.
    If the former, then I'd guess that there's something screwy with the printer itself.  (Can you print anything on that printer in Portrait orientation?)
    HTH,
    Carl

Maybe you are looking for

  • How can i create a project with 2 or more dvd´s ???

    i have a projekt with a total lenght of 2 hours and 30 minutes ( 7 GB) and encore sayes ... to big for a dvd....how can i solve this problem without a lower quality...??? i want to make 2 dvd´s with a button on main menu to dvd 2 ect... thanks for he

  • Calling a webservices from Oracle 10G ( 10.2.0.2)

    Hi: I am in the process of putting a database Java stored procedure that can call an external webservices. PL/SQL Wrapper -> Java Stored Procedure-> External Web services I loaded the following jars in the dataase. dbwsa.jar dbwsclient.jar 1. I am ha

  • Error at the time of Release and Save the WBS

    Dear All,       When i am going to release and save the project the below error has occurred. Error-Release not allowed as budget is not allocated to the project. Project will be exited and data changes will not be saved! But, i have budgeted the WBS

  • When I click on a link, a new window opens but is blank and says "stopped" at the bottom

    Happens on any website.eg-if I am looking for a quote on moneysupermarket.com and I lick on the required link, a new window will open but it will be blank and in the bottom left hand corner the word stopped appears

  • Page display gets weird while two-finger scrolling

    For the last few days, whenever i'm scrolling with two fingers in safari, the page's display gets very disrupted....numerous white rectangles appear and disappear quickly over the page's content, returning to normal when scrolling ceases. This happen