Text printing in SapScript

Hi Abapers,
I am chaniging an existing SapScript that was not working properly. Client wants to print "Item Text" in output which is of 3 to 4 page. where as there is only one line item in PO. Also there is "Header Text"  of 1 page. Client wants to display all line items then "Item Text" should displayed. and at last the "eader Text". The Format is Like as Follows:-
PO No.                           12.12.2006
Vendor Name
Country
   S.No.     Mat. Desc.                          Qty. ...............and so on..........
   1            abc                                    11 .....................
Item Text starts from here........................
Problem is here
This text is of 3 page (say).
So text starts from here and est of text goes to next page.
Only 4 Lines are printed properly and rest of lines are not printed.
I also checked in debuging mode.
so attachibng the code for reference kindly go through this.
Header Text Starts from here
   Total amt.  in words......
FORM READ_TEXTSLO1 TABLES IN_TAB200  STRUCTURE ITCSY
                       OUT_TAB200 STRUCTURE ITCSY.
  READ TABLE IN_TAB200 INDEX 1.
  EBELN1 = IN_TAB200-VALUE.
  READ TABLE IN_TAB200 INDEX 2.
  EBELP = IN_TAB200-VALUE.
  CONCATENATE EBELN1 EBELP INTO OBJNAME.
  CLEAR WRK_IT1.
  CLEAR WRK_IT2.
  CLEAR WRK_IT3.
  CLEAR WRK_IT4.
  CLEAR WRK_IT5.
  Repeated Code
  SELECT SINGLE TDNAME INTO WRK_TDNAME FROM STXH
    WHERE TDOBJECT = 'EKPO'
    AND TDNAME = OBJNAME
    AND TDID EQ 'F01'.
  IF SY-SUBRC = 0.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        CLIENT   = SY-MANDT
        ID       = 'F01'
        LANGUAGE = 'E'
        NAME     = OBJNAME
        OBJECT   = 'EKPO'
      TABLES
        LINES    = IT_LINE.
    IF SY-SUBRC = 0.
     delete it_line where tdline EQ ' '.
BREAK ABAP7.
     DESCRIBE TABLE it_line LINES wrk_lines1.
      LOOP AT IT_LINE.
        CLEAR WRK_TABIX.
        WRK_TABIX = SY-TABIX.
        IF WRK_TDLINE EQ ' '.
          WRK_TDLINE = IT_LINE-TDLINE.
        ELSE.
          CONCATENATE  WRK_TDLINE IT_LINE-TDLINE INTO  WRK_TDLINE
          SEPARATED BY SPACE.
        ENDIF.
        Y = STRLEN( WRK_TDLINE ).
        CALL FUNCTION 'RKD_WORD_WRAP'
               EXPORTING
                 TEXTLINE                  = WRK_TDLINE
                 DELIMITER                 = ' '
                 OUTPUTLEN                 = 100
              IMPORTING
                OUT_LINE1                 = OUT_LINE1
                OUT_LINE2                 = OUT_LINE2
                OUT_LINE3                 = OUT_LINE3
          OUT_LINE3                 =
        TABLES
          OUT_LINES                 =
        EXCEPTIONS
          OUTPUTLEN_TOO_LARGE       = 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.
