Default printer was not valid, switching to 'GetUnPrinter'

I recently deployed my web application to Red-Hat Linux and I'm receiving the following error:  "Default printer was not valid, switching to 'GetUnPrinter'."
I pinpointed the line of code throwing the exception, which is:  ReportClientDocument reportClientDoc = new ReportClientDocument();
I designed the report using CR4E.  The exception isn't thrown on my local XP machine.  I saw another forum topic with a similar issue (http://diamond.businessobjects.com/node/1245), but it wasn't helpful.  Does anyone have any suggestions?
Thanks,
Kevin

You'll see similar error messages when you open a file in the Crystal Report Designer client application, and not just with the Crystal Report for Eclipse designer or the JRC.
The JRC uses the Java Print Service to retrieve printer information - this ensures that the fine placement of fonts and graphical objects are consistent across platforms. 
If you specify a specific printer against which the rpt is to be designed, then it will look for the very same printer at runtime.  If that printer is not available, then it will try using the default printer for the machine.  If there is no default printer, then it will load a very simple dummy printer model - the UnPrinter.
The exception message is that - it's an explicit warning that the formatting of the report may differ from design time.
What CUPS and default printer installation does on your Unix machine is expose a default printer to the Java JVM Print Service.
Sincerely,
Ted Ueda

