Missing Text in Print Output

When I print a PDF as hardcopy, individual letters are disappearing from the printed document, but are still present in the online view.  The letters that vanish are often the same letter, such as all the G's and g's.  Not in all cases, though.
I am using Reader X on WIn 7.  PDF was generated from Word 2010 using "Save as".  Can anyone help?

Did you use "Save As" or "Save As Adobe PDF" ?
Try the below steps:-
1. Create the PDF using PDF Maker plugin in word application and then print the PDF.
2. If you are using a postscript printer then in Print dialog click on Advanced and under "font and resource policy" set the dropdown value to "send for each page". Then try to print the document.
3. As a workaround you can use "print as image" option in the same advanced print setup dialog box.

Similar Messages

  • Pages 5.2 Table missing text when printed

    I created a document with several tables.  These tables contain algebra formulas with superscript.  I read in another forum that the issue may be the use of the superscript.  However their problem only occurred when printing the document as a PDF.  I am having the problem printing from both Pages and as a PDF.  Some superscript appears as it should.  Not all missing text is superscript.
    Any ideas?  I hate to have to recreate this document in Word.  I took me forever to create.
    Mavericks 10.9.3
    Pages 5.2

    Known limitation with Pages v5.2. If you had Pages ’09 installed before the upgrade downgrade to Pages v5.2, it was moved to /Applications/iWork ’09.
    You will need to export from Pages v5.2 as Pages ’09 in order to process your work in the older Pages version. You will also need to open the Pages ’09 document either through that Applications file chooser, or via the right-click, contextual menu Open with > Pages (4.3). Double-clicking with both Pages installed will default to using Pages v5.2.
    LibreOffice is a free alternative to MS Word, and works better with Mavericks than does OpenOffice.

  • Windows XP - Missing text when printing to Xerox Docucolor

    Currently printing Illustrator CS3 from a Windows XP to a CREO driver running a Xerox Ducucolor 240.
    Sent a document and discovered some of the text was missing. It was a label set up 2-up on the page and the missing text occurred in the upper label, but was not missing on the lower label.
    I went back to see if I had not duplicated all of the label and discovered that the document was complete.
    Without changing the document, I sent it again. This time it printed correctly.
    What could make the document lose some of the content?

    Something likely happened during the transmission of the job to the printer. It could be a fluke but if it happens again, you should check all your connections, condition of your wires and cables, and your power protection.
    Could also have been a blip with Illy and/or whatever other apps you had running at the same time; a slight conflict somewhere occurring at the exact wrong nanosecond.
    ETA:
    In other cases (though not in this one), it could be a font issue. Corrupt font, duplicate font on your system or with the printer. It could also be an issue with the Illy file itself; not exactly a bad idea to copy everything and place it in a new file.

  • HP Photosmart C5580 has missing text on printed page

    My printer stopped printing a couple of months ago, we kept getting a message about the print spooler. Finally I removed the printer from my computer and then reinstalled the newest driver from the website. The printer started working again..Now when I print a pdf document most of the text on the page is missing and yet it prints boxes and lines the text was in. Anyone have a suggestion?

    Ask the kobo people or delete and redownload the books.

  • Item text is not appearing in the print output through IDOC?

    Hello ,
    I am changing the PO through IDOC. When ever there is change in the quantity ,net price and delivery date  the print out put is generated autoamtically and changes are appearing the print output.
    when ever there is change in the item text of PO print output is not generatiing but item text is updated in the PO.
    If i change manually print out is generating for item text also but through IDOC print output is not generated . please help to slove this isuue.
    i am passing the value as :
        idoc_data-segnam = 'E1BPMEPOTEXT'.
        e1bpmepotext-po_item = Po line item number .
        e1bpmepotext-text_id = txtid.
        e1bpmepotext-text_form = textform.
        e1bpmepotext-text_line = line item text .
        idoc_data-sdata = e1bpmepotext.
        APPEND idoc_data.
        CLEAR idoc_data.
        CLEAR e1bpmepotext.
    please help me it is urgent
    Thanks
    Venkatesh

    Hi Venkatesh,
    Check the condition record in transaction NACE. Whether the print output field is present in the condition record.
    Regards,
    Gajendra.

  • Item text of PO print output is not generatiing but text is updated  in PO

    Hello ,
    I am changing the PO through IDOC. When ever there is change in the quantity ,net price and delivery date the print out put is generated autoamtically and changes are appearing the print output.
    when ever there is change in the item text of PO print output is not generatiing but item text is updated in the PO.
    If i change manually print out is generating for item text also but through IDOC print output is not generated . please help to slove this isuue.
    i am passing the value as :
    idoc_data-segnam = 'E1BPMEPOTEXT'.
    e1bpmepotext-po_item = Po line item number .
    e1bpmepotext-text_id = txtid.
    e1bpmepotext-text_form = textform.
    e1bpmepotext-text_line = line item text .
    idoc_data-sdata = e1bpmepotext.
    APPEND idoc_data.
    CLEAR idoc_data.
    CLEAR e1bpmepotext.
    please help me it is urgent
    Thanks
    Venkatesh

    Hi,
    For triggering the output for changes you have to make some changes.
    - Go to SM30
    - Enter view name "<b>VV_T161M_EF</b>".
    - Hit 'maintains' view.
    - Now let's say your outpu type is 'NEU'. For this there will be one entry like this.
    Operat.  Ctyp.  Name            Short text  Update
    1        NEU    Purchase order  New
    Now with this entry add one more entry like this.
    Operat.  Ctyp.  Name            Short text  Update
    2        NEU    Purchase order  Change      X
    You just need to enter Operat. = 2 and  Ctyp = NEU. The 'name' and 'short text' will come automatically.
    - Save your entry and create.
    After doing this, your PO will trigger output on change.
    Let me know if you have any other information.
    Regards,
    RS

  • Some text goes missing in the PDF output after I convert FM8 book

    Hi,
    I am using Framemaker 8.0, Acrobat 8.0 Professional, Acrobat Distiller 8.0.
    When I convert my Framemaker books to PDFs, some text (especially Table Heading tags) go missing in the PDF output. I have tried to change the font colour, change the cell shading, and many other options. But, the problem persists.
    I saw some similar links on the forums with this kind of problems. For example,
    http://support.microsoft.com/?id=952909
    http://forums.adobe.com/message/3285145
    http://forums.adobe.com/message/4167112
    http://helpx.adobe.com/framemaker/kb/troubleshoot-pdf-creation-problems-framemaker.html
    After going through these links from the forums, I realized that this is a known issue. But, the above links direct me to Microsoft patches and these patches are available only for Windows XP, Windows 2003 Server, and Windwos Vista operating systems. My operating system is Windows 7 Professional, 32-bit version.
    One more thing I want to say is we have never faced this problem earlier. It started appearing now.
    While I know that the world (many of us) moved on to Framemaker 9 and 10, I also know that there is someone out there to help me to overcome this issue.
    Thanks and regards,
    Raghavacharyulu NCB

    Hi Harpreet,
    Thanks for your response.
    We tried this option also. In fact, the Distiller shows this option by default. Secondly, we have recently updated our old template to reflect the new corporate styles and we suspect something went wrong there. We once again took the old template and updated with the new colour definitions and fonts, this time very carefully and it started working. Now, the text is not missing.
    So, the result is something is wrong with our template. Quite surprising is it is inconsistent and some places the text appears and some places it does not.
    Where do you work? Are you in India?
    Cheers,
    NCB Raghavacharyulu
    Mobile No. : 9845192336
    E-mail : [email protected]

  • When I click Buy Book this appears our book appears to have default text that has not been edited. Printed books will not include this text. Do you want to continue? will the text I have sellected still be ok or will the book have missing text help Pleas?

    I just spent 3 days creating a book [32 pages], with photos and text but when I click Buy Book In iPhoto this appears>
    Our book appears to have default text that has not been edited. Printed books will not include this text. Do you want to continue?
    My question is will the text I have sellected to use still be ok, am I safe to continue and buy or will the book have missing text ?
    The book is for special birtday in 2 weeks time  Please Help.G
    <Email Edited by Host>

    Yes, you're safe to continue.  That means that there are text boxes that you did not put any text into and they contain the holding text which will not be printed.  That text is shown in a light grayt and is in Latin.  Normally you can just put a space in the text box to replace the holding text so as not to get that warning message.
    Before ordering the book proof the book according to this Apple document: iPhoto, Aperture: Previewing an order in iPhoto or Aperture. Check the pdf file for any missing text or photos and any warning indicators in the text boxes indicating that some of the text has exceeded the space allotted in the text box.
    Keep the pdf file to compare with the printed copy when you reciive it.
    OT

  • Header text is not dispalying in english for billing document print output

    Hi All,
    I am working on script for billing document.
    I am maintain the header text for the document.I have enrted the header text in english text is not displaying in print output.If i maintain the text in french i am able to see the output.
    I am logging into the system with lanauage EN only.Can yo please let me know how can i displzy english text in my print output.

    Pass SY-LANGU as the value for input parameter LANGUAGE in FM READ_TEXT.
    Regards
    Vinod

  • Acrobat X Pro + Office 2010: missing text fields

    Win7/64
    Using the PDF printer
    Hi,
    very strange problem: simple TIF file (tried different bitmap formats) in a Word 2010 document (graphic before text) and a simple textfield -- not more.
    Printing as PDF (with various settings) -- but the text(field) is missing in the PDF output.
    Same behaviour in Acrobat Pro 9 and Office 2010.
    With Word 2003 I did not have such annoying problems...
    Can anybody help me? I'm trying and trying and ...
    Carlos

    Problem seems to occur more often: http://forums.adobe.com/thread/838524
    And I am having it too on Adobe Standard 9.4.4.
    Text in text box from Word 2010 is not output in PDF (even not hidden). The text box background is copied over in the PDF. Reproducible. And if I put multiple text boxes on each other, sometimes a few or parts of characters appear.
    I find Microsoft Save as PDF not an option, it has numerous worse bugs. Good to know that the problems also appears with Acrobat X. That save me an upgrade to test whether it has been solved by a newer release.

  • Missing Text when logged in chinese language

    Dear Experts,
    I have created a smartform to print barcode which will be triggered through a custom program.Everything is fine when logged in EN but when logged in chinese language one of the window text/information is missing in the layout.All the attributes/parameters of this window are normal and same like other windows.
    I debugged the smartform to see the language parameters being passed in the run time for this window and found everything is quite same with other windows but I really can't figure it out why this particular window text is missing.
    The text/info. printed through this window is a value that comes from the print program.
    I also tried the option translate into other language in the attributes but not really useful.
    Any help is greatly appreciated <offer removed by moderator>.
    Regards.
    Edited by: Thomas Zloch on Feb 23, 2012

    Hi,
    I am not sure , but if output and Font have no problem, then this can also be due to output device type used for smartform /  PDF printing.
    Check if output device type is different in EN and ZH in table TSFDEVTY.
    Regards,
    Ramya

  • HP LaserJet P1102W - no print output in Linux Mint 17.1 Cinnamon Desktop

    I've just done a default install of Linux Mint 17.1 - as feared, no print output.
    I'm guessing I need to install a driver - but I couldn't find anything easily on HP site, only Windows/Mac OS stuff. Are HP printers generally linux friendly? Where can I download drivers if they are? More over, I'm a total linux newbie, so any drivers need to be easily installed! I'm not currently familiar with Terminal windows and line commands!
    My printer does have wireless enabled, but I have it connected via direct USB also.
    Linux Mint did offer to run a diagnostic tool/debugging tool which gave a great deal of what means nothing to me. Debug output is below if it is helpful, but hoping a simple driver install will cure all ...
    Debug Output:
    Page 1 (Scheduler not running?):
    {'cups_connection_failure': False}
    Page 2 (Is local server publishing?):
    {'local_server_exporting_printers': False}
    Page 3 (Choose printer):
    {'cups_dest': <cups.Dest HP-LaserJet-Professional-P-1102w (default)>,
     'cups_instance': None,
     'cups_queue': u'HP-LaserJet-Professional-P-1102w',
     'cups_queue_listed': True}
    Page 4 (Check printer sanity):
    {'cups_device_uri_scheme': u'hp',
     'cups_printer_dict': {'device-uri': u'hp:/usb/HP_LaserJet_Professional_P_1102w?serial=000000000W4037X5PR1a',
                           'printer-info': u'Hewlett-Packard HP LaserJet Professional P 1102w',
                           'printer-is-shared': True,
                           'printer-location': u'Leela',
                           'printer-make-and-model': u'HP LaserJet Professional P 1102w, hpcups 3.14.3, requires proprietary plugin',
                           'printer-state': 3,
                           'printer-state-message': u'',
                           'printer-state-reasons': [u'none'],
                           'printer-type': 167948,
                           'printer-uri-supported': u'ipp://localhost:631/printers/HP-LaserJet-Professional-P-1102w'},
     'cups_printer_remote': False,
     'hplip_output': (['',
                       '\x1b[01mHP Linux Imaging and Printing System (ver. 3.14.3)\x1b[0m',
                       '\x1b[01mDevice Information Utility ver. 5.2\x1b[0m',
                       'Copyright (c) 2001-13 Hewlett-Packard Development Company, LP',
                       'This software comes with ABSOLUTELY NO WARRANTY.',
                       'This is free software, and you are welcome to distribute it',
                       'under certain conditions. See COPYING file for more details.',
                       '\x1b[01mHP Linux Imaging and Printing System (ver. 3.14.3)\x1b[0m',
                       '\x1b[01mSystem Tray Status Service ver. 2.0\x1b[0m',
                       'Copyright (c) 2001-13 Hewlett-Packard Development Company, LP',
                       'This software comes with ABSOLUTELY NO WARRANTY.',
                       'This is free software, and you are welcome to distribute it',
                       'under certain conditions. See COPYING file for more details.',
                       '\x1b[01mhp:/usb/HP_LaserJet_Professional_P_1102w?serial=000000000W4037X5PR1a\x1b[0m',
                       '\x1b[01mDevice Parameters (dynamic data):\x1b[0m',
                       '\x1b[01m  Parameter                     Value(s)                                                  \x1b[0m',
                       '  agent1-ack                    False                                                     ',
                       '  agent1-desc                   Black toner cartridge                                     ',
                       '  agent1-dvc                    0                                                         ',
                       '  agent1-health                 0                                                         ',
                       '  agent1-health-desc            Good/OK                                                   ',
                       '  agent1-hp-ink                 False                                                     ',
                       '  agent1-id                     0                                                         ',
                       '  agent1-kind                   4                                                         ',
                       '  agent1-known                  False                                                     ',
                       '  agent1-level                  100                                                       ',
                       '  agent1-level-trigger          0                                                         ',
                       '  agent1-sku                    85A                                                       ',
                       '  agent1-type                   1                                                         ',
                       '  agent1-virgin                 False                                                     ',
                       '  back-end                      hp                                                        ',
                       "  cups-printers                 ['HP-LaserJet-Professional-P-1102w']                      ",
                       '  cups-uri                      hp:/usb/HP_LaserJet_Professional_P_1102w?serial=000000000W',
                       '                                4037X5PR1a                                                ',
                       '  dev-file                                                                                ',
                       '  device-state                  1                                                         ',
                       '  device-uri                    hp:/usb/HP_LaserJet_Professional_P_1102w?serial=000000000W',
                       '                                4037X5PR1a                                                ',
                       '  deviceid                      MFG:Hewlett-Packard;MDL: LaserJet Professional P          ',
                       '                                1102w;CMD:ZJSJS,URF,PCLm,PJL,ACL,HTTCLSLSRINTER;DEHPHP  ',
                       '                                LaserJet Presessional P 110;F;FWVER:20110826;             ',
                       '  duplexer                      0                                                         ',
                       '  error-state                   0                                                         ',
                       '  host                                                                                    ',
                       '  in-tray1                      1                                                         ',
                       '  in-tray2                      1                                                         ',
                       '  is-hp                         True                                                      ',
                       '  media-path                    1                                                         ',
                       '  panel                         0                                                         ',
                       '  panel-line1                                                                             ',
                       '  panel-line2                                                                             ',
                       '  photo-tray                    0                                                         ',
                       '  port                          1                                                         ',
                       '  r                             0                                                         ',
                       '  revision                      254                                                       ',
                       '  rg                            000                                                       ',
                       '  rr                            000000                                                    ',
                       '  rs                            000000000                                                 ',
                       '  serial                        000000000W4037X5PR1a                                      ',
                       '  status-code                   1000                                                      ',
                       '  status-desc                   Idle                                                      ',
                       '  supply-door                   1                                                         ',
                       '  top-door                      1                                                         ',
                       '\x1b[01m',
                       'Model Parameters (static data):\x1b[0m',
                       '\x1b[01m  Parameter                     Value(s)                                                  \x1b[0m',
                       '  align-type                    0                                                         ',
                       '  clean-type                    0                                                         ',
                       '  color-cal-type                0                                                         ',
                       '  copy-type                     0                                                         ',
                       '  embedded-server-type          0                                                         ',
                       '  fax-type                      0                                                         ',
                       '  fw-download                   False                                                     ',
                       '  icon                          HP_LaserJet_1012.png                                      ',
                       '  io-mfp-mode                   6                                                         ',
                       '  io-mode                       1                                                         ',
                       '  io-support                    10                                                        ',
                       '  job-storage                   0                                                         ',
                       '  linefeed-cal-type             0                                                         ',
                       '  model                         HP_LaserJet_Professional_P_1102w                          ',
                       '  model-ui                      HP LaserJet Professional P 1102w                          ',
                       '  model1                        HP LaserJet Professional P 1102w Printer                  ',
                       '  monitor-type                  0                                                         ',
                       '  panel-check-type              0                                                         ',
                       '  pcard-type                    0                                                         ',
                       '  plugin                        1                                                         ',
                       '  plugin-reason                 1                                                         ',
                       '  power-settings                0                                                         ',
                       '  pq-diag-type                  0                                                         ',
                       '  r-type                        0                                                         ',
                       '  r0-agent1-kind                4                                                         ',
                       '  r0-agent1-sku                 85A                                                       ',
                       '  r0-agent1-type                1                                                         ',
                       '  scan-src                      0                                                         ',
                       '  scan-type                     0                                                         ',
                       '  status-battery-check          0                                                         ',
                       '  status-dynamic-counters       0                                                         ',
                       '  status-type                   8                                                         ',
                       '  support-released              True                                                      ',
                       '  support-subtype               2202411                                                   ',
                       '  support-type                  2                                                         ',
                       '  support-ver                   3.12.6                                                    ',
                       "  tech-class                    ['LJZjsMono']                                             ",
                       "  tech-subclass                 ['NoAutoDuplex']                                          ",
                       '  tech-type                     3                                                         ',
                       '  usb-pid                       4138                                                      ',
                       '  usb-vid                       1008                                                      ',
                       '  wifi-config                   3                                                         ',
                       'Done.',
                      ['\x1b[35;01mwarning: No display found.\x1b[0m',
                       '\x1b[31;01merror: hp-info -u/--gui requires Qt4 GUI support. Entering interactive mode.\x1b[0m',
                       '\x1b[35;01mwarning: No display found.\x1b[0m',
                       '\x1b[31;01merror: hp-systray requires Qt4 GUI and DBus support. Exiting.\x1b[0m',
                       '\x1b[35;01mwarning: Unable to connect to dbus. Is hp-systray running?\x1b[0m',
                      0),
     'is_cups_class': False,
     'local_cups_queue_attributes': {'charset-configured': u'utf-8',
                                     'charset-supported': [u'us-ascii', u'utf-8'],
                                     'color-supported': True,
                                     'compression-supported': [u'none', u'gzip'],
                                     'copies-default': 1,
                                     'copies-supported': (1, 9999),
                                     'cups-version': u'1.7.2',
                                     'device-uri': u'hp:/usb/HP_LaserJet_Professional_P_1102w?serial=000000000W4037X5PR1a',
                                     'document-format-default': u'application/octet-stream',
                                     'document-format-supported': [u'application/octet-stream',
                                                                   u'application/pdf',
                                                                   u'application/postscript',
                                                                   u'application/vnd.adobe-reader-postscript',
                                                                   u'application/vnd.cups-pdf',
                                                                   u'application/vnd.cups-pdf-banner',
                                                                   u'application/vnd.cups-postscript',
                                                                   u'application/vnd.cups-raster',
                                                                   u'application/vnd.cups-raw',
                                                                   u'application/x-cshell',
                                                                   u'application/x-csource',
                                                                   u'application/x-perl',
                                                                   u'application/x-shell',
                                                                   u'image/gif',
                                                                   u'image/jpeg',
                                                                   u'image/png',
                                                                   u'image/tiff',
                                                                   u'image/urf',
                                                                   u'image/x-bitmap',
                                                                   u'image/x-photocd',
                                                                   u'image/x-portable-anymap',
                                                                   u'image/x-portable-bitmap',
                                                                   u'image/x-portable-graymap',
                                                                   u'image/x-portable-pixmap',
                                                                   u'image/x-sgi-rgb',
                                                                   u'image/x-sun-raster',
                                                                   u'image/x-xbitmap',
                                                                   u'image/x-xpixmap',
                                                                   u'image/x-xwindowdump',
                                                                   u'text/css',
                                                                   u'text/html',
                                                                   u'text/plain'],
                                     'finishings-default': 3,
                                     'finishings-supported': [3],
                                     'generated-natural-language-supported': [u'en-us'],
                                     'ipp-versions-supported': [u'1.0',
                                                                u'1.1',
                                                                u'2.0',
                                                                u'2.1'],
                                     'ippget-event-life': 15,
                                     'job-creation-attributes-supported': [u'copies',
                                                                           u'finishings',
                                                                           u'ipp-attribute-fidelity',
                                                                           u'job-hold-until',
                                                                           u'job-name',
                                                                           u'job-priority',
                                                                           u'job-sheets',
                                                                           u'media',
                                                                           u'media-col',
                                                                           u'multiple-document-handling',
                                                                           u'number-up',
                                                                           u'output-bin',
                                                                           u'orientation-requested',
                                                                           u'page-ranges',
                                                                           u'print-color-mode',
                                                                           u'print-quality',
                                                                           u'printer-resolution',
                                                                           u'sides'],
                                     'job-hold-until-default': u'no-hold',
                                     'job-hold-until-supported': [u'no-hold',
                                                                  u'indefinite',
                                                                  u'day-time',
                                                                  u'evening',
                                                                  u'night',
                                                                  u'second-shift',
                                                                  u'third-shift',
                                                                  u'weekend'],
                                     'job-ids-supported': True,
                                     'job-k-limit': 0,
                                     'job-k-octets-supported': (0, 476568600),
                                     'job-page-limit': 0,
                                     'job-priority-default': 50,
                                     'job-priority-supported': [100],
                                     'job-quota-period': 0,
                                     'job-settable-attributes-supported': [u'copies',
                                                                           u'finishings',
                                                                           u'job-hold-until',
                                                                           u'job-name',
                                                                           u'job-priority',
                                                                           u'media',
                                                                           u'media-col',
                                                                           u'multiple-document-handling',
                                                                           u'number-up',
                                                                           u'output-bin',
                                                                           u'orientation-requested',
                                                                           u'page-ranges',
                                                                           u'print-color-mode',
                                                                           u'print-quality',
                                                                           u'printer-resolution',
                                                                           u'sides'],
                                     'job-sheets-default': (u'none', u'none'),
                                     'job-sheets-supported': [u'none',
                                                              u'classified',
                                                              u'confidential',
                                                              u'form',
                                                              u'secret',
                                                              u'standard',
                                                              u'topsecret',
                                                              u'unclassified'],
                                     'jpeg-k-octets-supported': (0, 476568600),
                                     'jpeg-x-dimension-supported': (0, 65535),
                                     'jpeg-y-dimension-supported': (1, 65535),
                                     'marker-change-time': 0,
                                     'media-bottom-margin-supported': [423, 547],
                                     'media-col-default': u'(unknown IPP value tag 0x34)',
                                     'media-col-supported': [u'media-bottom-margin',
                                                             u'media-left-margin',
                                                             u'media-right-margin',
                                                             u'media-size',
                                                             u'media-source',
                                                             u'media-top-margin',
                                                             u'media-type'],
                                     'media-default': u'iso_a4_210x297mm',
                                     'media-left-margin-supported': [423, 635],
                                     'media-right-margin-supported': [423, 635],
                                     'media-size-supported': [u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)',
                                                              u'(unknown IPP value tag 0x34)'],
                                     'media-source-supported': [u'auto',
                                                                u'manual'],
                                     'media-supported': [u'iso_a6_105x148mm',
                                                         u'iso_a5_148x210mm',
                                                         u'jpn_hagaki_100x148mm',
                                                         u'om_double-postcard_148.17x200.03mm',
                                                         u'om_jb5_182.12x257.05mm',
                                                         u'na_executive_7.25x10.5in',
                                                         u'om_16k195x270_195.09x269.88mm',
                                                         u'om_16k184x260_184.15x260mm',
                                                         u'oe_16k197x273_7.75x10.75in',
                                                         u'na_letter_8.5x11in',
                                                         u'iso_a4_210x297mm',
                                                         u'oe_flsa_8.5x13in',
                                                         u'na_legal_8.5x14in',
                                                         u'na_monarch_3.875x7.5in',
                                                         u'iso_dl_110x220mm',
                                                         u'na_number-10_4.125x9.5in',
                                                         u'iso_c5_162x229mm',
                                                         u'om_env-b5_176.04x250.12mm',
                                                         u'custom_min_3x5in',
                                                         u'custom_max_17x36in'],
                                     'media-top-margin-supported': [423, 547],
                                     'media-type-supported': [u'stationery'],
                                     'multiple-document-handling-supported': [u'separate-documents-uncollated-copies',
                                                                              u'separate-documents-collated-copies'],
                                     'multiple-document-jobs-supported': True,
                                     'multiple-operation-time-out': 300,
                                     'natural-language-configured': u'en-us',
                                     'notify-attributes-supported': [u'printer-state-change-time',
                                                                     u'notify-lease-expiration-time',
                                                                     u'notify-subscriber-user-name'],
                                     'notify-events-default': [u'job-completed'],
                                     'notify-events-supported': [u'job-completed',
                                                                 u'job-config-changed',
                                                                 u'job-created',
                                                                 u'job-progress',
                                                                 u'job-state-changed',
                                                                 u'job-stopped',
                                                                 u'printer-added',
                                                                 u'printer-changed',
                                                                 u'printer-config-changed',
                                                                 u'printer-deleted',
                                                                 u'printer-finishings-changed',
                                                                 u'printer-media-changed',
                                                                 u'printer-modified',
                                                                 u'printer-restarted',
                                                                 u'printer-shutdown',
                                                                 u'printer-state-changed',
                                                                 u'printer-stopped',
                                                                 u'server-audit',
                                                                 u'server-restarted',
                                                                 u'server-started',
                                                                 u'server-stopped'],
                                     'notify-lease-duration-default': 86400,
                                     'notify-lease-duration-supported': (0,
                                                                         2147483647),
                                     'notify-max-events-supported': [100],
                                     'notify-pull-method-supported': [u'ippget'],
                                     'notify-schemes-supported': [u'dbus',
                                                                  u'mailto',
                                                                  u'rss'],
                                     'number-up-default': 1,
                                     'number-up-supported': [1, 2, 4, 6, 9, 16],
                                     'operations-supported': [2,
                                                              4,
                                                              5,
                                                              6,
                                                              8,
                                                              9,
                                                              10,
                                                              11,
                                                              12,
                                                              13,
                                                              14,
                                                              16,
                                                              17,
                                                              18,
                                                              19,
                                                              20,
                                                              21,
                                                              22,
                                                              23,
                                                              24,
                                                              25,
                                                              26,
                                                              27,
                                                              28,
                                                              34,
                                                              35,
                                                              37,
                                                              38,
                                                              56,
                                                              57,
                                                              59,
                                                              16385,
                                                              16386,
                                                              16387,
                                                              16388,
                                                              16389,
                                                              16390,
                                                              16391,
                                                              16392,
                                                              16393,
                                                              16394,
                                                              16395,
                                                              16396,
                                                              16397,
                                                              16398,
                                                              16399,
                                                              16423,
                                                              14],
                                     'orientation-requested-default': None,
                                     'orientation-requested-supported': [3,
                                                                         4,
                                                                         5,
                                                                         6],
                                     'output-bin-default': u'face-down',
                                     'output-bin-supported': [u'face-down'],
                                     'page-ranges-supported': True,
                                     'pages-per-minute': 1,
                                     'pages-per-minute-color': 1,
                                     'pdf-k-octets-supported': (0, 476568600),
                                     'pdf-versions-supported': [u'adobe-1.2',
                                                                u'adobe-1.3',
                                                                u'adobe-1.4',
                                                                u'adobe-1.5',
                                                                u'adobe-1.6',
                                                                u'adobe-1.7',
                                                                u'iso-19005-1_2005',
                                                                u'iso-32000-1_2008',
                                                                u'pwg-5102.3'],
                                     'pdl-override-supported': [u'attempted'],
                                     'port-monitor': u'none',
                                     'port-monitor-supported': [u'none'],
                                     'ppd-timestamp': u'*',
                                     'print-color-mode-default': u'color',
                                     'print-color-mode-supported': [u'monochrome',
                                                                    u'color'],
                                     'print-quality-default': 4,
                                     'print-quality-supported': [3, 4],
                                     'printer-commands': u'none',
                                     'printer-current-time': u'(IPP_TAG_DATE)',
                                     'printer-dns-sd-name': u'Hewlett-Packard HP LaserJet Professional P 1102w @ Leela',
                                     'printer-error-policy': u'retry-job',
               

    Hi @durandal,
    I read your post and see that you need the drivers for the P1102w printer. I can provide the website for you.
    Here is the link for the HP Linux Imaging and Printing website. HP Linux imaging and printing.
    Here is the link for the P1102w drivers. HP LaserJet Professional p1102w Printer.
    If you need more information, please post your questions at the Linux Distribution Forums.
    If you appreciate my efforts, please click the Thumbs up button below.
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Attribute "Report Layout" is missing in the "Print Attributes" tab for IR

    Hallo,
    The attribute “Report Layout” is missing in the “Print Attributes” tab for an interactive report?
    How to alter the report layout (xsl-fo) of an interactive report?
    Has someone any idea where to configure this?
    Btw, for the "classic" SQL Report the XSL-FO "Report Layout" can be cahnged in "Print Attributes" and this works fine for me. But I want to change the xsl-fo for the interactive report.
    "If you do not select a report layout, a default XSL-FO layout is used. The default XSL-FO layout is always used for rendering Interactive Report regions. ... Unlike classic reports, the Interactive Report Print Attributes can only utilize the default XSL-FO layout and is initiated from the Report Attributes, Download section rather than directly from this screen. Once configured, these attributes only apply only to the current region and cannot be used outside the context of the region."
    http://apex.oracle.com/i/doc/bldapp_rpt_print.htm
    How can the "default XSL-FO layout" be changed?
    Changing is necessary because the Apache FOP 1.0 reports the following error (for the transmitted default XSL-FO):
    "fo:simple-page-master", "fo:region-body" must be declared before "fo:region-before"
    http://www.w3.org/TR/xsl/#fo_region-before
    The default report layout is not saved in:
    select * from APEX_040000.WWV_FLOW_REPORT_LAYOUTS
    Thx, Willi

    I've found two workaround for getting Apache FOP 1.0 to work with Oracle Apex 4.0 for PDF printing of interactive reports:
    1, Use an application process to set your custom layout for interactive reports:
    [ ] grant all on APEX_040000.WWV_RENDER_REPORT3 to {YOUR_SCHEMA_NAME};
    [ ] Create an Application Process e.g. "Custom Report Layout" with constraint for request 'PDF' and Process Text:
    declare
    v_xsl varchar2(32767);
    begin
    v_xsl := '<?xml version = ''1.0'' encoding = ''utf-8''?>
    <xsl:stylesheet version="2.0"
      <fo:region-body region-name="region-body" margin-top="54.0pt" margin-bottom="54.0pt"/>
      <fo:region-before region-name="region-header" extent="54.0pt"/>
    </xsl:stylesheet>';
    APEX_040000.WWV_RENDER_REPORT3.g_prn_template := v_xsl;
    end;2, If you have some knowlege in Java change the sequnce of the the nodes in the apex_fop.jsp (or servlet), ie. changing the xsl before you use it for transformation.
    The code depends on the solution you are using to parse the xsl string.
    Hope this may help someone,
    Willi

  • ALV report editable to enter text and print with including the text?

    Hi all,
    I have to display output of a  report in ALV format and i have to make two fileds can be editable to enter texts by user  and able to print the list with that texts .
    Is it possible using standard Function modules or I have to go for OO methods? Please give the sample code ?
    Thanks,
    Vamshi
    Edited by: VAMSHI KRISHNA on Oct 31, 2008 4:25 PM

    Hi Vamshi,
    Check out the Below sample code for the editable ALV.
    *& Report  Z7CC_OOPS_ALV_EDITABLE
    report  z7cc_oops_alv_editable.
    tables sflight.
    data: begin of gt_outtab occurs 0.     "with header line
            include structure sflight.
    data: celltab type lvc_t_styl.
    data: end of gt_outtab.
    data: gt_fieldcat type lvc_t_fcat.
    data: g_carrid like sflight-carrid,
          g_connid like sflight-connid.
    data: gs_spfli type spfli.                                  "#EC NEEDED
    data: g_custom_container type ref to cl_gui_custom_container.
    data:  g_container type scrfname value 'BCALV_GRID_DEMO_0100_CONT1'.
    data: g_grid  type ref to cl_gui_alv_grid.
    data: wa_outtab like gt_outtab.
    *       CLASS lcl_event_receiver DEFINITION
    class lcl_event_receiver definition.
      public section.
        types: begin of sflight_key.
        types:   carrid type s_carr_id.
        types:   connid type s_conn_id.
        types:   fldate type s_date.
        types: end of sflight_key.
        types: sflight_keys type standard table of sflight_key,
               sflight_table type standard table of sflight.
        methods:
          handle_data_changed
             for event data_changed of cl_gui_alv_grid
                 importing er_data_changed.
        methods:
          get_inserted_rows
               exporting
                  inserted_rows type sflight_keys.
        methods:
          get_deleted_rows
              exporting
                  deleted_rows type sflight_table.
        methods:
           refresh_delta_tables.
        methods: set_table_is_initial.
        methods: set_table_is_not_initial.
        methods: table_is_initial
                    returning value(initial) type char01.
      private section.
    * §4.Define internal tables to remember inserted and deleted lines,
    *    thus the delta between input made after the last saving.
        data: inserted_rows type sflight_keys,
              deleted_rows type standard table of sflight.
    * This flag is set if any error occured in one of the
    * following methods:
        data: error_in_data type c.
    * This flag signals that no records were read for the flight
    * table initially:
        data: initial_table type c.
    ** Methods to modularize event handler method HANDLE_DATA_CHANGED:
        methods:
          check_double_entries
             importing
                pr_data_changed type ref to cl_alv_changed_data_protocol.
        methods:
          update_delta_tables
             importing
                pr_data_changed type ref to cl_alv_changed_data_protocol.
        methods:
          perform_semantic_checks
             importing
                pr_data_changed type ref to cl_alv_changed_data_protocol.
        methods:
          get_cell_values
               importing
                 row_id          type int4
                 pr_data_changed type ref to cl_alv_changed_data_protocol
               exporting
                 key             type sflight_key.
    endclass.                    "lcl_event_receiver DEFINITION
    class lcl_event_receiver implementation.
      method handle_data_changed.
    *    data: ls_good type lvc_s_modi,
    *          l_price type s_price,
    *          ls_new type lvc_s_moce.
    *    error_in_data = space.
    ** check if there exist double entries
    *    call method check_double_entries( er_data_changed ).
    ** remember new or deleted lines for saving
    *    call method update_delta_tables( er_data_changed ).
    ** check mt_good_cells semantically
    *    call method perform_semantic_checks( er_data_changed ).
    *    if error_in_data = 'X'.
    *      call method er_data_changed->display_protocol.
    *    endif.
      endmethod.                    "handle_data_changed
      method check_double_entries.
        data: lt_good_cells type lvc_t_modi,
              ls_good type lvc_s_modi,
              ls_key type sflight_key,
              ls_sflight type sflight,
              l_flightdate like gt_outtab-fldate,
              l_del_row type lvc_s_moce,
              ls_outtab like line of gt_outtab,
              l_reentered type c.
    * §5.Check if there exist already other records with equal key fields.
    * Check if the user has entered two new lines where the key fields
    * are equal.
    * Since CARRID and CONNID are read only, the check is restrained
    * to field FLDATE.
    * Algorithm: Copy all entries in MT_GOOD_CELLS to a dummy table.
    *            During the copying procedure check if there exists
    *            already a line with the same Flight date.
    *    loop at pr_data_changed->mt_good_cells into ls_good.
    *      case ls_good-fieldname.
    *        when 'FLDATE'.
    *          call method pr_data_changed->get_cell_value
    *                      exporting
    *                            i_row_id = ls_good-row_id
    *                            i_fieldname = ls_good-fieldname
    *                      importing e_value = l_flightdate.
    *          read table lt_good_cells with key
    *                            value = l_flightdate
    *                            transporting no fields.
    *          if sy-subrc = 0.
    ** There exists already a line with the same flight date!
    *            call method pr_data_changed->add_protocol_entry
    *                         exporting
    *              i_msgid = '0K' i_msgno = '000'  i_msgty = 'E'
    *              i_msgv1 = text-m01
    *              i_fieldname = ls_good-fieldname
    *              i_row_id = ls_good-row_id.
    *            error_in_data = 'X'.
    *          else.
    *            ls_good-value = l_flightdate.
    *            append ls_good to lt_good_cells.
    *          endif.
    *      endcase.
    *    endloop.
    ** Check if any new entries already exist in gt_outtab.
    ** At this point, lt_good_cells contains only lines with
    ** FIELDNAME = 'FLDATE'.
    *    loop at lt_good_cells into ls_good.
    *      l_flightdate = ls_good-value.      "flightdate, see above
    *      read table gt_outtab with key
    *                    carrid = g_carrid
    *                    connid = g_connid
    *                    fldate = l_flightdate
    *                    transporting no fields.
    *      if sy-subrc = 0.
    ** Check if this entry was deleted before, i.e. it is in the table
    ** of deleted rows. If so, the entry does not exist twice. The user
    ** has deleted a line and then reentered it.
    *        l_reentered = space.
    *        loop at pr_data_changed->mt_deleted_rows into l_del_row.
    *          read table gt_outtab into ls_outtab index l_del_row-row_id.
    *          if sy-subrc ne 0.
    *            message i000(0k) with text-e01."Fehler beim Löschen
    *          elseif
    *                    ls_outtab-carrid eq g_carrid
    *                and ls_outtab-connid eq g_connid
    *                and ls_outtab-fldate eq ls_good-value.
    *            l_reentered = 'X'.
    *          endif.
    *        endloop.
    *        if l_reentered ne 'X'.
    *          call method pr_data_changed->add_protocol_entry
    *                         exporting
    *              i_msgid = '0K' i_msgno = '000'  i_msgty = 'E'
    *              i_msgv1 = text-m01
    *              i_fieldname = ls_good-fieldname
    *              i_row_id = ls_good-row_id.
    *          error_in_data = 'X'.
    *        endif.
    *      endif.
    *    endloop.
    ** In this demo report you may prevent the selection
    ** of data by setting parameter 'p_ds'.
    ** If this is done, the next check is required:
    *    if me->table_is_initial( ) eq 'X'.
    *      call method get_cell_values
    *           exporting row_id          = 1
    *                     pr_data_changed = pr_data_changed
    *           importing key             = ls_key.
    *      select single * from sflight into ls_sflight
    *                where carrid = ls_key-carrid
    *                  and connid = ls_key-connid
    *                  and fldate = ls_key-fldate.
    *      if sy-subrc = 0.
    *        call method pr_data_changed->add_protocol_entry
    *                       exporting
    *            i_msgid = '0K' i_msgno = '000'  i_msgty = 'E'
    *            i_msgv1 = text-m01
    *            i_fieldname = 'FLDATE'
    *            i_row_id = 1.
    *        error_in_data = 'X'.
    *      endif.
    ** flag initial_table is reset in method 'update_delta_tables'
    *    endif.
      endmethod.                    "check_double_entries
      method update_delta_tables.
    *    data: l_ins_row type lvc_s_moce,
    *          l_del_row type lvc_s_moce,
    *          ls_key type sflight_key,
    *          ls_sflight type sflight,
    *          ls_outtab like line of gt_outtab.
    ** §6.Use protocol attributes MT_DELETED_ROWS and MT_INSERTED_ROWS
    **    to remember which lines where deleted or inserted. Save this
    **    information in your internal tables.
    ** deleted rows
    *    loop at pr_data_changed->mt_deleted_rows into l_del_row.
    *      read table gt_outtab into ls_outtab index l_del_row-row_id.
    *      if sy-subrc ne 0.
    *        message i000(0k) with text-e01."Fehler beim Löschen
    *      else.
    *        move-corresponding ls_outtab to ls_sflight.
    ** It should no be possible that the same line is deleted twice,
    ** so we just add the new key line to 'deleted_rows'.
    *        append ls_sflight to deleted_rows.
    ** If this line was inserted just before it is deleted:
    *        delete me->inserted_rows
    *             where carrid = ls_outtab-carrid
    *             and   connid = ls_outtab-connid
    *             and   fldate = ls_outtab-fldate.
    *      endif.
    *    endloop.
    ** inserted rows
    ** At this point ALV has not added new lines
    ** to gt_outtab, so you can not access their values
    ** by reading gt_outtab.
    ** Table MT_GOOD_CELLS holds new values that can be
    ** referenced using the ROW_ID.
    *    if me->table_is_initial( ) eq 'X'.
    ** No flights were selected initially. This is the first new line.
    *      call method get_cell_values
    *            exporting row_id          = 1
    *                      pr_data_changed = pr_data_changed
    *            importing key             = ls_key.
    *      append ls_key to inserted_rows.
    *      call method me->set_table_is_not_initial.
    *    endif.
    *    loop at pr_data_changed->mt_inserted_rows into l_ins_row.
    *      call method get_cell_values
    *              exporting row_id          = l_ins_row-row_id
    *                        pr_data_changed = pr_data_changed
    *              importing key             = ls_key.
    **      READ TABLE gt_outtab INTO ls_outtab INDEX l_ins_row-row_id.
    ** Just insert the new row regardless if the input is wrong
    *      append ls_key to inserted_rows.
    *    endloop.
      endmethod.                    "update_delta_tables
      method get_cell_values.
    * get values of key cells of row ROW_ID
    ** CARRIER
    *    call method pr_data_changed->get_cell_value
    *          exporting
    *                 i_row_id    = row_id
    *                 i_fieldname = 'CARRID'
    *               importing
    *                 e_value = key-carrid.
    *    if sy-subrc ne 0.
    *      message i000(0k) with text-e02.  "Fehler beim Einfügen
    *    endif.
    ** CONNID
    *    call method pr_data_changed->get_cell_value
    *          exporting
    *                 i_row_id    = row_id
    *                 i_fieldname = 'CONNID'
    *               importing
    *                 e_value = key-connid.
    *    if sy-subrc ne 0.
    *      message i000(0k) with text-e02.  "Fehler beim Einfügen
    *    endif.
    ** FLDATE
    *    call method pr_data_changed->get_cell_value
    *          exporting
    *                 i_row_id    = row_id
    *                 i_fieldname = 'FLDATE'
    *               importing
    *                 e_value = key-fldate.
    *    if sy-subrc ne 0.
    *      message i000(0k) with text-e02.  "Fehler beim Einfügen
    *    endif.
      endmethod.                    "get_cell_values
      method perform_semantic_checks.
    *    data: ls_good type lvc_s_modi,
    *          l_planetype type s_planetye,
    *          l_seatsmax type s_seatsmax.
    *    loop at pr_data_changed->mt_good_cells into ls_good.
    *      case ls_good-fieldname.
    *        when 'PLANETYPE'.
    *          call method pr_data_changed->get_cell_value
    *             exporting
    *               i_row_id = ls_good-row_id
    *               i_fieldname = ls_good-fieldname
    *             importing
    *               e_value = l_planetype.
    *          select single seatsmax from saplane into l_seatsmax
    *                        where planetype = l_planetype.
    *          if sy-subrc ne 0.
    *            call method pr_data_changed->add_protocol_entry
    *                            exporting
    *                 i_msgid = '0K' i_msgno = '000'  i_msgty = 'E'
    *                 i_msgv1 = text-m02
    *                 i_fieldname = ls_good-fieldname
    *                 i_row_id = ls_good-row_id.
    *            error_in_data = 'X'.
    *          else.
    *            call method pr_data_changed->modify_cell
    *              exporting i_row_id    = ls_good-row_id
    *                        i_fieldname = 'SEATSMAX'
    *                        i_value     = l_seatsmax.
    *          endif.
    *      endcase.
    *    endloop.
      endmethod.                    "perform_semantic_checks
      method get_inserted_rows.
    *    inserted_rows = me->inserted_rows.
      endmethod.                    "get_inserted_rows
      method get_deleted_rows.
    *    deleted_rows = me->deleted_rows.
      endmethod.                    "get_deleted_rows
      method refresh_delta_tables.
    *    clear me->inserted_rows[].
    *    clear me->deleted_rows[].
      endmethod.                    "refresh_delta_tables
      method set_table_is_initial.
    *    initial_table = 'X'.
      endmethod.                    "set_table_is_initial
      method set_table_is_not_initial.
    *    initial_table = space.
      endmethod.                    "set_table_is_not_initial
      method table_is_initial.
    *    if initial_table = 'X'.
    *      initial = 'X'.
    *    else.
    *      initial = space.
    *    endif.
      endmethod.                    "table_is_initial
    endclass.                    "lcl_event_receiver IMPLEMENTATION
    data: g_verifier type ref to lcl_event_receiver.
    data: g_max type i value 100.
    data: gs_layout type lvc_s_layo.
    data: ok_code like sy-ucomm,
          save_ok like sy-ucomm.
    parameters: p_ds type c as checkbox.   "delete selection
    select-options s_carrid for sflight-carrid
                                no intervals no-extension default 'LH'.
    select-options s_connid for sflight-connid
                               no intervals no-extension default '0400'.
    start-of-selection.
      g_carrid = s_carrid-low.
      g_connid = s_connid-low.
    * first check airline and connection
      select single * from spfli into gs_spfli
                         where carrid = g_carrid
                         and connid = g_connid.
      call screen 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    module status_0100 output.
      set pf-status 'MAIN100'.
      set titlebar 'MAIN100'.
      if g_custom_container is initial.
        perform create_and_init_alv changing gt_outtab[]
                                             gt_fieldcat.
      endif.
    endmodule.                 " STATUS_0100  OUTPUT
    *&      Form  create_and_init_alv
    *       text
    *      <--P_GT_OUTTAB[]  text
    *      <--P_GT_FIELDCAT  text
    form create_and_init_alv changing pt_outtab like gt_outtab[]
                                      pt_fieldcat type lvc_t_fcat.
      data: lt_exclude type ui_functions.
      create object g_custom_container
             exporting container_name = g_container.
      create object g_grid
             exporting i_parent = g_custom_container.
    * Create Objekt to verify input values.
    * (This object is already needed in form SELECT_DATA).
      create object g_verifier.
    *  SET HANDLER g_verifier->handle_data_changed FOR g_grid.
      perform select_data changing pt_outtab[].
      perform build_fieldcat changing pt_fieldcat.
      perform exclude_tb_functions changing lt_exclude.
      gs_layout-stylefname = 'CELLTAB'.
      call method g_grid->set_table_for_first_display
        exporting
          it_toolbar_excluding = lt_exclude
          is_layout            = gs_layout
        changing
          it_fieldcatalog      = pt_fieldcat
          it_outtab            = pt_outtab[].
    * Set editable cells to ready for input initially
      call method g_grid->set_ready_for_input
        exporting
          i_ready_for_input = 1.
    endform.                    " create_and_init_alv
    *&      Form  select_data
    *       text
    *      <--P_GT_OUTTAB  text
    form select_data changing pt_outtab like gt_outtab[].
      data: lt_sflight type table of sflight,
            ls_sflight type sflight,
            ls_outtab like line of gt_outtab,
            l_index type i,
            ls_spfli type spfli,                                "#EC NEEDED
            lt_celltab type lvc_t_styl.
    * Check parameter 'p_ds'=>optionally select no data
      if p_ds is initial.
    * Select data from sflight
        select * from sflight into table lt_sflight up to g_max rows
                         where carrid = g_carrid
                           and connid = g_connid.
      endif.
      if sy-subrc ne 0 or not p_ds is initial.
    * no flights were found!
    * We provide some default values for the first line that is entered:
        ls_outtab-carrid = g_carrid.
        ls_outtab-connid = g_connid.
        case g_carrid.
          when 'LH'.
            ls_outtab-currency = 'DEM'.
          when others.
            ls_outtab-currency = 'US'.
        endcase.
        ls_outtab-seatsocc = 0.
        ls_outtab-paymentsum = 0.
    * set fields FLDATE, PRICE and PLANETYPE to editable
        perform fill_celltab using 'RW'
                             changing lt_celltab.
        insert lines of lt_celltab into table ls_outtab-celltab.
        append ls_outtab to pt_outtab.
    * Tell Verify-Objekt that the table was initial
        call method g_verifier->set_table_is_initial.
      else.
        call method g_verifier->set_table_is_not_initial.
    * move corresponding fields from lt_sflight to gt_outtab
        loop at lt_sflight into ls_sflight.
          move-corresponding ls_sflight to ls_outtab.
          append ls_outtab to pt_outtab.
        endloop.
    * §3.Set all cells of the table non-editable by using the style table.
        loop at pt_outtab into ls_outtab.
          l_index = sy-tabix.
          refresh lt_celltab.
          perform fill_celltab using 'RO'
                            changing lt_celltab.
    * Copy your celltab to the celltab of the current row of gt_outtab.
          insert lines of lt_celltab into table ls_outtab-celltab.
          modify pt_outtab from ls_outtab index l_index.
        endloop.
      endif.
    endform.                               " select_data
    *&      Form  fill_celltab
    *       text
    *      -->VALUE(P_MODE)  text
    *      -->PT_CELLTAB     text
    form fill_celltab using value(p_mode)
                      changing pt_celltab type lvc_t_styl.
      data: ls_celltab type lvc_s_styl,
            l_mode type raw4.
    * This forms sets the style of columns 'PRICE', FLDATE and PLANETYPE
    * editable
      if p_mode eq 'RW'.
        l_mode = cl_gui_alv_grid=>mc_style_enabled.
      else.                                "p_mode eq 'RO'
        l_mode = cl_gui_alv_grid=>mc_style_disabled.
      endif.
      ls_celltab-fieldname = 'FLDATE'.
      ls_celltab-style = l_mode.
      insert ls_celltab into table pt_celltab.
      ls_celltab-fieldname = 'PRICE'.
      ls_celltab-style = l_mode.
      insert ls_celltab into table pt_celltab.
      ls_celltab-fieldname = 'PLANETYPE'.
      ls_celltab-style = l_mode.
      insert ls_celltab into table pt_celltab.
    endform.                               " FILL_CELLTAB
    *&      Form  BUILD_FIELDCAT
    *       text
    *      <--P_GT_FIELDCAT  text
    form build_fieldcat changing pt_fieldcat type lvc_t_fcat.
      data ls_fcat type lvc_s_fcat.
      call function 'LVC_FIELDCATALOG_MERGE'
        exporting
          i_structure_name = 'SFLIGHT'
        changing
          ct_fieldcat      = pt_fieldcat.
      loop at pt_fieldcat into ls_fcat.
        if    ls_fcat-fieldname eq 'PRICE'
           or ls_fcat-fieldname eq 'PLANETYPE'
           or ls_fcat-fieldname eq 'FLDATE'.
    * §1.Set status of columns FLDATA, PRICE and PLANETYPE to editable.
    *    Since all cells are set to non-editable (see step 3) the cells
    *    of this columns will only be editable for new lines.
          ls_fcat-edit = 'X'.
    * Field 'checktable' is set to avoid shortdumps that are caused
    * by inconsistend data in check tables. You may comment this out
    * when the test data of the flight model is consistent in your system.
          ls_fcat-checktable = '!'.        "do not check foreign keys
          modify pt_fieldcat from ls_fcat.
        elseif ls_fcat-fieldname = 'CARRID'
           or ls_fcat-fieldname = 'CONNID'
           or ls_fcat-fieldname = 'CURRENCY'.
    * §2.Use field AUTO_VALUE of the fieldcatalog to preset values when new
    *    lines are added.
          ls_fcat-auto_value = 'X'.
          ls_fcat-checktable = '!'.   "do not check foreign key relations
          modify pt_fieldcat from ls_fcat.
        endif.
      endloop.
    endform.                    "build_fieldcat
    *&      Form  exclude_tb_functions
    *       text
    *      <--P_LT_EXCLUDE  text
    form exclude_tb_functions changing pt_exclude type ui_functions.
      data ls_exclude type ui_func.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_insert_row.
      append ls_exclude to pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_undo.
      append ls_exclude to pt_exclude.
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_copy_row.
      append ls_exclude to pt_exclude.
    endform.                               " EXCLUDE_TB_FUNCTIONS
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    module user_command_0100 input.
      save_ok = sy-ucomm.
      clear ok_code.
      case save_ok.
        when 'SAVE'.
    *      perform save_data.
        when 'BACK'.
    * §10.Unlock your database table.
    *      perform unlock_sflight.
          leave to screen 0.
        when 'EXIT'.
          perform exit_program.
        when 'ADD'.
          perform add_line_item.
        when others.
    *     do nothing
      endcase.
    endmodule.                 " USER_COMMAND_0100  INPUT
    *       FORM EXIT_PROGRAM                                             *
    form exit_program.
      leave program.
    endform.                    "exit_program
    *&      Form  ADD_LINE_ITEM
    *       text
    *  -->  p1        text
    *  <--  p2        text
    form add_line_item .
    data: lt_rows type lvc_t_row.
    data: wa_rows type lvc_t_row with header line.
    data: tabix type sy-tabix.
    *&Find the  row ( index ) number
    call method g_grid->get_selected_rows
              importing et_index_rows = lt_rows.
    call method cl_gui_cfw=>flush.
    read table lt_rows into wa_rows index 1.
    tabix = wa_rows-index .
    insert gt_outtab  index tabix.
    *REFRESH_TABLE_DISPLAY
    call method g_grid->refresh_table_display
    *  EXPORTING
    *    IS_STABLE      =
    *    I_SOFT_REFRESH =
    *  EXCEPTIONS
    *    FINISHED       = 1
    *    others         = 2
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    endform.                    " ADD_LINE_ITEM
    Thanks,
    Chidanand

  • There is no printer output when using the PrintOut method

    I have a VB6 app with CR XI, and a customer found a situation that when printing a report directly to the printer using the PrintOut method, there is no printer output or error message.
    Some reports using the same code print normally, but a report that is preceded by another print call, presents this behavior.
    And when the output is directed to the screen, we can see the report.
    Could someone give me an idea of what is the problem?
    Thanks,
    Isis
    SP - Brazil
    The code used is below:
                       Set rpt = applic.OpenReport(App.Path & "SEFoto" + TipoRPT + ".rpt")
                       rpt.FormulaSyntax = crCrystalSyntaxFormula
                       rpt.FormulaFields.GetItemByName("Empresa").Text = "'" + Company + "'"
                       rpt.FormulaFields.GetItemByName("Idioma").Text = "'" + Idioma + "'"
                       rpt.FormulaFields.GetItemByName("Versao").Text = "'" + Versao + "'"
                       ' ... Some lines to compose the selection formula
                       rpt.RecordSelectionFormula = Cond
                       ' To evaluate the image length:
                       Arq = rsTMP3!FT_Arquivo
                       ImageScaling = FatorDeReducao(Arq, "F")
                       ' To reduce the image length:
                       AchouOLE = False
                       For Each oSection In rpt.Sections
                           For Each oObject In oSection.ReportObjects
                               If oObject.Name = "PictureFoto" Then
                                  Set oOleObject = oObject
                                  AchouOLE = True
                                  Exit For
                               End If
                           Next oObject
                           If AchouOLE Then Exit For
                       Next oSection
                       With oOleObject
                            .Suppress = True
                            .XScaling = ImageScaling    ' 0.5 = 50%, 1 = 100%
                            .YScaling = ImageScaling
                            .Suppress = False
                       End With
                       Aguarde.Show 1
                       If DestinoRel = 9 Or DestinoRel = 1 Then ' Padrão ou impressora
                          rpt.PrintOut True              ' <<<---- Here using true or false nothing happens
                       Else
                          PrintRPTtela rpt, "Fotos"   ' <<<--- Here it works fine
                       End If

    Hi Isis,
    Not sure if you have applied any service Packs to CR? If please do so and test again. Then you can upgrade to CR XI R2 for free, use your XI Keycode and download Service Pack 4 from this link:
    https://smpdl.sap-ag.de/~sapidp/012002523100011802732008E/crxir2_sp4_full_build.exe
    You'll find the distribution files for your app also from that same download area.
    If you don't want to upgrade to XI R2 then download all patches from XI and test again. This issues rings a bell that it may have been fixed.
    Thank you
    Don

Maybe you are looking for