Can not print more than 32767 pages

Post Author: JVega
CA Forum: .NET
We have develop an application using vb.net 2005 using Crystal Reports for .Net that is used to print returns with very large amount of pages. For some reason when the program generates a report with more that 32767 pages it displays ok in the ReportViewer but whe you try to print all the pages it just sends an error. I try using the PrintToPrinter method of the ReportDocument and it does the same thing, once I specify in the parameters to print a page greater than 32767 it just does not do it.
I don't know if it has to do with the fact that a small integer or Short data type (int16) has a max value of 32767, but the specifications of the paramaters of the function PrintToPrinter are set as Integer not as Short...Help please!!!

what do you mean by "stops to cool"?
Are you referring to energy saving mode?
Although I am working on behalf of HP, I am speaking for myself and not for HP.
Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
Happy Troubleshooting : )

Similar Messages

  • Re: Can't print more than one page of a PDF

    I have Acrobat and Reader 9.3.3. With either program I can't print more than 1 page of any PDF despite changing settings. What will fix this problem? Thanks in advance for your help.

    Adobe strongly recommends that you should NOT have Acrobat and Reader installed on the same system. They have the bad habit on stepping on each other's files. You do not need both programs to read PDF files.
    You should uninstall Reader and repair Acrobat. I also recommend that you restart after removing Reader and after repairing Acrobat.
    Good luck.
    Ken Friedman

  • P1006 - networked with XP and VIsta-64 not printing more than 2 pages

    Hello - I have a dilemma with my HP P1006.  I have the printer directly plugged in (USB) with my XP (32bit) PC.  I have a Vista-64 PC networked with it.  Both (XP-32 and Vista-64) are plugged in directly to the router (not wireless).  My question is why can I not print more than two pages at a time with items opened on the Vista-64 PC?  I CAN print more than two pages with items opened in the XP-32.
    Things I've done:
    1 - uninstalled everything & reinstalled the latest drivers for the XP-32.
    2 - marked the printer as "sharing" on the XP-32.
    3 - confirmed the printer is marked "enable bidirectional sharing" under the printer properties on the XP-32 PC.
    Things I perplexed about:
    1 - why won't items (docs, webpages, etc.) print more than two pages at a time from the Vista-64 PC?
    2 - is there any reason that I should download a driver for the Vista-64 OS? If so, which PC do I download it to?
    3 - I have another printer (Lexmark inkjet) connected in the same way (except it is a serial port not USB) and it can print more than two pages of a document at one time with no problem from either the XP-32 or Vista-64 PC?  Why?
    Any thoughts on this situation?  Any suggestions are greatly appreciate.
    Thank you - Jane.

    Hi!
    I just get a system message at teh bottom of teh screen saying "output cannot be issued " and it remains on teh same screen . I goto t-code va23 and enter my quotation number and on the top I select sales document ...issue output and select my output type and print preview or prnit , it comes out of that screen into the first screen and at the bottom gives msg "Output cannot be issued". I beleiev its not allowing the smartform to display when there are more than 2 pages , because I tried it with a contact which has 2 pages and it shows output but when I try with the one having more items i.e more than 2 pages it comes out of it . Its a smartform issue and something in the smartform is causing problem I beleive.
    Thanks

  • Adobe Reader does not print more than 5 pages Toshiba E-Studio 232 in Windows 7

    Adobe Reader does not print more than 5 pages Toshiba E-Studio 232 in Windows 7.
    I contacted Microsoft representatives said the problem is the Acrobat Reader once all other applications print without problems.
    Please help me!

    We have the same problem with our TOSHIBA e-STUDIO6540C. We've tried different versions of adobe reader, even acrobat and many times it will only print some pages of any given document. Did you find a solution? To me it sounds like a toshiba issue but just wondering.

  • K5400 will not print more than one page at a time.

    The K5400 Office Jet Pro will not print more than one at a time when I change the number of pages to print in Printing Preferences.  I have downloaded all the updates available and have tried many times.
    Using a Windows XP SP3 computer.
    Thank you, Marion

    Hi,
    The HP Deskjet 1050 All In One can perform multiple copies at a time. To perform a multiple copy, press the Copy Black or Copy Color button as many times as the copy is required. A maximum of 10 copies can be performed at a time.
    Please open the link below which illustrates the same.
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c02459739&tmp_task=prodinfoCategory&lc=en&dlc=en​...
    If the issue persists then, please perform the steps as shown below and check the copying function again.
    Steps to perform a reset.
    Press the Power button ( ) to turn off the product.
    NOTE: The product might not turn off after pressing the Power button. Continue to the next step regardless.  
    Disconnect the power cord from the rear of the product.
    Disconnect the power cord from the electrical outlet.
    Wait 30 seconds.
    Reconnect the power cord to the electrical outlet.
    Reconnect the power cord to the rear of the product.
    Press the Power button ( ) to turn on the product.
    Connect the unit directly to a wall outlet.
    Check the copying function now.
    I hope this resolves the issue, if the error persists then please get back to us.

  • I can not print more than page one of PDF file I have loaded with 2013 version Firefox; I am able to with IE. Vista Home Prem is my OS and I have a 64 bit Dell

    I have the most current version of MS Home Premium Vista. I run it on a 64 bit Dell Studio Laptop.
    I have just started suing Mozilla Firefox 2013 Beta version.
    I usually used Firefox vs IE as my browser and have my Yahoo email set as my home page.
    When I tried to print a a several page PDF file I was accessing using Firefox, all it it print previewed and ultimately printed was page one. This happened regardless of the PDF file (e.g. those on the IRS.gov website). When I switch over to Internet Explorer and try to read the same files, I have no problem.
    On 2012 versions of Firefox I had no PDF printing problem. I do think there is a bug in the latest version.

    Top left (Orange) Firefox button, Print, Print Preview. Does everything look correct? You may also click the icon that looks like a "DISK" to save, which allows you to save it to your computer and CTRL+P will allow you to print.

  • How can I print more than one page of an internet site?

    When I try to print pages from internet sites (Facebook, Merchant Circle, Linked In, NBC.com, etc.), Firefox will only print the first page.
    In order to print more information, it is necessary to reduce the scale of the print so more of the information will print on the first page.
    How can I print out more than just one page of a website without having to make the print so small that I cannot read it when it prints?

    Firefox has problems with some style rules.
    First, it's always helpful to use any print-formatted or print-optimized version of the page. Sometimes there is a link for this.
    Second, in some cases you need to use this trick: press Ctrl+a to select all content on the page, then Ctrl+p to display the print dialog, and click the radio button next to Selection.
    Those tricks don't always work, but hopefully they will help.

  • HP Photosmart 5520 printer not printing more than 4 pages at a time.

    Hi,
    I have just purchased this printer - stoked about the duplex printing to save of paper etc. . . .
    However it prints maximum of 4 pages (word, pdf etc) at a time.  Kind of pointless having a wireless printer where you have to sit by the printer anyway & have to reprint a document about a million time.  And then sometimes it will print up to page 3 only,  so wasting paper.  Sometimes the printing stops mid page.
    I wont even begin to talk about how I have tried to print a photo,  3/4 of a 6*4 is the maximum that will print.
    Am kind of thinking its a waste of a $160.....NOT HAPPY.
    I have tried installing and reinstalling to no avail. . . what else can I try?

    Thanks for the advice,
    I read through the document and NOT COMFORTABLE not having virus scanning software installed on my computer.
    My two other printers work perfectly,  however,  lacking the wireless capability & duplexing and "printing from anywhere" I really want to move beyond them.
    The only step I hadn't preformed was a system restore,  which I will attempt now.  However how do I ensure I have up to date firmware?  I only have recently installed the printer using the website as recommended by the printer. . .
    I struggle to think of how the printer has capability to print from "anywhere"  it doesn't even tell you when connected that it fails at page x of x. . . . it just makes you think the whole thing is printed until you find on the printer it hasn't.
    Sigh!

  • [SOLVED] Report Repeating Frame Will Not Print More Than One Page of Data

    I have a layout which contains only 1 repeating frame, and is not contained in any other frames. The query that the group of this frame is based on returns 414 rows. The report is a character based report of 180x66. All of the fields in the repeating frame are all in a straight line on a single row.
    No matter what I do, the report ends at the bottom of the first page. If I put the frame at row 30, only 36 rows are printed. If I put the frame on the first row, it stops at 66. No mater what I do, it will not continue on the next page.
    Any ideas on what could be the problem here?
    Thanks,
    Kurz
    Edited by: Kurzweil4 on Oct 13, 2008 3:35 PM
    Print condition was set to All. Changing it to First solved the problem.

    Make sure the repeating frame is variable vertically and that all the frames that it encloses are variable.

  • HP C7280 LaserJet wont print more than 2 pages!!

    HP Laserjet Photosmart C7280 AllInOne will not print more than 2 pages when I ask for more!!  Use Win7HomePrem, just upgraded to new laptop, drivers are all up-to-date, wireless setup fine.  What Is The FiX???  Worked fine on old XP desktop.

    The printer acts as it has finished the job (plays it's happy song).  I am trying to print a summary of my Amazon ebook orders,  @ 14 pages, double sided onto 7 pieces of paper total.   Print preview will only show 2 pages total but only with print on 3 pages (barely any print on 3rd page) and it ends the page as if it is end of doc with Amazon's footer info on last page printed.  No error codes from printer.  Only in print preview if I try to tell it to print "page 1 to14" it will tell me it can't do, comes up in red print. 

  • Can you print more than one photo on a sngle page in iPhoto, as you can in Picasa?

    iPhoto printing--
    Can you print more than one photo on a single page in iPhoto, as you can in Picasa? Terrible waste of paper and time to do it one at a time!  I 've been away from Macs for several years ( I know, shame on me) but I thought I remembered more printing flexibility.  Help, anyone?

    Yes - select the photos and print - select the print size and paper size (be sure they will fit with some small borders) and click customize - in settings select multiple photos per page (the preview will reflect this selection) and print
    LN

  • SMARTFORM: how to create 3 copy (each copy can print more than one page)

    SMARTFORM: how to create 3 copy (each copy can print more than one page)
    Hello everyone.
    my user want to have form that print 3 copy.
    such as 1 copy description = master,  2 copy description = copy 1 ,3 copy description = copy 2.
    so i create 3 page . I copy from page 1.
    and in each page there is main window which can have data more than 1 page.(such as have a lot of sale data ,it's take 2 page for show output .so it's take 2 page in each copy)
    please help me.
    how to set page and window in each page for print 3 copy and each page can have main window that print more than 1 page

    Hello Vinit.
    thank you very much for your help.
    could you help me more please.
    in below code
      DO NAST_ANZAL TIMES.
    l_counter = l_counter + 1.  " << pass this to FM and use for the TEXT to print
    CALL FUNCTION LF_FM_NAME
               EXPORTING
                         COUNTER = l_COUNTER   " USE this to derive the text into PRINTOUT
    enddo.
    Now i out of office .so i cannot test.
    where do i set NAST_ANZAL for 3 ?
    can i input ?
    NAST_ANZAL = 3.
      DO NAST_ANZAL TIMES.
    l_counter = l_counter + 1.  " << pass this to FM and use for the TEXT to print
    CALL FUNCTION LF_FM_NAME
               EXPORTING
                         COUNTER = l_COUNTER   " USE this to derive the text into PRINTOUT
    enddo.
    Edited by: dittaporn nanasilp on Mar 12, 2011 3:33 PM

  • Hp 1050 will not print more than one copy at a time

    hp 1050 will not print more than one copy at a time

    Hi,
    The HP Deskjet 1050 All In One can perform multiple copies at a time. To perform a multiple copy, press the Copy Black or Copy Color button as many times as the copy is required. A maximum of 10 copies can be performed at a time.
    Please open the link below which illustrates the same.
    http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c02459739&tmp_task=prodinfoCategory&lc=en&dlc=en​...
    If the issue persists then, please perform the steps as shown below and check the copying function again.
    Steps to perform a reset.
    Press the Power button ( ) to turn off the product.
    NOTE: The product might not turn off after pressing the Power button. Continue to the next step regardless.  
    Disconnect the power cord from the rear of the product.
    Disconnect the power cord from the electrical outlet.
    Wait 30 seconds.
    Reconnect the power cord to the electrical outlet.
    Reconnect the power cord to the rear of the product.
    Press the Power button ( ) to turn on the product.
    Connect the unit directly to a wall outlet.
    Check the copying function now.
    I hope this resolves the issue, if the error persists then please get back to us.

  • Problem with printing more than one page (ghostscript broken?)

    Hello,
    since one of the last package updates I have problems with printing more than one page. The print problems occurs as well with pdf files as well with printing websites. I use an actual KDE system with commercial turboprint printer driver. The first page always prints fine, but all consecutive pages are corrupted.  As from a similar problem some months ago, I assume a broken ghostscript package. I tried to downgrade ghostscript to check that, but I get depency problems:
    root@arch32 dieter]# ls -l /var/cache/pacman/pkg/ghostscript-*
    -rw-r--r-- 1 root root  9906288 21. Mär 2010  /var/cache/pacman/pkg/ghostscript-8.71-3-i686.pkg.tar.xz
    -rw-r--r-- 1 root root 11402624  8. Okt 22:44 /var/cache/pacman/pkg/ghostscript-9.00-1-i686.pkg.tar.xz
    [root@arch32 dieter]# pacman -U /var/cache/pacman/pkg/ghostscript-8.71-3-i686.pkg.tar.xz
    Löse Abhängigkeiten auf...
    Suche nach Zwischen-Konflikten...
    Fehler: Konnte den Vorgang (Kann Abhängigkeiten nicht erfüllen) nicht vorbereiten
    :: libspectre: benötigt ghostscript>=9.00
    [root@arch32 dieter]#
    Anyone else having printing problems or a solution for my problem?
    Thanks, Dieter

    This may not be related but I had a problem printing a pdf today whereby the second page got corrupted. The same pdf had printed fine several months ago. I realised that (long story) for some reason I had switched drivers (HP printer) from hpijs to hpcups. I installed the printer again as a "new" printer using the hpijs driver and it printed properly this time.
    So it may be that the bug causes issues with some drivers. You could try an alternative driver for the printer as temporary workaround?

  • Can't print more than 75 reports... Load report failed

    Hi,
    I have a problem: I can't print more than 75 reports without restarting my application.
    I'm using VB, Visual Studio 2005 and Crystal Reports Developer XI Release 2.
    It's a windows application.
    In the following examples I'm exporting to pdf but the same hapens if I put it on a viewer.
    I tried to do some tests to find out the problem. I don't have a solution yet
    Test 1:
    I made a cycle printing 100 times the same report. I used the code from an example that was in the BusinessObjects website and just put it into a cycle. At 75 I get the error "Load Report Failed"
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
    Dim ExportFolder As String = Application.StartupPath + "\export"
    If Not IO.Directory.Exists(ExportFolder) Then
    IO.Directory.CreateDirectory(ExportFolder)
    End If
    For i As Integer = 1 To 100
    Dim crReportDocument As ReportDocument
    Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
    ''The path/location where the exported file will be saved
    Dim exportFilePath As String = ExportFolder + "\exported" & i & ".pdf"
    ''Create an instance of the Chart report
    crReportDocument = New Chart()
    ''Set the options for saving the exported file to disk
    crDiskFileDestinationOptions = New DiskFileDestinationOptions()
    crDiskFileDestinationOptions.DiskFileName = exportFilePath
    crReportDocument.ExportOptions.DestinationOptions = crDiskFileDestinationOptions
    crReportDocument.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
    crReportDocument.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
    ''Export the report
    crReportDocument.Export()
    Next
    Test 2:
    I try to insert a "crReportDocument.Dispose() after the Export. It takes more than 1 minute doing the dispose and lots of time processing the 2nd report (more than 2 minutes)
    Dim ExportFolder As String = Application.StartupPath + "\export"
    If Not IO.Directory.Exists(ExportFolder) Then
    IO.Directory.CreateDirectory(ExportFolder)
    End If
    For i As Integer = 1 To 100
    Dim crReportDocument As ReportDocument
    Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
    ''The path/location where the exported file will be saved
    Dim exportFilePath As String = ExportFolder + "\exported" & i & ".pdf"
    ''Create an instance of the Chart report
    crReportDocument = New Chart()
    ''Set the options for saving the exported file to disk
    crDiskFileDestinationOptions = New DiskFileDestinationOptions()
    crDiskFileDestinationOptions.DiskFileName = exportFilePath
    crReportDocument.ExportOptions.DestinationOptions = crDiskFileDestinationOptions
    crReportDocument.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
    crReportDocument.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
    ''Export the report
    crReportDocument.Export()
    ' Dispose
    crReportDocument.Dispose()
    Next
    Test 3
    Same as Test3 but with ReportDocument.Close() before the dispose.
    Still doesn't work, Close takes too long, just like Dispose...
    Test 4
    I tried using a global variable with the ReportDocument.
    Instead of creating new instances of the ReportDocument, I keep using the same.
    It works fine if I use always the same report file, but if I try to print 2 different reports the 2nd returns the error "Load Report Failed" and takes too long loading before the error.
    Well, I made some researches on internet and I foud this, but still doesn't work with me, because Dispose always takes too long... 
    http://www.arquitecturadesoftware.org/blogs/hugobatista/archive/2006/02/22/236.aspx
    http://www.arquitecturadesoftware.org/blogs/hugobatista/archive/2006/05/23/328.aspx
    http://www.arquitecturadesoftware.org/blogs/hugobatista/archive/2007/04/05/CrystalReportsMemoryLeakFixByJerryCote.aspx
    Can anybody help?
    Thanks
    Isabel
    Edited by: Isabel Cabral on Aug 12, 2008 8:12 PM

    Already tried that, then I get another problem...
    After exporting the first report, takes 1 or 2 minutes doing the Close and the Dispose, and after that it takes too long trying to load the next report (after 1 hour I give up!).
    This is the code I'm using to do the tests:
            'Create the export folder
            Dim ExportFolder As String = Application.StartupPath + "\export"
            If Not IO.Directory.Exists(ExportFolder) Then
                IO.Directory.CreateDirectory(ExportFolder)
            End If
            For i As Integer = 1 To 100
                Dim crReportDocument As ReportDocument
                Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
                ''The path/location where the exported file will be saved
                Dim exportFilePath As String = ExportFolder + "\exported" & i & ".pdf"
                ''Create an instance of the Chart report
                crReportDocument = New Chart()
                ''Set the options for saving the exported file to disk
                crDiskFileDestinationOptions = New DiskFileDestinationOptions()
                crDiskFileDestinationOptions.DiskFileName = exportFilePath
                crReportDocument.ExportOptions.DestinationOptions = crDiskFileDestinationOptions
                crReportDocument.ExportOptions.ExportDestinationType = ExportDestinationType.DiskFile
                crReportDocument.ExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat
                ''Export the report
                crReportDocument.Export()
                'Close and dispose
                crReportDocument.Close()
                crReportDocument.Dispose()
            Next
    Thanks,
    Isabel

