Override default printing behaviour

Hi all,
I would like overriding the default printing delivery behaviour. What should I do in order to archive this? should I implement a java class? if yes, which class has have to be inherit from? and how to register the class such that this class is being called?
Thx
Reards,
whching

Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
http://forums.mozillazine.org/viewforum.php?f=25 <br />
You'll need to register and login to be able to post in that forum.

Similar Messages

  • Overriding default printer margins

    I am having trouble controlling the margins on my reports. In the report builder i have them set as one thing, but when i run the report they get set to the default print settings on my machine of 1 inch. Is there a way to override a user's default printer settings when printing a report thorugh a browser??
    Thanks,
    Patrick

    Hi Patrick
    If I understand your problem correctly, Though you set the margin as say "0" in report, still you see a margin of 1.0 in the output.
    If this is the problem, the reason is Reports takes the hardware margin of your printer into account and adds to the margin you set in report.
    Generally this is what is the expected behaviour from the users
    In Reports 9i, you would see a way of controlling this by command line ignoreMargin
    Thanks
    Rajesh

  • Override default print options in Adobe reader

    Hello Adobe support team,
    Can you please provide the possible ways to override the print options that comes by default. In the below snapshot marked in red green and blue are the ones that we want to be set as default print options for a selected document instead of users setting it for each document.
    Please help!

    All permanent print options are set from the Printer Control Panel without being in the printer setup from within the application.

  • Any way to override default printer settings into a PDF

    Hi -- I work for a large organization that has lots of computers and printers and prints a lot of forms and documents.  We are moving towards more digitization of documents and records including printing forms as needed as opposed to having large sets of forms onhand.  This should save us a lot of time and money once complete as these forms often change and the old process would be to then trash much of these documents and re-print for just one change.  The majority of our printers do have letter & legal trays as well as duplex support, however due to the vast number of users the default printer settings tied to each user and/or computer may be slightly different.  While standardizing all the printer settings across all users/computers would be one solution, we don't anticipate doing this as depending on the job peformed the different settings may be more preferable / advantageous for that user.
    As such the other solution I can think of is to hardcode the specific printer settings needed to correctly print a large document into that PDF file which may differ from that computer's print settings.  For example, the default computer print settings may be to print on just 1 side but duplex would be encoded / scripted directly into the PDF so IRREGARDLESS of the computer/printer settings this document would always print duplexed.
    Is there anyway to do this?  I would need to do more than just duplexing -- ie some form sets would need to be both duplexed and 'fit to printable area' whereas some would need to be only on one page and 'shrunk to printable area', etc, etc.  Our current practice is to insert a 1 page coversheet at the front of each document with the printer settings that need to be used for that form set, however this has been difficult for some users to do and has caused unnecessary time with our IT troubleshooting form printing.
    -Brandon

    Hi Brandon,
    You can use the Print Presets in Acrobat for that purpose. Please follow the steps below:
    1. Open the PDF in Acrobat
    2. Open Document Properties dialog (using Ctrl + D)
    3. Select the "Advanced" tab
    4. In the "Print dialog Presets" section, you can choose DuplexMode as well as Page Scaling for this document.
    Please let us know if this works for you
    Thanks,
    -Shilpi

  • Override default printer when printing ALV

    Hi,
    I have built an ALV OO report.  When I click 'Print', the popup with the print parameters is defaulted according to my default user profile.
    I'd like to change the default printer.  I tried to use the parameter 'IS_PRINT' of the method 'SET_TABLE_FOR_FIRST_DISPLAY'.  It does not work.  I tried to use the function module 'SET_PRINT_PARAMETERS'.  It does not work.
    Is it possible to change those parameters at all?  Any idea what I am doing wrong?
    Thanks.

    I found out that there is an ALV print version that is considered.  It is by default V04 in our system (abap 7.02).  I can change that version in transaction SALV_PARAMS.  When I change it to V03, it considers the print parameters that I pass to the ALV class.  When it it V04, it doesn't.
    I am not sure what the impact of changing the version will be.
    Any idea?

  • NI Reports print function default printer behaviour

    Just an FYI... Using the NI Reports Print Report.vi without wiring the printer name does not always work as expected at least for Excel. If you do the following with an Excel worksheet:
    1) Print to "Printer1"
    2) Print to "" (default)
    The second printer operation will print to "Printer1" because it is now set as the 'Active Printer' in the open Excel workbook.
    The Print Report.vi does not actually write the name of the default printer to the Excel _Print.vi PrintOut method. It passes an empty string, so Excel will print with the current active printer which may or may not be the default printer. 
    The Print Report.vi documentation should probably be changed to reflect that passing an empty string to the 'printer name (default)' terminal will not print to the default printer in all cases.

    That is all good information - and all information which I already know and which does not answer my question.
    The issue that I am having is that Safari and Safari alone is ignoring the printer setting. Could be something in the Safari plist file or somewhere else in Safari that is not working correctly - or at least I am assuming that it is a problem that Safari is not doing what it is supposed to for some reason - rather than Safari deliberately being programmed to ignore the system pref for printer setting.

  • Overriding default Copy behaviour of StyledEditorKit

    hi,
    just executing the default behaviour of "copy" (i.e. the Action associated with the string DefaultEditorKit.copyAction), inherited from DefaultEditorKit, turns Styled text into plain text.
    So I need to override the behaviour of this action in StyledEditorKit... I find the way into this must be use of the nested class of DefaultEditorKit, i.e. class DefaultEditorKit.CopyAction.
    But can someone provide a code example on how to do the override... ? Have tried extending a CopyAction class in a StyledEditorKit constructor... etc.
    Thanks
    Mike

    By the way I don't read code that has been posted
    without the "Code Formatting Tags, found in the
    "Formatting Tips" link.great, much better:
    System.out.println();
    Action doNothing = new AbstractAction() {
        public void actionPerformed(ActionEvent e) {
            //do nothing
    ActionMap actionMap = getActionMap();
    for( InputMap inputMap = getInputMap(); inputMap != null; inputMap = inputMap.getParent() ){
        System.out.println( "input/action maps level..." );
        KeyStroke ctrlC = KeyStroke.getKeyStroke( KeyEvent.VK_C, Event.CTRL_MASK );
        String nm = (String)inputMap.get( ctrlC );
        if( nm != null ){
            System.out.println( "inputMap entry found for Ctrl-C: " + nm );
            inputMap.put( ctrlC, "doNothing");
            if( actionMap != null )
                actionMap.put( "doNothing", doNothing);
            nm = (String)inputMap.get( ctrlC );
            System.out.println( "now: inputMap entry " + nm + " present" );
            if( actionMap != null )
                actionMap = actionMap.getParent();
            if( actionMap == null && inputMap.getParent() != null )
                    System.out.println( "hmm... actionMap parent null and inputMap parent non-null!!" );
    Well, you should not be trying to get rid of the
    deault Action.
    You are adding your own custom Action, so you just
    need to create you Acton and add the Action to the
    ActionMap with the correct KeyStroke. that's what I do in the above code... despite replacing the "copy-to-clipboard" with doNothing in all 3 generations of ActionMap, the Action for "copy-to-clipboard" still appears to be present... and to de-style text automatically

  • Preview Default Print Setting "Fit to Page" Problem

    Preview.app in Snow Leopard has removed the option to print without scaling, and recreating this behaviour with the remaining options is quite complex and requires 4 extra steps.
    Steps to Reproduce:
    1. Open a document in Preview.app, such as a PDF, of a known paper size.
    2. Select 'File' > 'Print…'
    3. Change the paper size to one where the default scale value with the default 'Scale to Fit:' 'Print Entire Image' is not 100%. This step is often unnecessary, as many documents will require reduction to include margins, even if the paper sizes match.
    4. Select 'Scale:'
    5. Select the scale % value.
    6. Delete the scale value.
    7. Input '100' in the scale value box using the keyboard.
    8. Press tab to avoid radar #7256827.
    9. Click 'Print'
    Expected Results:
    Click on a single option to print at 100%, if by chance that wasn't the default option. This would have been one step.
    Actual Results:
    Does what it says. Steps 4 through 8 are necessary to print at 100% in most cases.
    Regression:
    This behaviour was as expected in OS X 10.5.x and previous versions, or we wouldn't be having this discussion.
    Notes:
    Printing at 100% is the only scaling that is common enough to warrant a button to make it an easy one to get to. Preview.app itself even has an 'Actual Size' toolbar button, but has removed this function for printing.
    Graphic designers (and other professionals) or specific applications (such as printing on pre-cut or pre-printed paper, labels, or DVDs) can commonly require printing at 100%, and using PDF to distribute documents makes Preview.app the most logical choice for many printing jobs.
    Having something other than 100% as a default can cause expensive media to be ruined by a mis-scaled printout, unless these 4 (+1) steps are followed every time.
    Most other apps, including Safari, Mail.app and TextEdit default to no scaling, making Preview.app an exception.
    I am an architect and this is really annoying!
    Does anyone know a workaround?

    Sorry no workaround as yet...
    I too am now sick of the amount of expensive paper I have wasted due to the Preview app default print setting of 'Scale to fit'.
    - No option to print at 100%, you have to manually input this information.
    - No way to change this default in preferences, you can change the opening viewing size of a doc to 100% though.
    - Doesn't remember the previous settings if you decide to reopen the doc and print another copy.
    I also found that if I attempted to print an A4 doc with bleed and crop marks, it would set the default paper size to A4 and the annoying scale to fit would be set to 83%. If I then changed the scale by typing in 100% but don't hit enter for fear of the print starting and then simply use the drop down to change the paper to A3 and then change the orientation and then hit enter it ignores that you have changed the scale and prints your doc at 83% on A3 - Brilliant!
    It's a shame to say that I will be going back to acrobat for pdfs!
    If you can't put a 100% scale radio button on the print dialogue box either allow people to change the default in prefs or even better allow the presets to control paper size and scale of printing!

  • Firefox never suggests printing with my default printer

    I'm using Windows 7. I've set my HP OfficeJet Pro printer as my default printer in Windows. However when attempting to printing a document from within Firefox, Firefox always suggests my PDF printer.
    It's not difficult to select the correct printer, but I'm wondering why Firefox doesn't behave the way my other programs (Office, etc.) do when printing.

    Never seen that before - posting code that shows this behaviour would be handy.
    My guess would be that you have an errant VI.Print.Panel to Printer method hanging around somewhere in your code.
    CLD

  • [SOLVED] Problems with setting default printer in Libreoffice

    Everytime I print in Libreoffice it complains about me not having set the default printer. Where do I do that in Libreoffice or is it refferring to my setup in cups? Also in systemsettings under KDE4 when I try to manage my printer and I try to set it as default I get the following error:
    Der opstod en fejl under CUPS-handlingen: "client-error-forbidden".
    EDIT: Fixed by setting default under cups administration.
    Last edited by fettouhi (2013-12-08 14:48:04)

    mahen wrote:
    bkadoctaj : this is actually exactly what I did as well. It works, although there is still a strange behaviour compared to under Ubuntu for instance :
    - The printer wasn't detected, I had to add it from the CUPS web interface
    - Libo complains about "no default printer" although I definitely set it as default in the aforementioned interface
    (I use cups-usblp and splix-svn due to my specific hardware)
    Hmm, weird... as far as I can tell LibO is using my CUPS-defined default printer as its default.  Thanks for the feedback - you made me glad that I wasn't posting something irrelevant lol.
    Possibly a stupid question but your user is a member of the lp group, right?  I don't have anything set for "Allowed Users" in CUPS but you could also try adding your user there.  Curious to hear of a solution if you find one.

  • Adobe Reader changes Windows default printer?

    Hello.
    Currently our customers are complaning about the anomaly, that the default printer is sometimes changed after printing *.pdf's with Adobe Reader. I have never heard of a problem like this before and am even not able, to confirm this behaviour.
    That is why I want to ask you, if you have ever heared of something similar like this. Under which circumstances does Adobe Reader print on another non-default printer automatically? Btw. I don't know how to handle this problem so far.
    Yours,
    Moeki.

    Interesting! What was the color scheme prior to launch? Does this problem happen on every launch of Reader X? What if you restore the color scheme and re-launch Reader? If possible can you stick a screenshot of the issue you just described.

  • Default Printer

    I use Numbers 08, and I move around from office to home. Naturally I have different printers at home from my office. So in my default printer settings under System Preferences is set to "Last Printer Used".
    Numbers does not honour this setting. It will always pick the printer that used to be the default before you set the printer preferences to "Last Printer Used".
    Example:
    When I first setup my computer I set my default printer to a printer called "Home Printer". Then I installed numbers, printed and all is well.
    Then I bring my computer to work, add a printer called "Work Printer". Then set my default printer to "Last Printer Used". Numbers will always by default show "Home Printer" as my target printer when I try to print. I always have to change it to whichever printer I need to print. This gets annoying when I print several documents at a time.
    If I change my default printer under Systems Preferences to "Work Printer", then change it back to "Last Printer Used", numbers will always use "Work Printer" as my default printer, even after I've printed to "Home Printer" several times already.
    What's worse is, if I print a document, and select "Home Printer", then print it again, it doesn't keep "Home Printer" as the target printer. I'd have to select it again.
    It's pretty annoying.
    Anyone else have this problem? Got any solutions? I looked at the com.apple.iWork.Numbers.plist file but I didn't find any printer setting in there. I've delete that file but the behaviour persists.

    Use feedback under the Numbers menubar to request a change. This annoyance has been around for a while.

  • The printer that comes up when i hit print is not my default printer

    I can print from my documents or desktop but when I open firefox and try to print it opens a print window with a fax as my printer. I can hit the down arrow and see my printer but it will not allow me to select it. My default is the correct printer

    I would suggest to the Firefox team that the next build should recognize the system's default printer. Scrap this "last used" nonsense.
    I used an HP 832C until it quit functioning properly, and bought a new Brother laser printer. I did not remove the 832C from my system, for I thought I might be able to get it repaired and back on line. It is a color printer, I have lots of ink for it, the Brother is black-and-white.
    As with the OP, I was printing successfully from everywhere else outside of Firefox, the Brother was doing its job.
    I bought something online, and had the option to "Print this page" and have a printed copy of my transaction. Nothing.
    Windows 7 Control Panel's Devices and Printers, and there were no jobs awaiting printing in the Brother. So I looked at the disconnected HP 832C. There sat two jobs in the print queue.
    There was no option to visit the File menu from the "Print this page pop-up to where I could go down and select my printer. Fortunately, Walmart sent me an email that I could print after selecting the proper printer.
    I am supposed to believe that after I have set the system default printer, all my '''good''' software is going to honor that choice.
    My solution was to uninstall the HP printer, which I did not want to do. Perhaps had I known that Firefox was now going to respect my Brother, having used it once, removal of the HP was unnecessary.
    So once again. I say scrap this “last used” nonsense and use whatever the system has been set to (unless there is an option to override the default that I can opt in to).
    My two cents' worth.

  • How can I prevent my "Write JPEG File" vi from printing on my default printer?

    I use this VI to create a JPEG image of my front panel, but it always both creates the JPEG image like it's supposed to AND it prints to my default printer.  Has anyone else had this problem?  Is there a workaround?  Is there another way to create JPEGs?  I've replaced it with the "Write to BMP File" vi, and I'm getting the same results.
    Solved!
    Go to Solution.

    Never seen that before - posting code that shows this behaviour would be handy.
    My guess would be that you have an errant VI.Print.Panel to Printer method hanging around somewhere in your code.
    CLD

  • Excel 2010 not using the default print settings

    Currently got an issue with Excel 2010 not using the default print settings for a couple of users on our network,
    basically when pressing cntrl P or selecting the print option from the file menu the printer settings are different to the print settings selected in the devices and printers menu, we have checked the print drivers etc but this has still not resolved the
    issue, all other office programs are fine and also other users are reporting this issue more and more with different printers,
    tried restarting print spooler service and re-installing office but this has come to no avail,
    any ideas would be much appreciated!

    Hi,
    This issue occurs because the Page Setup settings that you specify in your file override the settings that you specify in the printer driver properties.
    To work around this issue, do not specify the paper size, page orientation, or page margins in the printer driver properties. Instead, specify these settings in your workbook.
    To specify these settings, follow these steps:
    1.Start Excel, and then open the workbook you want to change.
    2.In Microsoft Office Excel 2010, click the sheet that you want to print, and then click the Page Layout tab. In the Page Setup group, click Page Setup to open the Page Setup dialog box.
    3.Click the Page tab.
    4.Under Paper size, click the paper size that you want.
    5. Click Options button and in Printing Shortcuts tab, in the Paper source area, perform one of the following steps:  ◦If the printer can automatically select the correct paper tray to use, click Default tray in the First page list, and then click Default
    tray in the Other pages list.
    Default tray is the default setting in both of these lists.
    ◦If the printer cannot automatically select the correct paper tray to use, you may have to select the paper tray that contains the paper size that you selected in step 4.
    To do this, click the appropriate paper tray in the First page list and in the Other pages list.
    6.If you want to change the page orientation or its page margins, click the Finishing tab.
    7.Select the options that you want.
    8.Click OK.
    9.Repeat steps 2 to 8 for each sheet of your workbook for which you want to specify settings.
    Jaynet Zhang
    TechNet Community Support

Maybe you are looking for