Always duplex printing when printing through cups server

I have about 6 printers which people normally accesses through a cups server running on a Linux box.
We have always printed through the cups server from the Macs we have - and this has always worked great (they get auto-detected as shared printers and so on).
But a few months ago something changed on the Macs - they can now ONLY print duplex - nomatter what i tell them to do in the print dialog. When printing first to a postscript file and then sending the postscript file to the printer (via terminal/lpr) everything gets printing correctly - but when using the printing dialog it always prints duplex.
When printing to the printers directly (many different models) everything works - but going through the cups server - only duplex.
All our Linux machines prints both duplex and simplex as they should, so the cups server isn't the problem.
Has anybody else had this problem?
  Other OS  

Armin,
You need to do the following to make the duplex printing work for postscript in Oracle Reports.
You need a printer with duplex option and an appropriate PPD file.
You also need the Unix tool sed to filter the output file.
The problem is that duplexing is enabled in the job level set up of the PostScript document but gets reset in the page set up because paper size and printer tray information is generated for every page. The workaround would be to write a script, which removes page level set-up information for the paper size and printer tray set up commands. As a side effect of this - it is no longer possible to switch the printer tray between pages.
Write a sed script file called 'duplexsed' with the following three lines. This
/^%%BeginPageSetup/,$ {
/^%%BeginFeature/,/^%%EndFeature/d
Copy the file to an appropriate directory, for example $ORACLE_HOME/bin.
Set the environment variable TK_PRINT:
TK_PRINT="sed -f $ORACLE_HOME/bin/duplexsed | lpr -l -s -P'%n' -#'%c'"
export TK_PRINT
Note that the print command is different for the various kinds of Unix.
You may need to refer your installation guide and make changes to the lpr command
Thanks
The Oracle Reports Team

Similar Messages

  • Printing when printer off

    Might be a stupid question but if i send email to print when printer is off does it print when printer is switched back on, or does it have to be on to work which kinda defeats the point of calling it remote printing 
    This question was solved.
    View Solution.

    Hi,
    Print jobs sent to the printer once it turned off will not be printed of course, however the print job will remain on the server up to 24 hours. the job will be printed one the printer turned on and connected to the network during that timeframe:
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c02908385&cc=us&dlc=en&lc=en&product=5058338&tmp​...
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • I use floating time zone with all of my iCal entries.  But then the times of the entries do not print when printing month view.  Is there a fix for this?

    I use floating time zone with all of my iCal entries.  But then the times of the entries do not print when printing month view.  Is there a fix for this?

    Sorry to have repeated this question as if I were answering it.  Just a mistake.  I'm just now learning how to use this site.

  • Change output printer when printing a production order

    I can see that there is a specific printer associated with the output of a production order.  Is there a way to change the destination (a different printer) when printing a single production order?
    Right now I can see where the printer destination is shown in CO02, but I do not know how to change it. The screen is display only. The menu path is Order->Settings->Print info.
    Any help would be appreciated.

    Hi Janet,
    Try this.
    Path: CO02 -> Enter PO-> Settings -> List Control -> Here you can change the printer -> Click on continue button.
    Regards,
    Ferry Lianto

  • My printer double prints when printing

    My printer (Hp Officejet 5610 All -in-One) double prints when printing. What should I do?

    Hi,
    Disconnect the  USB cable and follow the below steps  to restart  the spooler service.
    Click Start (Windows logo) >> All Programs >> Accessories >>
    Right click on  Command Prompt and open it as Administrator ( choose run as administrator)
    Enter the below command in black window and hit enter key..
    net stop spooler
    That will stop the spooler service.
    Then enter the below command and hit enter key to start the spooler service
    net start spooler
    That will delete the current print comment and the  things in print queue.
    Press the widnows key and R key on the key board to open run window ( Click on Start >> Run).
    In run window  enter services.msc and click Ok.
    That will open services window.
    From there double click on the print spooler service.That will open a new window.
    Click on Stop button to stop and then click on start button to restart the spooler service.
    Make sure that startup type is : Automatic and Service status is : Started
    Click on Apply and Ok to close the services window.
    If the issue resolved,
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Saul
    Tech Support Eng.
    HP

  • How to send direct print in 10g(through application serve) on local printer

    Dear All;
    We are move from oracle 6i to 10 form builder & report builder.
    In 6i we will send direct print on printer, But in 10g we are unable to send the print on local printer if we set " detyp=printer " then print goes on application server's printre not on local printer.
    Can I send the print on local machine without display on screen?
    Database: 10g
    Form and Report Builder :10g
    OS :Windows Xp & Linux (Minut & Ubuntu)
    B/R
    Zahid Hussain

    Hi
    We had a similar requirement and we took help from a third party software called RepExpert. You can get a demo version from the following link and if it satisfies your requirement you can purchase it.
    www.lv2000.com/re/repexpert.htm
    HTH

  • Garbage text prints when printing documents from InDesign

    I am encountering an odd error when printing from InDesign 4.0.4 (CS2) to some HP printers (HP 4650 and 2430n). Some documents print just fine with no problems. But a couple of documents will either never print, or when they do print, they print a line or few of garbage text (black diamonds, smiley faces, etc.) per page, plus some blank pages, and it will run through tons of paper when it does this.
    I've found the following document which describes my problem pretty closely.
    http://h10025.www1.hp.com/ewfrf/wc/genericDocument? docname=c00028613&cc=us&dlc=en&lc=en&jumpid=regR1002USEN
    The problem is that I have set the Graphics to print as ASCII, and this problem still occurs. Could it be a problem with a particular EPS file printing or something? This document (with all of the included text, EPS images, etc) become fairly sizeable, such as 150 MB in size. The HP 4650 has 512 MB of memory, whereas the HP 2430 has 64 MB of memory.
    I printed this same problem document from another computer, with all of the same settings in InDesign, and it printed with no problems.
    Any idea on what is going on here?

    Hello Chad,
    Do you know if the two printers support PostScript? It sounds like they don't and therefore they will be using filters to convert the PS data from InDesign into a format that it understood by the printer. It will be in this conversion process that something will be going astray and that will cause the corrupted output. Try running a Repair Disk Permissions to see if this helps.
    I don't believe the amount of RAM will cause the problem, it should only impact the speed at which the document can be spooled from the Mac. However, if the error is only occuring from InDesign and when working with large files, then it may have something to do with it. But if the other PC is okay then it may rule out the RAM. What print language is the other PC using to print to the HP's?
    Regards,
    Paul

  • Performance slowdown when running through report server

    There is a considerable difference between running a particular report through the report server. It is slower than when run directly from ReportBuilder.
    Each points to the same data/application server. There is very little formatting or other work required of the client.
    The difference is about 10-fold, i.e. a report taking 1 minute to run via ReportBuilder takes about 10 minutes when launched through the report server.
    I have no idea how to begin diagnosing this. Our DBA says it is possible for the 'explain plan' to differ because the SQL is contained within the .REP file (and not as a stored procedure in the database). Even so, how/where would one begin looking to discover the reason for the dramatic performance difference?
    Performance monitors on both the app/database server and the Oracle engine show that the slow running report consumes about the same amount of resources as the faster report. The slower report simply takes 10 times as long to run.
    Perhaps we're not looking at the 'best' performance monitor parameters?
    Anything else we can use to trace execution differences?

    When we get this we try the following.
    The dba's have some tool which can view the sql running under the server and the builder - you can then see if the plan is different.
    Ordering - if there is a lot of ordering we get the SQL to pre order using the ORDER BY clause, this means the IAS server has less work to do (depending on your PC we find a PC is always quicker at formatting than the server).
    Userlogon - we have a different user logon to that used by the server, this sometimes gives rise to different plans. You can change this in reports using ALTER_SESSION. E.g. we find this can speed up reports:
    srw.do_sql('ALTER SESSION SET optimizer_index_cost_adj=50');
    srw.do_sql('ALTER SESSION SET optimizer_index_caching=90'); if put in the before report trigger (nb the values may differ depending on your environment.

  • No black print when printing ...?

    When printing, black text is not or very vaguely appearing (ink cartridge replaced already) + in middle of the page some letters are having stripes through them? Several clean up processes done already. How can I solve this?

    Please read this post then provide some details. What printer model? What operating system?  Is the black cartridge an HP or a reman/refill? 
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Crashes intermittantly ( every other print ) when printing PDF forms

    using a mac osx lion running firefox 10.0.2 and adobe reader pre release 11.0.0 when printing these pdf forms for real estate industry fire fox will intermitantly crash. this happens to all users running adobe 9.x.x - 10.0.1 i have run thourgh firefoxes tests to no avail. any other suiggestions.
    updated plug ins
    checked for osx lion updates
    updated firefox
    staretd in safe mode
    tested in adobe 9 - 11
    tested on PC no issues
    only firefox for mac

    OK
    I debugged further I solved my issue.
    I found that the system crashed when it was reading an include text on the context. The include text was missing on the test case that whent wrong. So I whent to the context and ticked the flag "no error if no text exist" on the include text. Then I got no error and my PDF printed.
    So, I don't think the issue Oscar is having comes from the printer or the RFC connexion. Just check the include texts you are using on the context and mark the "no error..." flag.
    David

  • Session gets lost when proxied through a server

    Hi,
    Did anyone come accross loosing session valued when proxied by a server.
    Does anyone have some work around for that?
    Please let me know.
    Thanks,
    Kavitha

    If you use a JSP to generate your form, the following is possible.
              <FORM METHOD="POST" ACTION="<%= response.encodeURL("someurl")%>">
              -brian
              Mike Williams wrote:
              > >>> On Mon, 27 Mar 2000 10:08:30 -0600,
              > >>> "Jim" == "Jim Clark" <[email protected]> wrote:
              >
              > Jim> Try using URL rewriting when the browser doesn't support cookies:
              > Jim> weblogic.httpd.session.URLRewriting.enable=true
              >
              > From the documentation, it seems that you still need to use encodeUrl().
              >
              > Curiously, the value of "weblogic.httpd.session.URLRewriting.enable"
              > doesn't seem to have any effect! However I set it, encodeUrl() still adds
              > a "WebLogicSession" parameter to the URL.
              >
              > Again, this helps with links, but I still lose my session when I use HTML
              > forms, as there seems to be no way to encode the session-ID in the request.
              >
              > Any ideas?
              >
              > --
              > cheers,
              > Mike Williams
              

  • Duplexing issue when printing

    We just switched to an HP printer and now we are having issues printing. We are working in InDesign CS5.5, on a Mac and when we try to duplex it prints the first page and then the second page prints separately and all black, almost like the connection is lost. We have uninstalled and reinstalled the driver and we are still having this issue. They are claiming its a program issue with InDesign as I can duplex from other programs. Has anyone had this issue before?

    Do you have an .eps file placed in your InDesign file? I've had issues with this in the past with our HP printer and duplexing. Re-save the .eps file as a .ai file and replace it in your Indesign document. That fixed the duplexing printing issue for me.
    Of course, if you DON'T have an .eps file in your document I don't know what else to try — other than what Peter suggested.

  • Why does IPhoto always crop pictures when printing?

    Whenever I print from iphoto the picture alway gets cropped automatically. Why does it do this and how can I stop it? This results in heads and feet often being cropped out of the printed photo which is frustrating. When I double click on a photo to view it full screen I can see the full photo however the actual print, regardless of print size chosen, ends up being cropped. I use an HP C7280 printer.

    Photos from a digital camera are in a size ratio of 4:3 which is not one of the standard print sizes. Therefore the photo must be cropped in order to fit the select print size. You should crop the photo yourself in iPhoto before printing so you get exactly what you want with no surprises.
    What iPhoto does is take the smaller dimension and scale it to fit that dimension in the print.  The larger dimension will obviously be larger than the print so it will be cropped to fit, usually on both ends.
    Bottom line: do the cropping yourself to get what you want.
    OT

  • Canon MF4150 won't print when connecting through AP Extreme

    I have a MacBook 2.16 about 2 weeks old. I've bought an Airport Extreme and am trying to connect my Canon MF4150 into it but whenever I print it just won't happen. The print queue just shows the jobs as "stopped" and I cannot restart them.
    The printer log shows the following error
    I [12/Nov/2007:13:49:41 +1000] [Job 4] Adding start banner page "none".
    I [12/Nov/2007:13:49:41 +1000] [Job 4] Adding job file of type application/pdf.
    I [12/Nov/2007:13:49:41 +1000] [Job 4] Queued on "CanonMF4100Series" by "john".
    I [12/Nov/2007:13:49:41 +1000] [Job 4] Started filter /System/Library/Printers/Libraries/PrintJobMgr/Contents/MacOS/PrintJobMgr (PID 1358)
    E [12/Nov/2007:13:49:41 +1000] PID 1358 (/System/Library/Printers/Libraries/PrintJobMgr/Contents/MacOS/PrintJobMgr) stopped with status 144!
    I [12/Nov/2007:13:49:41 +1000] Hint: Try setting the LogLevel to "debug" to find out more.
    E [12/Nov/2007:13:49:41 +1000] [Job 4] Job stopped due to filter errors.
    The one other user on the network is using Vista and is printing fine to the printer. I'm using print driver 1.5 from the Canon website.
    Any thoughts or help you can give would be appreciated.

    You won't be able to get this combination working. There is something about the Canon UFR2 driver that doesn't 'see' the AEBS USB connected printer. Have a read of my posting on the Airport forum.
    http://discussions.apple.com/thread.jspa?threadID=1057102&tstart=30

  • Some text not printing when printing from FM8 to Pdf

    We have recently upgraded to Acrobat 9 and now have problems with some Helvetica text not showing up in the pdfs.  If we change the text to Arial it prints.  Changing/substituting Arial for Helvetica is not an option since these files are structure using modules built by a 3rd party.  This is obviously an issue with Framemaker8 and Acrobat 9 so my hopes are that someone else has had this issue and has a fix.

    Thanks Art. Sorry, I looked through the forum and didn't see any Q&A on missing text in Pdfs.  We are on Windows XP working files from our desktop and our server.  Our normal method of producing pdfs is through File>Print using our minor customized pdf settings for screen viewing and hires printing (we've used these settings for years).  Since our upgrade to Acrobat 9 we are now using Distiller 9.2.0.124.  I've also found out since I first posted my question that we are not on the latest version of Framemaker8.  I will run the updates to get us to the latest version of 8 and see if that fixes what seems to be an incompatiblity issue between FM8 and Acrobat 9.  I say that because this problem started when we upgraded to Acrobat 9.  If that doesn't fix the problem, I'll get back to you to find out more about the Microsoft printer Hotfix.  Unless you know for a fact that FM8 is not compatible with Distiller 9.2.0.124, in that case we'll need to upgrade to FM9.

Maybe you are looking for

  • Expanding the drives into a raid 5 array?

    I am going to purchase a powermac soon, but I want to understand raid arrays a bit better. I am an HD video editor, and am getting into large files sizes...Red, XDCam, 2K etc. I can buy any 4TB raid array with a card, or I read that I can add 3 extra

  • Ipod disabled try again in 23257422 minutes message. how do i now use my ipod touch

    I have got the message "ipod disabled try again in 23...... minutes. Is there a fix for this

  • Vendor invoice posting

    Hi All, While posting the invoice through the transaction F-43(Direct posting) if the reference number is matching with the previous document (i.e. already posted) then it is not allowing me to post another document by throwing error message. Now my

  • Error while working in NetWeaver studio

    Hi all,           While working in NetWeaver studio i am getting the following error. "A SWT error has occured" It is recommended to exit the workbench Subsequent errors may happen and may terminate the workbench with out warning See error log for mo

  • What is correct method to deploy cluster aware technology using HA VMs?

    Dear all,  I recently had experience creating Hyper-V Server 2012 cluster. This allows for deploying a highly available virtual machine. That's fine. The business machine (virtual machine) becomes highly available. This includes an existing VM enable