Maybe you are looking for

  • Suprised at lack of service from Apple!

    When I logged onto this form I thought my problem would be addressed. But this is not the case. Where is Apple? I am surprised and dismayed that there is no response from Apple. Is this the norm? Does Apple not help out here? My issue is this error m

  • Calling Methods

    Hi All, Can anybody pls tell me how to call a method built using class builder.. se24.. in a program ? Like how we goto 'edit - > pattern - > and give the function module name in that' to call a fn module.... Waiting for the reply.. Thanks in advance

  • How to link an existing class in my Java project ?

    Hy, I am using 2 classes of a package that contain a lot of classes. I only use 2 of them, and I would like to know how to do to make those 2 classes available in my jar file (my project compiled in a jar file). I am now using the following line : im

  • The attachment popup file-listing does not show recent files!! (as if you make a cache and don't update it)

    If I try to attach an old file IN THE DIRECTORY I DID MY LAST ATTACH FROM when using Firefox on my PC, everything is ok. BUT if I try to attach a NEW file IN THE DIRECTORY I DID MY LAST ATTACH FROM when using Firefox on my PC, the file usually is NOT

  • OS 4.5 Documents to Go update to 1.0050 OTA fails

    Yesterday, I upgraded to OS 4.5 and all seems well.  I am trying to obtain the update for Documents to Go to version 1.0050 which will allow the functionality for Excel spreadsheets.  I went to Data Viz and requested the update and a link was sent to