*break abap7.
        CASE WRK_TABIX.
          WHEN 1 .
            WRK_IT1 = OUT_LINE1.
          WHEN 2 .
            WRK_IT2 = OUT_LINE1.
          WHEN 3 .
            WRK_IT3 = OUT_LINE1.
          WHEN 4 .
            WRK_IT4 = OUT_LINE1.
        ENDCASE.
        IF OUT_LINE3 EQ ' '.
          WRK_TDLINE = OUT_LINE2.
        ELSE.
          CONCATENATE OUT_LINE2 OUT_LINE3 INTO WRK_TDLINE
          SEPARATED BY SPACE.
        ENDIF.
      ENDLOOP.
      IF WRK_IT4 NE ' '.
        Y = STRLEN( WRK_TDLINE ).
        IF Y GT 50.
          CALL FUNCTION 'RKD_WORD_WRAP'
                   EXPORTING
                     TEXTLINE                  = WRK_TDLINE
                     DELIMITER                 = ' '
                     OUTPUTLEN                 = 50
                  IMPORTING
                    OUT_LINE1                 = OUT_LINE1
                    OUT_LINE2                 = OUT_LINE2
                    OUT_LINE3                 = OUT_LINE3
          OUT_LINE3                 =
        TABLES
          OUT_LINES                 =
        EXCEPTIONS
          OUTPUTLEN_TOO_LARGE       = 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.
          wrk_it4 = out_line1.              " Change Uncommented"
          WRK_ITA = OUT_LINE1.
          WRK_ITA4 = OUT_LINE2.
        ELSE.
          WRK_ITA = WRK_TDLINE.
        ENDIF.
      ENDIF.
    ENDIF.
    CLEAR WRK_TDLINE.
    CLEAR OUT_LINE1.
    CLEAR OUT_LINE2.
    CLEAR OUT_LINE3.
    OUT_TAB200-VALUE = WRK_IT1.
    MODIFY OUT_TAB200 INDEX 1 TRANSPORTING VALUE.
    OUT_TAB200-VALUE = WRK_IT2.
    MODIFY OUT_TAB200 INDEX 2 TRANSPORTING VALUE.
    OUT_TAB200-VALUE = WRK_IT3.
    MODIFY OUT_TAB200 INDEX 3 TRANSPORTING VALUE.
    OUT_TAB200-VALUE = WRK_IT4.
    MODIFY OUT_TAB200 INDEX 4 TRANSPORTING VALUE.
  ENDIF.
*****************************************************************Repeated code
Again the same code is repeated but now the TDID eq F02 in Select Query and also in READ_TEXT  Fun. Module. and now in the CASE statement next 4 lines coded as
WHEN 1 .
            WRK_IT5 = OUT_LINE1.
          WHEN 2 .
            WRK_IT6 = OUT_LINE1.
          WHEN 3 .
            WRK_IT7 = OUT_LINE1.
          WHEN 4 .
            WRK_IT8 = OUT_LINE1.
and also these 4 rows modified as follows
OUT_TAB200-VALUE = WRK_IT5.
      MODIFY OUT_TAB200 INDEX 5 TRANSPORTING VALUE.
Now each time 4 - 4 rows coded as like as above.
upto TDID = F05
So there are total of 20 lines.
Now the text is of 4 to 5 page then its not printed. even 5th line is not printed. control not goes to 2nd Select Query cause the OBJECTNAME does not exist.
<b>for more information write your Email ID . So that i can explain more.</b>
So kindly review this and let me know what should i do ?
Helpful answer rewarded.
Regards
Robin

hi,
<b>SAP SCRIPTS TUTORIALS</b>
http://www.sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRRDI/BCSRVSCRRDI.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCREDIT/BCSRVSCREDIT.pdf
http://www.sappoint.com/abap/sscrtpex1.pdf
http://www.sap-img.com/sapscripts.htm
http://www.esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
SAP Script From the Scratch
http://www.sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
http://www.sap-img.com/sapscripts.htm
http://sappoint.com/abap/
http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
http://sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
http://www.esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
http://www.esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
http://www.esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
http://www.esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
http://www.esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf.
http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
Rgds
Anver
<b><i>if hlped pls mark points</i></b>