Similar Messages

  • "Default printer was not valid" bug

    <p>I&#39;m having a problem running certain reports on Redhat Linux.  The error I&#39;m getting is:</p><p> [ERROR] [eq] [Default printer was not valid, switching to &#39;GetUnPrinter&#39;.]  When this happens, no report is produced.  Any ideas what might be causing this?  It doesn&#39;t happen when running on windows XP.</p><p> </p><p>Thanks in advance,</p><p>Don Nelson </p>

    <p>Which designer are you using to create the reports? In the non-Eclipse designer we use the Printer Driver to determine font characteristics (e.g. width, height, etc.). This printer driver information is generally saved with the report, however users can select the option to turn this off. </p><p>In Crystal Reports for Eclipse I don&#39;t believe that we are using the printer drivers anymore so you shouldn&#39;t be seeing this error.  </p><p>If you are not using CR4E to design your reports then I would suggest selecting the "No Printer" option on the Printer Settings in the Report Designer for this report. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <strong><a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a></strong>          </p>

  • Report printer was not valid, switching to default printer.

    We are using a Crystal Report viewer in Tomcat. Everything works but sometimes in the Tomcat log we get the following error:
    ERROR com.crystaldecisions.reports.reportdefinition.ReportDefinition - Report printer was not valid, switching to default printer.
    Is there a way to stop this error from being reported? If not, is it safe to ignore since everything appears to be working fine?

    Generally safe to ignore, unless of course you want to print to that printer
    Just means report was designed connected to specific printer which is not available where you are now publishing report. YOu could try going into printer set up and selecting No Printer.
    Ian

  • HT4009 My account was not valid for use in the U.S. store, I need to switch to the malaysian store before purchase. How to switch it?

    My account was not valid for use in the U.S. store. I need to switch it to the malaysian store before purchase. How to setting it?

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311

  • The Edit Reconciliation Policy action was not valid

    I�m trying to �Edit Reconciliation Policy� in IDM 7.1 from Resources -> List Resources and the drop down menu �Resource Type Actions� but It is giving error message *�The 'Edit Reconciliation Policy' action was not valid for one or more of the selections.�* as I select �Edit Reconciliation Policy�. I can edit �Default Reconciliation Policy� but not resource specific. I tried looking in trace logs also but couldn�t get any help.
    Can someone help me in this?
    Thanks,
    SID

    I had the same error. When you are trying to Edit Reconciliation Policy for a Resource Type, then you would select it from under the Resource Type Actions. If you select a specific Resource, then you need to select Edit Reconciliation Policy from the Resource Actions (not Resource TYPE Actions). Hope that helps!

  • Flat file connection: The file name "\server\share\path\file.txt" specified in the connection was not valid

    I'm trying to execute a SSIS package via SQL agent with a flat file source - however it fails with Code: 0xC001401E The file name "\server\share\path\file.txt" specified in the connection was not valid.
    It appears that the problem is with the rights of the user that's running the package (it's a proxy account). If I use a higher-privelege account (domain admin) to run the package it completes successfully. But this is not a long-term solution, and I can't
    see a reason why the user doesn't have rights to the file. The effective permissions of the file and parent folder both give the user full control. The user has full control over the share as well. The user can access the file (copy, etc) outside the SSIS
    package.
    Running the package manually via DTExec gives me the same error - I've tried 32 and 64bit versions with the same result. But running as a domain admin works correctly every time.
    I feel like I've been beating my head against a brick wall on this one... Is there some sort of magic permissions, file or otherwise, that are required to use a flat file target in an SSIS package?

    Hi Rossco150,
    I have tried to reproduce the issue in my test environment (Windows Server 2012 R2 + SQL Server 2008 R2), however, everything goes well with the permission settings as you mentioned. In my test, the permissions of the folders are set as follows:
    \\ServerName\Temp  --- Read
    \\ServerName\Temp\Source  --- No access
    \\ServerName\Temp\Source\Flat Files --- Full control
    I suspect that your permission settings on the folders are not absolutely as you said above. Could you double check the permission settings on each level of the folder hierarchy? In addition, check the “Execute as user” information from job history to make
    sure the job was running in the proxy security context indeed. Which version of SSIS are you using? If possible, I suggest that you install the latest Service Pack for you SQL Server or even install the latest CU patch. 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • In Elements 13, when trying to save, I get this message:Could not save a copy as "agb3_2014:09_054.tif" because the file name was not valid.

    Hi:
    I use Nikon NX2 then save as a TIFF file then do final editing in Elements.  With Elements 8, I could then save as a JPEG file and upload to Flickr.  With Elements 13, I get this message and cannot save:
    Could not save a copy as “agb3_2014:09_054.tif” because the file name was not valid.
    I note the colon (:) in the file name.  I did not place it there.  It is some automatic save.  Typically I save as 2014/09
    It is probably some setting I need to adjust but I am stumped.  All help is welcome.
    Thanks
    Al
    Message was edited by: Albert Butzer

    Don't use the slash, either. Stick to no punctuation except dashes and underscores for safety's sake. Other punctuation usually has another meaning in code.

  • Why do I get the mesasge, default printer is not compatible with this version of photoshop elements

    When I print from photoshop elements 13, I get the message, default printer is not compatible with this version of photoshop elements

    Hi ,
    Please update to PSE 13.1
    13.1 has solved this problem.
    Refer to this link.
    Photoshop Elements Help | Printer errors with Photoshop Elements 13

  • The setting ExternalProxy in the Web.Config file was not valid.

    Since installing Exchange 2010 SP1 (Upgrade from RTM) I get this in the event viewer.
    The setting ExternalProxy in the Web.Config file was not valid. The previous value was null and has been changed to .
    Any ideas what to check?

    I'm also getting a number of these errors on Exchange 2010 SP1 RU1, the settings that I get notified include (the values have been changed to a number of diferent values):
    ExternalProxy
    BootstrapMailDeliveryDelay
    MobileUpdateInformationURL
    BootstrapCABForWM61HostingURL
    FullServerVersion
    ADCacheMaxOrgCount
    ADCacheExpirationTimeout
    MaxDocumentDataSize
    MaxDocumentLibrarySearchResults
    MaxGALSearchResults
    BadItemEmailToText
    BadItemIncludeEmailToText
    BadItemIncludeStackTrace
    MaxClientSentBadItems
    MailboxSearchTimeoutNoContentIndexing
    MailboxSearchTimeout
    MaxMailboxSearchResults
    MaxRequestsQueued
    MaxWorkerThreadsPerProc
    MaxCollectionsToLog
    ProxyConnectionPoolConnectionLimit
    ProxyHandlerShortTimeout
    ProxyHandlerLongTimeout
    BackOffErrorWindow
    BackOffTimeOut
    BackOffThreshold
    ProxyVirtualDirectory
    BlockLegacyMailboxes
    BlockNewMailboxes
    SchemaValidate
    SchemaDirectory
    SyncLogDirectory
    SyncLogEnabled
    DisableCaching
    DeviceClassCacheADCleanupInterval
    DeviceClassPerOrgMaxADCount
    DeviceClassCachePerOrgRefreshInterval
    DeviceClassCacheMaxADUploadCount
    DeviceClassCacheMaxStartDelay
    MaxWindowSize
    MaxRetrievedItems
    EventQueuePollingInterval
    ADCacheRefreshInterval
    MaxSizeOfMailboxLog
    NumOfQueuedMailboxLogEntries
    MaxNumOfFolders
    Can these be resolved in a similar manner. Some additional information would be great (as sjoegarrett I can also ignore them, but would prefer if these could be eliminated).

  • Could not initialize photoshop, because the file name was not valid

    Hello,
    my friend (not very good with computers) asked me to fix his Photoshop 8, because "it just stopped working one day". When I try to run it, I see splash screen, initializing photoshop, something about TWAIN, and then:
    Could not initialize Photoshop, because the file name was not valid
    followed by crashing the Photoshop. I tried reinstalling Photoshop, resetting user preferences, even deleting all user settings from Documents and Settings folder, but nothing - I keep getting this error. I tried plugging in his camera, usb flash disks, because I thought Photoshop may created scratch file or something in there - but it didnt work.
    So I decided to install him my copy of Photoshop CS3, just to make sure its some bug in Photoshop 8, but I didnt believe my eyes - after installing, im getting the exact error again.
    And now Im completely lost - I was unable to google the error message, looks like Im the first person ever who happened to see it.
    His computer is about two years old, 2 GHz cpu, 512 MB RAM, some decent video card, 100 GB space left on disks, operating system is Win XP SP2.
    I would really appreciate any help, thank you in advance
    Peter

    >Yes, many times.
    :) never hurts to ask!
    also have you tried creating a new user with admin rights to see if it's an id issue? (sorry, there's several similar theads going on and i sometimes forget what i've read where.) there was just a guy yesterday that solved a similar problem by creating a new id. we could never tell what the problem was with the old one...

  • One asset was not validated successfully in iBook because it had problems stated below. Could some one rectify the error.

    One asset was not validated successfully in iBook because it had problems stated below. Could some one rectify the error.
    at com.apple.itunes.epubtoolkit.model.OPFDocument.getManifestItem(Unknown Source)
    at com.apple.itunes.epubtoolkit.model.EPUBModel.isCoverOnlyLinearSpineItem(Unknown Source)
    at com.apple.jingle.leghorn.epub.EPUBDescriber.checkForCoverOnlyLinearSpineItem(Un known Source)
    at com.apple.jingle.leghorn.epub.EPUBDescriber.describe(Unknown Source)
    at com.apple.jingle.leghorn.fileformat.Verifier.describe(Unknown Source)
    at com.apple.jingle.leghorn.fileformat.Verifier.describe(Unknown Source)
    at com.apple.transporter.util.LeghornUtil.describeAsset(LeghornUtil.java:68)
    at com.apple.transporter.operation.ValidateRawAssets.execute(ValidateRawAssets.jav a:93)
    at com.apple.transporter.Application.begin(Application.java:139)
    at com.apple.transporter.osgi.TransporterService.run(TransporterService.java:61)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.apple.transporter.osgi.OSGiBootstrapper.runTransporter(OSGiBootstrapper.jav a:453)
    at com.apple.transporter.osgi.OSGiBootstrapper.bootstrap(OSGiBootstrapper.java:241 )
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.apple.transporter.FrameworkLoader.start(FrameworkLoader.java:143)
    at com.apple.transporter.Application.main(Application.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FilenameUtils not found by com.apple.jingle.leghorn [2]
    at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImp l.java:787)
    at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
    at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.ja va:1768)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 27 more
    ERROR ITMS-9000: java.lang.NoClassDefFoundError: org/apache/commons/io/FilenameUtils

    One asset was not validated successfully in iBook because it had problems stated below. Could some one rectify the error.
    at com.apple.itunes.epubtoolkit.model.OPFDocument.getManifestItem(Unknown Source)
    at com.apple.itunes.epubtoolkit.model.EPUBModel.isCoverOnlyLinearSpineItem(Unknown Source)
    at com.apple.jingle.leghorn.epub.EPUBDescriber.checkForCoverOnlyLinearSpineItem(Un known Source)
    at com.apple.jingle.leghorn.epub.EPUBDescriber.describe(Unknown Source)
    at com.apple.jingle.leghorn.fileformat.Verifier.describe(Unknown Source)
    at com.apple.jingle.leghorn.fileformat.Verifier.describe(Unknown Source)
    at com.apple.transporter.util.LeghornUtil.describeAsset(LeghornUtil.java:68)
    at com.apple.transporter.operation.ValidateRawAssets.execute(ValidateRawAssets.jav a:93)
    at com.apple.transporter.Application.begin(Application.java:139)
    at com.apple.transporter.osgi.TransporterService.run(TransporterService.java:61)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.apple.transporter.osgi.OSGiBootstrapper.runTransporter(OSGiBootstrapper.jav a:453)
    at com.apple.transporter.osgi.OSGiBootstrapper.bootstrap(OSGiBootstrapper.java:241 )
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.apple.transporter.FrameworkLoader.start(FrameworkLoader.java:143)
    at com.apple.transporter.Application.main(Application.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.webobjects._bootstrap.WOBootstrap.main(WOBootstrap.java:71)
    Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FilenameUtils not found by com.apple.jingle.leghorn [2]
    at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImp l.java:787)
    at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
    at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.ja va:1768)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    ... 27 more
    ERROR ITMS-9000: java.lang.NoClassDefFoundError: org/apache/commons/io/FilenameUtils

  • Photoshop elements 13 will not print to my new epson wf-7620 error message;default printer could not be opened

    frustrated! photoshop elements 13 will not print to my new epson wf-7620 error message;default printer could not be opened

    I haven't been able to try this fix, but someone emailed me the below fix:
    I had same problem.Elements13 would not open my new default printer, but worked ok on four other versions of Elements. No help from Adobe, after three days of searching & phoning adobe , I found out by:- Going into Elements 13, Press Edit button, down to "Preferences and across to general. Press the "Reset Preferences on next launch". I then suggest you go through each section to make sure that your chosen preference are still ticked/checked in.
    It worked for me. Hope same for you.
    I'm planning on trying this fix soon.  Let me know how it goes for you if you get to try it before me.  Will do the same.  Thanks,
    Chad

  • "Could not complete the image size command because the file name was not valid"

    Hello,
    Some one please help me,when i try to resize psd file its showing this message ...whats the issue ???
    "Could not complete the image size command because the file name was not valid"
    Thanks !

    Can you change other images via Image > Image Size?
    Boilerplate-text:
    Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by pressing command-alt-shift/ctrl-alt-shift while starting Photoshop until the appropriate dialog appears after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)

  • PSE13: cannot print. Default printer could not be opened.

    I can't print in Photoshop Elements 13. This error comes up every time, "Because the default printer could not be opened". I worked the day before and now is not printing and saying this.

    duplicate post, see:
    Printing Error "Because the default printer could not be opened".

  • I put my credit card information into my iPod and a few weeks later it said my credit card was not valid

    Alright, I put my credit card information into my iPod and a few weeks later my iPod. My iPod said my credit card was not valid and I am not able to download or update apps

    If you know the payment method is valid then all you can do is contact iTunes:
    Apple - Support - iTunes - Contact Us

Maybe you are looking for

  • EPSON Workforce 310 "scanner reported an error" when using document feeder

    I'm having trouble using my EPSON Workforce 310 printer/scanner with my new MacBook Pro (late 2012, 2.5 GHz i5, OS X Mountain Lion 10.8.2). Using the flatbed I can scan without a problem. But when I try to use the document feeder, I get the following

  • New to sun/unix need some help getting my solaris express developers workin

    well it installed, detected my dvd but during the install process I was not asked any networking questions. I figured perhaps it meant I had to configure that after the fact but alas it says the network admin can't configure the network because the n

  • Indexing Problem with FILE_DATASTORE and .pdf files

    Hello all, Do any of you have an example showing how to index .pdf files through FILE_DATASTORE? I am able to successfully index text and .doc files but not a .pdf file. Below is the script that I use to index my files: create index myindex on mytabl

  • GoldenGate Confusions

    Hi all, I have checked installers of GodelGate both in OTN and E-delivery. I am just confused. There is separate GG for windows and there is also serapate GG for sqlserver? are they the same thing? Similarly, there is GG for linux and there is separa

  • QT videos from XP Pro don't work in Vista

    Videos were originally recorded as .wmv's on an XP Pro machine. Somehow Quicktime became the default, and everything switched over. Now nothing plays, a black screen comes up, and a message that says that "Additional software may be required. It may