Similar Messages

  • Long Text Printing in SAPSCRIPT

    Hi Experts,
       I got one requirement that i the long text which user will enter that
    has to be displayed on the layout of one window not main.
       The text comes from FB03 application, that has to be displayed.
       I want to know how to do this, i tried to use the hardcoded RSTXT-TDNAME text in my script as define &x& = 'AU1018000010152008001'
    and then include command i used.
       It will be okay for one item, if there are multiple items then it will not be worked.
       so please give me an idea to proceed.
    Regards,
    sivananda P.

    hi,
           it_tline like tline occurs 0 with header line,
           v_info(50),                                                "#EC
        clear it_tline.
        refresh it_tline.
        clear v_info.
        v_name = it_out-ebeln.
        call function 'READ_TEXT'
          exporting
            client                  = sy-mandt
            id                      = 'F05'
            language                = sy-langu
            name                    = v_name
            object                  = 'EKKO'
          tables
            lines                   = it_tline
          exceptions
            id                      = 1
            language                = 2
            name                    = 3
            not_found               = 4
            object                  = 5
            reference_check         = 6
            wrong_access_to_archive = 7
            others                  = 8.
        if sy-subrc eq 0.
          read table it_tline.                                                         "#EC *
          v_info = it_tline-tdline(50).
        endif.
    if helpful give the points,
    Regards,
    Venkat

  • Standard text printing in sapscripts in EN & DE Language....

    HI All,
    My requirement was very simple....
    I have some 6-7 Layouts......
    i want to replace some hard coded text with some  other text in those layout when the layout  language is DE .the text will be in german...
    for all remaining langauges of the layout i want the text to be displayed in EN.
    can i use Standard Text or mormal hard coding will do aa....How....can any one help me out with sample coding or navigation....
    Thanks
    Ganesh

    Hi Kalandar,
    The above solution was not working......I'll explain my problem clearly once again.
    1. I have 6 layout to be changed in language DE
        In the main window with tax text element i have some hard code in german language...that has to be replaced with some      other  sentence in german only(i have both the Sentences with me)
    2. For the same 6 layouts to be changed in other languages(except DE)
    same window ,same  text element ,same hard code,but in English i have that to be replace with some other english sentence.
    Simple to say in those 6 layouts if layout lang is DE then german sentence ,if lang other then DE...English sentence
    Please check the possibility to use standard texts for this texts. Do u have to make any changes to program as well...
    Plz help me out regarding this ...very important
    Thanks
    Ganesh

  • Print text vertically in SAPScript

    Hi,
    How to print text vertically in SAPScript?
    Can we use controls for it?
    Please help its urgent.
    Thanks,
    Madhura

    You can print horizantally. using the following code
    You know the total length of your text right.
    You need to have conditions to avoid unnecessary spaces.
    If &v_text(1)& is not initial.
    ph &v_text(1)&
    endif.
    if &v_text+1(1) is not initial.
    ph &v_text+1(1)
    enddif.
    if &v_text+2(1) is not initial.
    ph &v_text+2(1)
    enddif.
    But we cant rotate letters to left . Not sure . Will explore on it and let you know.
    Reward points if useful.
    Regards,
    Nageswar

  • Image not printed in SapScript, only after page break

    Hi,
    I have a problem in printing an image (stored as text) in a sapscript. The image was uploaded correctly from a TIF file in tcode SE78. The image contains a signature and I need to print it at variable positions within the form. That is I need to print it in the MAIN window. The image does not get printed when a page break occurs when outputing the text element containing the picture. If the page break occurs when outputing any (other) text, the image is printed correctly (after that text).
    Has anybody else encountered this problem? Could it be a sapscript bug?
    Thx in advance.
    Claudiu

    >
    > Looks like the last page is not called !!! I can see data only on one page and it shows page 1 of 1.
    >
    > "make sure ST_TEMP is filled with data" how do I do this ?? My program line node has the data filled in the internal table it_temp and the loop node has the data transferred to st_temp for every row. How can I debug the program lines code ??
    > > Have a break <username> in the program lines. and check it_temp has data in it.
    > "use a command and call the last page at end of the loop on internal table"...how to do this ?
    > > like program lines there is a "command line" do a little search on SDN for more info on how to use command lines for next page.
    >

  • Standard Text printing in SAP Scripts

    Hi All,
    Iam printing data from Standard Text it is printing
    but i need like
                            Bank            ICICI
    but the below is giving
                           Bank
    ICICI
    AS    ,,,,,,,,,,,,,,Bank,,,,,,,,
    /:       INCLUDE &V_ACC& OBJECT TEXT ID ST LANGUAGE EN
    Can you please tel me how to do

    Hi,
        How your are creating the Standard text V_ACC in transaction SO10? create it with Contineous text, defailt will be as Command line(/:), thats why all the Standard texts will be printed on New line.
    Tcode : SO10
    Text Name :- V_ACC
    Text Id      :-  TEXT
    Language:-  EN
    The text should be
    ICICI                       "For Continues text paragraph format will be blank
    not as below
    /:  ICICI                       "For New line text paragraph format will be /:
    Now call the standard text in your Sapscript
    AS    ,,,,,,,,,,,,,,Bank,,,,,,,,
    /:       INCLUDE V_ACC OBJECT TEXT ID ST
    Just check the tab spaces after Bank statement, if it is more Included text will be in next line.
    Regards
    Bala Krishna

  • Double side printing from SAPScript, last page missing

    Hello all,
    I try to setup double side printing from SAPScript, but have a problem and hope that somebody might help me.
    In my form I have two pages with main window (FIRST and NEXT) which have print mode set to 'D' and next page set to 'TANDC'. Page 'TANDC' has only one VAR window which contains terms and conditions text.
    Now, everything works fine except that T&C text isn't printed after last page (ie. after last 'NEXT' page). Is there a way to force printing of last (back side) page?
    PS: Calling 'WRITE_FORM' from the print program at the end didn't help either.
    Thanks in advance.
    Grigor

    Hi Vinod,
    this has a same effect as calling NEW-PAGE from form.
    Again, window 'FOOTER' is printed on a new page instead bellow 'MAIN' window and there are no T&C on the last sheet. I also tried to explicitly call text element in window 'FOOTER' before calling 'CONTROL_FORM', like this:
    CALL FUNCTION 'WRITE_FORM' "last element in 'MAIN' window
           EXPORTING
                element = 'LAST'
           EXCEPTIONS
                OTHERS  = 01.
      CLEAR sy-subrc.
    CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                element = 'FOOTER'
                window = 'FOOTER'
           EXCEPTIONS
                OTHERS  = 01.
      CLEAR sy-subrc.
    CALL FUNCTION 'CONTROL_FORM'
           EXPORTING
                 COMMAND = 'NEW-PAGE'
           EXCEPTIONS
                 UNOPENED = 01
                 UNSTARTED = 02.
    It looks like the 'FOOTER' window is under control of SAPScript, not of print program.
    Note: 'CONTROL_FORM' call is placed immediatelly before 'CLOSE_FORM', so at the last possible place.
    Kind regards,
    Grigor

  • What is use of Read-Text  command in Sapscript  plz replay

    What is use of Read-Text  command in Sapscript  plz replay
    i m geting problem with read-text command in sapscript as will as
    perform and endperform .

    Hi Majid,
              It's a function module to read the texts from a text file. Generally it is used to retrieve the long texts.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ´
    ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:  
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    Br,
    laxmi.

  • Text Prints as Black Instead of Assigned Swatch

    Hi, I have been having problems with text printing to a HP laser 5500dn printing as black in
    stead of the assigned swatch color.
    I am using CS3 on a Mac.
    It will print fine exported to PDF or printed on an inkjet.
    I have reset preferences.
    In the print dialogue box I have the following settings.
    I DO NOT have "Text as Black" selected.
    Color Management is: US Web Coated SWOP v2
    Color Handling is Let InDesign determine Colors
    Printer Profile is Document CMYK US Web Coated SWOP v2
    Output color is Composite CMYK (Unable to change in this configuration)
    Lastly, after printing and then closing the document,ID asks to save changes, When I cancel and review what edits were done, the last edit comes up as
    "Undo Change Ink"
    I don't know what that means.
    Suggestions?
    Thanks

    Thanks for your help.
    I haven't deleted the swatch or converted to another color.
    Not sure what you mean by aliasing the swatch.
    I did as suggested and looked in the printer setup in the print dialog and did not see anything to print text as black.
    So I ended up changing the text to several different colors and now it prints those colors fine.
    I think the color is so dark as to appear to be black when printing even though it is very apparent on the monitor that it is much different than black.
    I know that monitor colors and printer colors won't match, but this had me very baffled.
    Especially as the PDF printed much differently.
    So I guess I am going to print from the PDF to make sure the colors are as I want them to be.
    I work predominantly on a PC with CS3 that does not have Indesign; the Mac has CS3 with InDesign. The Mac routinely prints all documents much darker than the PC and what is displayed on the screen.
    Thanks, again.

  • Black text prints white

    I finally purchased a copy of iWork '08 and merrily created about 80 slides only when I went to print them out I discovered that the image of the text was in most places white. If the text was in a box it printed and some of the grey text printed along with all text I have set up to fade in or out as the presentation progresses. The details:
    The black text appears in preview but appears white due to the colored background.
    Changing fonts does not help.
    All other programs print fine. I am printing on a Canon MP830, the text does show up on my Laser.
    If I export it to a .pdf the problem follows, even though the text appears on the screen and in preview.
    If I change the color of my text from black to red, or blue it prints fine, shades of grey do not.
    If I export the file to power point and print it from an old version I have in a "Classic" partition running OS 10.4 it prints but when I installed iWork in this partition I get the same result.
    The printer, my software, and iWork has the latest updates installed.
    This is obviously (well maybe not so obviously since it could be a virus no one has caught up with yet) a huge bug in iWork and how it handles black text (I don't know about graphics because there are not black graphics in my slides). I spent several hours reading through the "Discussions" and there are quite a few instances where black text comes out white, blank sheets print out, conversions to .pdf come out with no text ect.
    Does any one know of a work around for this? My only option currently is to fix this or return iWork and go back to Micorsoft with my tail between my legs and purchase Office.

    Presets is set to "Standard" I never changed it. If I select the drop down window there is a choice for "last used settings" and a "Save As".
    I did manage to get my slides printed by saving the file as a Power Point, opening it in a old Office 2001 version of Power Point I have in a "Classic" partition. After a little reformatting they printed perfectly on the same printer. Its kind of sad to have a 8 year old Microsoft program out-perform the latest program from Apple. Of course I will say that using Keynote was enjoyable, but if you can't reliably Print and Export the program is useless no matter how many useful features it comes with.

  • Text prints as bold when it's not bold :(

    Hi,
    I'm using Windows 7 and InDesign CS6. When I print PDF documents from files that have been created in InDesign some lines of the text print out bold when they are not bold and they also look a little fuzzy. I am creating the PDf using the "[High Quality Print]" option. I have tried changing several settings on the printer but nothing makes a difference. The problem doesn't occur when I print in black and white nor does it occur on PDF's I create from word or other applications. Can someone please help? Thanks Mel

    Try updating the driver to a newer version for your printer.
    And if you can get a Postscript Driver for your printer.
    I had a similar issue last year and installing a postscript driver fixed the issue for me.
    What printer are you using?

  • Text Standard in Sapscript: Problema with background color

    Hi all !!!
    I have uploaded a digital signature via RSTXLDMC program (I cannot upload the digital signature via SE78 because i have set position in the main window). When i display the sapscript, the background colour is white, but when i print the sapscript the background color changed to black.
    Does anyone know why this is happening ?
    Thanks
    Sebastian Quezada

    Welcome to SDN.
    If you are using a BMP image file then save it as 256 bitmap file and then upload it. Even after that if issue persist check with your BASIS for the drivers.
    Regards,
    Amit

  • Stop it from using photo black ink for black text printing and where has the color ink gone?

    My HP Photosmart Prem C310 series all in one is using the Black Photo ink cartridge for text printing instead of the XL Black that I put in it for text printing. How can I get it to use the right cartridge for printing? Also, even though I have NOT printed ANY photo's and very few pages of text the new set of color cartridges I put in it a few months ago are almost empty. Why? How could they be almost empty when I have NOT printed anything in color? This is getting ridiculous replacing ink cartridges every few months WHEN I HAVE NOT BEEN PRINTING ANYTHING!!!
    The set of ink cartridges that came with it lasted for several months. Since then I've gone through two sets in less than a year. That's 3 sets of ink cartridges when I have only printed 3 photo's when I first set it up. And have only used les than a 1/4 of one package of printing paper. I've only put paper in it twice. Each time it was about a 1/4 inch or 3/8 of an inch thick stack of paper in the tray. I've even tried shutting the printer down when its not being used for a long period of time but the ink is still disapearing. Where is it going? Why is it going there? How do I stop it? This is rediculous. I may as well junk the thing even though it still works because I cant aford to keep feeding it ink when its just sitting there doing nothing most of the time.
    Thank you
    This question was solved.
    View Solution.

    I just got another email from HP about this problem wanting to know what I found for a solution to this problem. From all of the suggestions from the HP tec support all of them pretty much kept saying the same thing. That it is my fault that it's using so much ink because I have it on the wrong settings. One tec did slip and say that it doesn't matter what settings you have it on it will always use the Photo Black cartridge for printing plain black text and it doesn't matter if you have a X-Large Black cartridge in it for text printing because it was made to always use the Photo Black for text and even use some of the colors to blend with the black to make it stand out. Why anybody would need this when just printing shipping labels and things like that I don't know.
    Any who, The only solution for this problem is,,,, junk the printer and get a different brand & model of printer. Research it before buying to find out how much ink it wants to waste and if it will still print black text if it only has a black cartridge in it. I was going to get rid of mine by giving it to a friend since they don't have a printer. But since I want to keep him as a friend I decided not to give it to him. Since it cant be traded in for a different one even though it still works, Its going to the target shooting range the next time I go out shooting. Maybe I'll take a few video's clips of it getting blasted to pieces with a Ruger 10-22 .22 cal. rifle with 25 shot clips, a Ruger Mini-14 Ranch Rifle shooting .223 cal with a 30 shot clip, a Chinese SKS 7.62 with a 30 shot clip. And maybe use my Ruger P89 9mm pistol and put a couple 15 round clips of 9mm in it. If there's anything left I'll finish it off with a few 3" magnum loads of #2 steel shot with my 20 gauge shotgun.  Then I think I'll do the same thing to my Westinghouse 46" flat screen HDTV that just died.
       Then maybe I'll come back and post the video's of my "solution to this printers problem". It may not fix the problem, but it will be an entertaining way of getting rid of the problem.

  • Laser Jet Printer/Color Text Prints Grey

    Hi everyone, I have a HP LaserJet 2430, black & white printer hooked up to my iMac. I'm running Snow Leopard 10.6.6. When I want to print, for example, an email where a color was used for the font, the colored font prints in grey. When I was able to use the printer driver of my choice, I believe I used a PS or post script driver and everything printed in solid black. Now that the operating system is choosing the drivers for us, I seem to have this grey text issue. I've tried going to HP and downloading older drivers but they wouldn't install on my system, something about the drivers being older versions or something. I'd sure like to be able to choose my own drivers. Can anyone lend any help on this?
    I am able to make the colored text print a little darker but I have to go through many dialog boxes to change different settings and I just want to print quickly but any application but be able to read the text a little easier.
    Thanks for any help!

    Hello Arifbutt72,
    To get your issue more exposure I would suggest posting it in the commercial forums since the Color LaserJet printer 3600 is a commercial product. You can do this at HP Enterprise Business Community.
    I hope this helps!
    RnRMusicMan
    I work on behalf of HP
    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" to say “Thanks” for helping!

  • Is printing to generic text printer and hand-coding the report possible?

    We have created Oracle Reports that are formatted to print to Zebra printers. We code the report in Report Layout and the text printed is for generic text printers, what our Zebra printers requires. Can this be done with APEX reports?
    Example:
    ^xa
    ^ilr:val_set.grf2^fs
    ^fo88,132^a0,90,80^fb464,1,0,C,0^fd&<ACCESSION>^fs
    ^by2,3.0,32^fs
    ^ft64,402^BCb,32,n,n^fd&<FARMFIELD>^fs
    ^ft600,402^BCb,32,n,n^sn&<LOCLOW>,1,y^fs
    ^fo304,232^a0r,20,20^fd&<LOCTYPE>^fs
    ^fo334,232^a0,50,45^sn&<LOCLOW>,1,y^fs
    (skipping some code here for brevity)
    ^pq&<LOC_ROWS>^fs
    ^xz
    Asking whether APEX can print to generic text printers and can we code the report output
    ourselves.
    Thanks for any help.
    dave

    Here is a simple example of printing via pl/sql to a text file...
    create or replace procedure utl_file_io is
    l_fil utl_file.file_type;
    l_buf varchar2(200);
    begin
    l_fil := utl_file.fopen('TMP', 'amar_test.t', 'W');
    utl_file.put_line(l_fil, 'This is a sample text file.');
    utl_file.put_line(l_fil, 'Generated from Oracle utl_file package.');
    utl_file.put_line(l_fil, 'Below is the content of am1010 table.');
    for rec in (select col1, col2 from am1000) loop
    utl_file.put_line(l_fil, rpad(rec.col1, 15, ' ') || rec.col2);
    end loop;
    utl_file.put_line(l_fil, 'End of File');
    utl_file.fclose(l_fil);
    exception
    when no_data_found then
    utl_file.fclose(l_fil);
    end;
    This routine will generate a text file to the default directory on your server, you would need to build an Oracle directory and change the code to include the path to your file there. Getting it to the printer could be a simple shell script that copies the file out your your printer if it is on the network and can be seen..
    Thank you,
    Tony Miller
    Webster, TX

Maybe you are looking for