One pjob.print( ) call, 3 print (Graphics...) called

Hi everyone. Can I ask if my explanation is right?
In my app, there is one pjob.print ( aset ) called (where 'pjob' is
the printer job acquired from PrintJob's static method getPrinterJob( ),
and 'aset' is HashPrintRequestAttributeSet object.)
For 1 call of above, I get 3 print (Graphics g,PageFormat pf, int pgIdx)
called; 2 with 'pgIdx'=0 and 1 'pgIdx'=1.
In my W98 system, the printer and the scanner are connected to the
parallel port in daisy chain fashion. Also there are 2 printers registered
to the system although only 1 printer is physically connected.
So 2 calls with 'pgIdx'=0 are for the printer and the scanner, one for
each, while the 3rd with 'pgIdx'=1 is for unconnected printer.
Is my explanation right?
I don't think it is right because it doesn't make sense that 'pgIdx'=1 is
called while I specify the 1st entry in the printer list in the printer job
dialog. If print( ) is called to all printers connected, what is the printer
selection (from the printer entry) for?
Can anyone explain, please?

Hallo,
the reason for calling the method
public int print(Graphics graphics, PageFormat pageFormat, int pageIndex) throws PrinterException
}has nothing to do with how many printers are connected. The number of render-cycles depends on how much should be printed(how much memory is neeeded).
For example, if you print out some text the print-method is called 2 times -->
but when you print some text with transparency the print-method is called up to 24 times!
The only problem I have with your description is that your pageIndex increases to 1.
If you print out one page it should be 0, although it is rendered 3 times.

Similar Messages

  • Java printing : huge number of calls

    Ok, I know it is now documented that it is the normal api implementation to call multiple times the print function of a single Printable implementation and I can understand some of the key points( as stated "This is a requirement for banded raster printing in low-memory environments"), I alway see for truetype fonts at least 2 calls, no problem with that.
    But now let's consider you have to print a document using Type3 fonts, for which glyphs are in fact images.
    The following code simulate printing a single page (45 identical lines of the same 64 characters) using such glyphs, first begin with a 'preview' (only one call), then Ctrl-P to print.
    Running the sample on a standard computer (laser printer and 4gb memory : not a typical low-memory environment) takes 25 sec and need 2882 calls to print just a single page.
    I can't imagine anybody to use that sort of reasoning in a production environment.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import java.awt.print.*;
    import javax.swing.*;
    public class TestP
         public static void main(String[] args)
              glyphs=new Image[64];
              for(int i=0;i<glyphs.length;i++) {
                   glyphs=randomGlyph(32,32);
              final JFrame f=new JFrame();
              f.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e)
                        f.dispose();
                   public void windowClosed(java.awt.event.WindowEvent e)
                        System.exit(0);
              f.add(new Page());
              f.setSize(400,400);
              f.setVisible(true);
         static Image glyphs[];
         static Image randomGlyph(int width,int height)
              BufferedImage img=java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().getDefaultConfiguration().createCompatibleImage(width,height,java.awt.Transparency.TRANSLUCENT);
              for(int x=0;x<width;x++) {
                   for(int y=0;y<height;y++) {
                        if(((int)(Math.random()*100))%2==0) {
                             img.setRGB(x,y,Color.red.getRGB());
              return(img);
         static class Page extends JComponent
              private static final long serialVersionUID=1L;
              Page()
                   super();
                   getInputMap().put(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.VK_P,java.awt.event.InputEvent.CTRL_MASK),
                        "Print"
                   getActionMap().put("Print",
                        new AbstractAction() {
                             private static final long serialVersionUID=1L;
                             public void actionPerformed(java.awt.event.ActionEvent ae)
                                  doPrint();
              public void paintComponent(Graphics g)
                   test((Graphics2D)g);
         static int counter;
         static void test(Graphics2D g)
              Graphics2D g2d=(Graphics2D)g;
              int fontSize=10;
              g2d.translate(100,100);
              for(int y=0;y<45;y++) {
                   AffineTransform yat=g.getTransform();
                   for(int x=0;x<glyphs.length;x++) {
                        AffineTransform gat=g.getTransform();
                        g.scale(.01*fontSize,.01*fontSize);
                        g.drawImage(glyphs[x],0,0,null);
                        g.setTransform(gat);
                        g.translate(fontSize/2,0);
                   g.setTransform(yat);
                   g.translate(0,fontSize+2);
              counter++;
         static void doPrint()
              PrinterJob job=PrinterJob.getPrinterJob();
              Book book=new Book();
              PageFormat format=new PageFormat();
              Paper paper=new Paper();
              paper.setSize(595,842);
              format.setPaper(paper);
              format.setOrientation(PageFormat.PORTRAIT);
              book.append(new PrintablePage(),format);
              job.setPageable(book);
              if(job.printDialog()) {
                   counter=0;
                   java.util.Date b=new java.util.Date();
                   try {
                        job.print();
                   catch(Exception e) {
                        e.printStackTrace();
                   java.util.Date e=new java.util.Date();
                   long time=e.getTime()-b.getTime();
                   long sec=time/1000;
                   long ms=time-sec*1000;
                   double seconds=((double)(sec))+((double)ms)/1000;
                   System.err.println("printing took "+seconds+" seconds and "+counter+" calls");
         static class PrintablePage implements Printable
              public int print(Graphics g,PageFormat pageFormat,int pageIndex)
                   test((Graphics2D)g);
                   return(Printable.PAGE_EXISTS);
    Anyway, any production-environment-acceptable solution ?

    Hi,
    No, I do have number of pages when I am "building the pages". But i want to get the current pages "printed" after printing is started and before printing is completed. i.e. Current "Status" of the Print Job.
    This is same as in printer Window which shows current printing status.
    (e.g. Document Name, Status, Owner, Pages, Size, etc in a typical printer status window)
    There are print listeners which gives whether printing is started/completed, etc. But how to get current pages printed ?
    I want to show in my application on status bar something like :~
    "Page X of Y Printed" or
    "Printing Page X of Y...."
    Any pointers are appreciated.
    Thanks & Reards,
    Rahul

  • How do I get my HP Officejet Pro 8500 won't print from a program called "The Print Shop 12"?

    I can not get my printer to print from this one program I have called "The Print Shop 12." I don't get an error message, it acts like it want to print but then nothing.

    I do not know about the Print Shop program but I know that sometimes quickbooks has this issue. We have two different work around for this, 1st one  Click your start button go to your printer & devices folder and right click the 8500 printer and either RENAME it or go to Properties to Rename is to OJ8500 and then Apply and safe that change and try it.
    2nd step if that does not work, click start, go back to the printers and faxes and "add a printer" when you get to the list of manufactures click HP or Hewlett-Packard and look for the deskjet ICC printer and add it, naming it PrintShop and then you should be able to printer threw that program.
    Although I am an HP employee, I am speaking for myself and not for HP.

  • Calling Print Screen in Webdynpro

    Hi All,
    Please any one can give me an idea for calling Print screen in Webdynpro.
    Ex: I have  Button "PRINT IMMEDIATELY"   - when i click on this it should call the Print Dialog  for asking number of copies.
    Thanks,
    Anitha

    Interesting question,
    I think it's not possible to call a javascript directly from your Webdynpro.
    Maybe you can create a BSP with Javascript inside it and call this BSP from your Webdynpro (Maybe you can use LinkToURL instead of a button to make easier?).
    window.print();
    Good luck!
    Regards,
    Roelof

  • TS3367 how can i print off my facetime call history

    how can i print off my facetime call history

    0. Navigate to the screen you want to capture
    1. Press and hold down Home (round button center bottom)
    2. Press and release Sleep (top right button of phone)
    2a. You will hear a camera-like shutter sound
    2b. Release Home button
    3. Screenshot is in photo album
    Copy photos from your iphone to your computer, and simply print them from there.
    Hope I helped.
    Donnie.

  • Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to.

    Multiple users logged into one server, each users printer has a different name, application needs ONE name to print to. 
    I'm NOT in any way a Terminal Services expert and I need help trying to get an application program working in a multi-user environment.
    The issue is that the printer changes for every user that is logged in. The application needs to print NOT to the default printer, but to a "special" printer which is selected in the application... let's call it a label printer to simplify the explanation.
    You have your default regular printer, easy for the application to find that one, and then you have a special printer that labels get printed onto. The application needs to know what printer is the label printer. So we allow the user to select that in the
    application and the selection is stored in a config file in 
    C:\ProgramData\mfgr\prog\setting files
    I don't have access to the application so I can't change how this works.  
    In the "regular" world, selecting the label printer driver to use should be per machine, NOT per user. When a new user logs into a machine, the physical printer doesn't go "poof" and a new printer suddenly appear. Same printer for all
    users.
    Yet in terminal services, the physical machine is "merged" with the virtual machine on the server. And there can be many users logged in at the same time. So each users real machine (and real printer) is injected into the "fake" terminal
    services machine. The name of the printers is made unique for each user. So the printers DO go "poof" and change names depending on the user logged into terminal services.
    So user "A" logs in and sets up the application to print to "LabelPrinterForUserA" (or whatever the name of the printer happens to be), that setting is stored in the ProgramData subfolder, and all is well. Later, user "B" logs
    in, and when they print, the application tries to print to "LabelPrinterForUserA" which doesn't exist for user B or is only accessible by user A. If user B re-configures, that breaks it for user A. 
    SOLUTION 1: The way that /should/ work (in my mind) is that you define one "generic" printer in Terminal Services... call it "Virtual Label printer" and when the user wants to print to it, the print job gets re-directed back to whatever
    physical printer is actually connected to their local workstation. There is a map of virtual printer to actual printer depending on the current user. The application is told once to print to "Virtual Label Printer" for all users.
    SOLUTION 2: Or... there should be some way to make the ProgramData sub folders separate per user. E.g. when user "A" tries to access:
    C:\ProgramData\mfgr\prog\setting files
    they actually get 
    C:\UserData\UserA\AppData\mfgr\prog\setting files
    and user "B" gets
    C:\UserData\UserB\AppData\mfgr\prog\setting files
    So the question I have is: Does either of those solutions exist hidden somewhere in the setup of terminal server? Or is there another way around this issue that I don't know?

    I don't really have a "for sure" answer to this, but because people here can't seem to deal with a question that hasn't been answered I'll provide the best answer I did receive from ServerFault.com user Nathan:
    I can feel your pain with using old software on terminal servers ...the solution I've come up with definitely won't scale as it requires some manual configuration, but I've gotten this method to work with our label printers (which require to be
    printed to an LPT port...yep, that old).
    Share your USB-connected printers to the network on each machine. Then, have the user log in on aunique session for each of them
    (a TS account cannot be shared among computers for this to work) and install a network printer pointing to the USB one they shared. Try to use a DNS name to account for possible DHCP movements.
    After, it should work. Each user can do this since display names can be identical as long as the ports are different (which they are).
    This was clarified by the following series of comments:
    I think you are on to something here, and I originally advised the admin to do this. The problem he ran into is that it setup the printer names in the TS as "printer on usersworkstation"
    and he could not rename it except to change the "printer" to whatever. E.g. the "on userworkstation" remained. I believe there is another way of installing the printer which avoids this, but I can't find it. Ages ago, one used to do NET
    USE LPT2 \\computer\printer password /USER:domain\user /PERSISTENT:YES and then tell the driver to print to LPT2 –  James
    Newton Mar
    17 at 16:21   
    @JamesNewton That's actually the exact method we used. The way around the "network printer" part is to install it as local printer and map it to a TCP/IP port that way. –  Nathan
    C Mar
    17 at 16:28
    You mean in the case where the printers are TCP/IP connected and not local USB / LPT to the users workstation? That makes sense. Wonder if this will work for USB connected printers... –  James
    NewtonMar
    17 at 16:35   
    @JamesNewton You'd share the local printer on the client's PC then on the server connect via TCP/IP to it. You'd need static addresses or use DNS names if DHCP, though. –  Nathan
    C Mar
    17 at 16:51
    Ah. Yes. I see. Looks like the LPT thing should work even with a USB connected printer:superuser.com/questions/182655/… –  James
    Newton Mar
    17 at 17:09   

  • Only one line is getting printed in Table in Smartforms (ECC 6.0)

    Hello Sir,
    I am new in ABAP and doing Smartforms (ECC 6.0) on project from customer side.
    I have to deliver the object in time and it is already late, please help me.
    This is my question:
    Object :  Stock Transport Order.
    =======================
    I have created Table in main window after Program Line Node.
    >Main Window
    >>Code2
    >>Table1
    >>>Header
    >>>>Row1
    >>>>>Cell1 to Cell10
    >>>Main Area
    >>>>Row2
    >>>>>Cell1 to Cell10
    >>>Footer
    >>>>Row3
    >>>>>Cell1 to Cell10
    I have mentioned internal tabel as well work area table in "DATA" tab in table Node.
    In Row1 I have created Text Node in every cell having Column Heading.
    In Row2 I have created Text Node in every cell having variable.
    In Row3 all cells are blank.
    On output only one line is getting printed
    What could be the reason.
    =====================================================================
    This is Code1 (is in the beginning of the form in window1)
    ==========
    *& Selection of Purchasing Document No,Plant,Short Text,Quantity,Material No,
    *& Gross order value in PO currency
    select single ebeln werks txz01 menge matnr brtwr
    from ekpo into
    (v_ebeln,v_werks,v_txz01,v_menge,v_matnr,v_brtwr)
    where ebeln = DOCNO.
    *& Selection of Plant address
    select single adrnr from t001w into v_adrnr
    where werks = v_werks.
    *& For Selection of phone,fax
    select single name1 tel_number fax_number from adrc into (v_name1,phone,fax)
    where addrnumber = v_adrnr.
    *& For E-Mail Selection
    select single SMTP_ADDR from adr6 into mail where addrnumber = v_adrnr.
    *& For CST No.,GST No.
    select single J_1ICSTNO J_1ILSTNO
                  from J_1IMOCOMP into (CST,GST)
                  where werks = v_werks.
    *& Selection of Vendor Address No., PO date
    select single reswk aedat from ekko into (v_reswk,v_aedat) where
    ebeln = v_ebeln.
    *& Selection of Supplying (Issuing) Plant address
    select single adrnr from t001w into vendor
    where werks = v_reswk.
    *& Selection of storage location
    select single lgort from ekpo into v_lgort where werks = v_werks
    and ebeln = v_ebeln.
    *& Selection of description of storage location
    select single lgobe from t001l into v_lgobe where werks = v_werks.
    *& Fetching data into internal table from ekpo
    select ebeln ebelp matnr txz01 menge brtwr from ekpo into corresponding fields
    of table iekpo where ebeln = v_ebeln and werks = v_werks.
    Fetching data into internal table from marm for Pck
    select * from marm into corresponding fields of table imarm for all entries
    in iekpo where matnr = iekpo-matnr.
    Fetching data into internal table from mara for Pack Type Code
    select * from mara into corresponding fields of table imara for all entries
    in iekpo where matnr = iekpo-matnr.
    Fetching data into internal table from tvegrt for Pack Type Description
    select * from tvegrt into corresponding fields of table itvegrt
    for all entries in imara where magrv = imara-magrv.
    Fetching data into internal table from eket for Receipt Date
    select * from eket into corresponding fields of table ieket
    where ebeln = v_ebeln.
    Selection of Order Type from mepo_topline
    *select single bsart from mepo_topline into v_bsart where ebeln = v_ebeln
    *and superfield = v_werks.
    *if v_bsart = 'UB'.
    xhead = 'Replenishment Order'.
    *eleseif v_bsart = 'ZSTO'.
    xhead = 'Purchase Order'.
    *endif.
    *& Defining of variable for Printing Line Serial Number,Total Quantity,
    *& Total Value
    =====================================================================
    This is Code2 (is in the main window)
    ==========
    xln = 0.
    tmenge = 0.
    tvalue = 0.
    Loop for printing table
    loop at iekpo into wekpo.
      xln = xln + 1.
      xmatnr = wekpo-matnr.      " Material Number (Code)
      xtxz01 = wekpo-txz01.      " Material Name
      xmenge = wekpo-menge.      " Line Quantiy
      xbrtwr = wekpo-brtwr.      " Basic Rate
    *& Pck
      read table imarm into wmarm with key matnr = wekpo-matnr.
      xpck = wmarm-umren.        " Packing Size
    *& Num
      xnum = xmenge / xpck.      " Numbers of Packing
    *& Line Value
      xvalue = xmenge * xbrtwr.  " Line Basic Value
    *& Packing Type
      read table imara into wmara with key matnr = wekpo-matnr.
      xpacktype = wmara-magrv.   " Packing Type Code
    *& Packing Type Description
    read table itvegrt into wtvegrt with key magrv = imara-magrv.
    xpackdesc = wtvegrt-bezei. " Packing Type Description
    *& Receipt Date
      read table ieket into weket with key ebeln = v_ebeln.
      xrcpdt = weket-eindt.      " Receipt Date
    *& Report Total
      tmenge = tmenge + xmenge.
      tvalue = tvalue + xvalue.
    *& Serial No. increment
    endloop.
    =====================================================================
    Thanks and Regards,
    Yogesh Pathak

    Did you debug and check the umber of values in internal table before calling the TABLE Node....
    seeing all SELECT SINGLE along with WHERE = condition and no loop call on them, my assumption  is there will be on record only. Check in Debug mood. Search forum to find how to debug a smartform.

  • 6310 All In One - Crashes IE7 when printing, (hpzui054.dll?)

    I am calling on all you HP experts out there to assist me with a problem I’ve been experiencing with an HP Officejet 6310 All-in-One printer.  What happens is the employee will be printing web based reports from Internet Explorer.  She will click Print from the file menu and make some preference settings (draft mode, BW printing, fast printing).  The print dialogue box appears fine and she can make those preference changes, however, it is when she presses the print button that she witnesses the error.  What happens is, IE7 will crash (IE has experienced an error and must close…).  Her IE windows will close and the printer will not print the page.  She commented that she “knows” when the crash is about to occur because after pressing the print button, nothing happens for a few seconds, then IE crashes.  This is not every time she tries to print.  She may print (the exact same website) 5 or 6 times in succession and it will print fine.  Then, out of the blue, it crashes.  In one instance, she received an IE crash when she clicked the “Preferences” button in the print dialogue box.
    Printing in Word and Excel has not appeared to cause this problem.
    System Specs:
    The laptop experiencing the problem is a Dell E6400 32bit system running Windows XP SP3 with 2GB of ram and an 80gb hard drive and Internet Explorer 7.0.  It has all critical updates as of the week of the 23rd (Februrary).  .Net frameworks include: 1.0, 1.1, 2.0, 2.0 SP2, 3.0 and 3.5.  The laptop is a fresh install, and the employee commented that this problem happened on her original laptop before it was recently upgraded.
    Driver version is the latest (7.0.1), right from HP’s support website.  Connection method is USB.
    What I have tried so far:
    Uninstalled and reinstalled the printer using the included factory driver CD.
    Uninstalled and reinstalled the printer using the FULL driver package from HP’s website
    Uninstalled and reinstalled the printer using JUST THE DRIVER from HP’s website.
    Attempted to print without selecting advanced preferences (Fast draft, BW printing, etc)
    Errors details obtained during the times the crash occurred:
    AppName: iexplore.exe        AppVer: 7.0.6000.16791       ModName: ntdll.dll
    ModVer: 5.1.2600.5512         Offset: 000429fa
    I hit properties, then features, and error came before I could select fast draft.
    AppName: iexplore.exe      AppVer: 7.0.6000.16791     AppStamp:4949c35a
    ModName: ntdll.dll      ModVer: 5.1.2600.5512      ModStamp:4802a12cf
    Debug: 0       Offset: 000429fa
    AppName: iexplore.exe      AppVer: 7.0.6000.16791     AppStamp:4949c35a
    ModName: hpzui054.dll      ModVer: 60.54.45.0      ModStamp:443a1824f
    Debug: 0       Offset: 000d3a9e
    Our corporate issued laptops contain a “core” base group of programs (Office 2003, Adobe Reader, Vipre Antivirus, Sun Java, Google Toolbar).  We try to keep them clean of any unnecessary programs that may conflict.
    *Mention*, I have “Data Execution Prevention” on for Explorer.exe file.  I understand there was a bug a while ago that caused certain HP printers to print blank pages if this was enabled.  Not sure if it’s the same here.
    Hopefully the information I provided helps lead towards a fix for this rather annoying bug.  Reinstalling the operating system and/or reverting back to IE 6.0 is not an option.  The employee was reporting this problem with an older corporate laptop she was issued and I wanted to wait and see if the problem carried over onto the new laptop, which it did.  Let me know if you need any additional information from me and I thank you in advance.

    I have had no luck in troubleshooting the problem with the HP 6310 driver.  After doing some reading on the forums, I was pointed in the direction of using an alternative driver.  The forum poster recommended using the HP DeskJet 990c or HP DeskJet 5940 driver.  I tested both of these alternate drivers out and they sent print jobs just fine.  Below are instructions on how to setup an alternate print driver (using the 990c driver).  Those wanting to use the 5940 driver must download and install that driver first, then follow the steps.  The 5940 driver offers some advance features (such as "Fast Draft"), that the 990c driver does not.
    Step 1:  Install an alternate printer driver
    To install an alternate printer driver for a HP DeskJet 990C printer, follow these steps:
    1.  Click Start, Printer and Faxes.
    2.  Double-click the Add Printer icon.  Click Next.
    3.  When prompted, choose Local, and then click Next.
    4.  In the Manufacturers list, choose HP.
    5.  In the Printer list, choose the HP DeskJet 990C printer, and then click Next.
    6.  Choose LPT1 as the port, and then click Next.
    7.  The printer name should be listed as HP DeskJet 990C Printer.
    8.  Click No when the "Do you want your Windows based programs to use this printer as your default printer?" message appears.  Then click Next.
    9.  Click No when the "Would you like to print a test page (recommended)" message appears.  Then, click Finish.
    Step 2:  Configure the alternate printer driver
      1.  In the Printers Window, right-click the icon for HP DeskJet 990C printer.
      2.  Click Properties.
      3.  Click the Ports tab.
      4.  Click the down-arrow where it says "Print to the Following Port." Select DOT4_00x port that the all-in-one software created.  The all-in-one's model number should appear as part of the port destination.
      5.  Leave the HP DeskJet 990C printer identified as using the following driver, and click Apply.
      6.  Close the Printer Properties window.
    It is still too early to tell if this drive will be a suitable substitute.  However the tests so far have appeared promising.

  • HP Officejet 6800 e-All-in-One-series - issues with printing from MSWord / Setup

    I have been trying to set up the HP Officejet it seems for over 2 weeks - it works then doesn't - I dont want to return it but if it doesnt work proper .... I removed and reinstalled software - yesterday printed from MSWORD - today its not --- it will print pages off the internet but not from my MSWORD - its set up wirelessly - so frustrated - and what's worse is I am HP lover and now I cant even find a HP support phone number to call and I am pretty sure I remember being told while I was making my purchasing decision I could call HP for support with reference to set up when I bought the printer. Can someone tell me if the printer then not working is normal for this printer - with reference to printing MSWORD etc and if not is there some special place I am suppose to click to fix - thank you in advance 

    Hi @TheoD,
    Welcome to the HP Forums!
    Sorry to hear about your frustration with not being able to print from MS Word with your HP Officejet 6800 printer. But I am happy to help!
    It is definitely odd that this printer is not printing from MS Word but will from the Internet. I am not seeing much documentation for an HP Officejet 6800, is it possible that you have the HP Officejet 8600? Just double-checking to make sure I provide the correct information. To find your printer's Product/Model Number follow instructions in this link. Finding Your HP Product Model Number.
    For further assistance, I will also need to know what Operating System you are using. Windows or Mac? What version? If you do not know the Operating System you are using, please visit this website. Whatsmyos.
    If you are using Windows, please try our HP Print and Scan Doctor, and let me know what happens!
    Otherwise, if you still prefer to call someone, please call our phone support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. Country-language selector.
    Have a nice day!
    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!

  • My HP Photosmart all in one C4480 will not print from PC

    I can't get my printer to print from my computer. Everything shows it's hooked up fine and ready to go. Yet when I try to print, nothing happens! Driving me crazy. Not sure if this is simply a bad printer or what. I've tried everything from unplugging, unhooking, rebooting, reinstalling, updating drivers and everything else. I've run out of ideas. Any new ideas would be appreciated.

    Oddly @FlaBoy34, I did not get a notification that you had responded. I do see now that the issue you were experiencing remains. I suggest calling us to discuss your in/out of warranty options.
    If you are in Canada or US call 800 474 6836, or you can Contact HP Worldwide.
    HP printers generally have a 1 year warranty from their purchase date, you can verify the warranty using the following link if you would like; warranty check. 
    I hope this helps.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Call a Graphical Calc view with input Parameters from a Script Based Calc View

    Hi All.
    I am trying to call a graphical calculation view with input parameters from a script based calculation view as below but getting syntax error:
    SESSION_SAMPLE = SELECT SESSION_CREATE_DATE,SHA256,CA_MEASURE
                                 FROM "_SYS_BIC"."WILDFIRE/CV_SESSION_SAMPLE"
                                 WITH PARAMETERS  ('PLACEHOLDER' = ('$$IP_START_DATE$$',:START_DATE),
                                     'PLACEHOLDER' = ('$$IP_END_DATE$$',:END_DATE));
    START_DATE  and END_DATE are input parameters of the script based calculation view.
    Can anyone please help me with the correct syntax for accomplishing this?
    Thanks,
    Goutham

    Hi Gautham,
    One more option  what i would like you to try is the below option , here i have just changed the order of passing nothing else.
    SESSION_SAMPLE = SELECT SESSION_CREATE_DATE,SHA256,CA_MEASURE
                                 FROM "_SYS_BIC"."WILDFIRE/CV_SESSION_SAMPLE"
                                   ('PLACEHOLDER' = ('$$IP_END_DATE$$','$$END_DATE$$'),
                                  'PLACEHOLDER' = ('$$IP_START_DATE$$','$$START_DATE$$'))
    Regards,
    Vinoth

  • Does white need to be transparent for one color t-shirt printing?

    Hi,
    I made one color (black and white) graphic as an Illustrator file for a guy who is printing it with one color on t-shirts. Some of the white areas are formed from white objects on top of black objects and some are transparent areas like the background that shows when the Show Transparency Grid is selected from the View menu .
    The guy told me his printer said that there are  white objects in the graphic that need to be transparent.
    I don’t have any other information. I don’t know what kind of printing, printer, and t-shirts are used. Initially the guy told me not to worry about that, he will prepare the graphic for print but now he is asking me to turn the whites to transparent. Given the situation, I’m suspecting if this is the right approach.
    I would like to learn the right way of doing this and I will greatly appreciate any advice, and input. 

    If you make a compound path...the artwork will be OK.
    That cannot be assumed as true without actually seeing how the artwork is built. In any of these situations,  a normal even-odd winding will cause unwanted black reversals:
    Difference regions between any white and black fills (for example a white path only partially overlapping a black path).
    Intersection regions between two or more white fills.
    Intersection regions between two or more black fills.
    Without knowing the artwork stack, the most likely "one-size-fits-all" solution would be the Merge Pathfinder. But even that assumes that all paths are filled, unstroked paths; no Brushes, etc.
    But as has already been stated, when printing separations or composite, white means "no ink" unless the white is a spot color Swatch. The strange-sounding request from the printer may also be due to white objects being accidently set to overprint.
    The surest thing for a beginner not understanding any of the above would be to just rasterize the whole thing to 1-bit at a moderate resolution, assuming it is all line art and is drawn at 100%.
    JET

  • Error no. 4 in SAPGUI with Graphics call or file  transfer

    Hi Experts,
    I have a requirement that is " I need to display the selected data from database table in bar chart".
    I am using the Function Module " GRAPH_MATRIX_3D ".
    I am getting the following error message.
    " Error no. 4 in SAPGUI with Graphics call or file  transfer "
    Please can any one help me on this,
    It is very urgent I need to deliver this to client very soon.
    Please.....
    Thanks
    Basu

    Hi,
    have a look at the pdf that comes with the download package. It describes how to structure your data (depending on the chart type).
    Use the Chart Designer to create your customizing settings (chart type, colors etc) and save them as a customizing XML file.
    Finally have a look at report GRAPHICS_IGS* that shows how to use the XML in your own report and send them to the IGS (by using the class CL_IGS_CHART_ENGINE).
    Regards, Kai

  • Calling paintComponent(Graphics g) in another class

    Dear Friends,
    I have a class (Class Pee) where I implemented the paintComponent(Graphics g) and another class (Class Bee) where I generate some datas. My intention is to call the paintComponent(Graphics g) method in class Pee at class Bee to make use of the generated data to draw some figures.
    I imported java.awt .Graphics, java.awt.Graphics2D, Polygon and geom and declared Graphics2D g2d = (Graphics2D) g; as well, but still when I call paintComponent (Graphics g) it fails to recognize the g. What is actually wrong.
    See code:
    Class Pee
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Polygon;
    import javax.swing.JPanel;
    public class Pee extends JPanel{
    private int offset;
    public void paintComponent(Graphics g, int b[], int c[]){
    super.paintComponent(g);
    Graphics2D g2D = (Graphics2D) g;
    this.setBackground(Color.white);
    Class Bee
        import java.io.*;
        import java.util.*;
        import java.awt.Graphics;
        import java.awt.Graphics2D;
        import java.awt.geom.*;
        import java.awt.Polygon;
       import Graphic.Pee; //importing Pee Class
    public class Bee{
    int x[];
    int y[];
    // other variable declaration
    public Bee{
    x = new int [5];
    y = new int [5];
    Pee dr = new Pee();
    Graphics2D g2d = (Graphics2D) g;
    //code to generate data
    dr.paintComponent(g,x,y);
    }It always say that "g" cannot be resolved. Please how do I get over this.
    Thanks,
    Jona_T

    Swing calls the paintComponent method when we ask a component to draw itself. We do this by
    calling its repaint method. So the general approach is to change the data in the component
    that does the graphics for us and then ask the component to repaint itself. Swing does the
    rest. One benefit of this way of doing things is that the graphic component keeps the data
    and can render all or any part of it at any time. Trying to get a reference to the
    components graphics context from within another class and using it to draw graphics in the
    graphics component prevents this and the foreign class event code can never know when the
    graphics component needs to be re&#8211;rendered.
    So the idea is to keep the graphics/rendering component independent from the event code. The
    event code controls the state (member variables) in the graphics component and tells it when
    to re&#8211;render itself.
    There are a lot of (creative) ways of putting these things together. Here's an example.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.util.Random;
    import javax.swing.*;
    public class CallingGraphics implements ActionListener {
        GraphicComponentClass graphicComponent;
        DataGenerationClass   dataGenerator = new DataGenerationClass();
        public void actionPerformed(ActionEvent e) {
            Point2D.Double[] data = dataGenerator.getData();
            graphicComponent.setData(data);
        private JPanel getGraphicComponent() {
            graphicComponent = new GraphicComponentClass();
            return graphicComponent;
        private JPanel getLast() {
            JButton button = new JButton("send data to graphics");
            button.addActionListener(this);
            JPanel panel = new JPanel();
            panel.add(button);
            return panel;
        public static void main(String[] args) {
            CallingGraphics test = new CallingGraphics();
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(test.getGraphicComponent());
            f.getContentPane().add(test.getLast(), "Last");
            f.setSize(400,300);
            f.setLocation(200,200);
            f.setVisible(true);
    class GraphicComponentClass extends JPanel {
        Ellipse2D.Double[] circles = new Ellipse2D.Double[0];
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            for(int j = 0; j < circles.length; j++) {
                g2.draw(circles[j]);
        public void setData(Point2D.Double[] p) {
            double w = getWidth();
            double h = getHeight();
            double dia = 75.0;
            circles = new Ellipse2D.Double[p.length];
            for(int j = 0; j < circles.length; j++) {
                double x = p[j].x*(w - dia);
                double y = p[j].y*(h - dia);
                circles[j] = new Ellipse2D.Double(x,y,dia,dia);
            repaint();
    class DataGenerationClass {
        Random seed = new Random();
        public Point2D.Double[] getData() {
            int n = seed.nextInt(25);
            Point2D.Double[] locs = new Point2D.Double[n];
            for(int j = 0; j < n; j++) {
                double x = seed.nextDouble();
                double y = seed.nextDouble();
                locs[j] = new Point2D.Double(x, y);
            return locs;
    }

  • 6510 all in one photosmart printer - not printing black and/or not at all after 7/22/15 update....

    Printer not printing in black at all, poor color print since 7/22/15. I have downloaded drivers and software, hard reset the printer (power cord out and unplugged then plugged all back in), read all the forums, watched youtube videos, called friends, googled answers, bought new ink (waste of money), cleaned print head multiple times, did every step on every forum post to no avail...  Bought a new printer but really would rather return it and get my money back after getting this printer up and running again- why because I think the problem is due to HP and the new update released 7/22/15! I'm very upset, I have spent countless hours attempting to fix this printer (which I really do love up until now).  I have lost credit on school assignments due to printing issues, wasted money on ink (that is really expensive) and wasted the ink trying to fix it running test page after test page.  I feel like this is not fair to the consumer and I am very upset.  I am ready to throw this thing in the street and smash it to pieces with a baseball bat at this point.  I really would rather fix it but apparently this is the only way to contact someone.  I have had this printer for 3 years and do not think I need to replace it or spend money to call someone from HP to fix it nor do I feel like I need to have it "serviced", nor do I wish to waste any futher time or money on the expensive ink this printer requires. 

    Hi there ,
    I have brought your issue to the attention of an appropriate team within HP. They will likely request information from you in order to look up your case details or product serial number. Please look for a private message from an identified HP contact.
    Additionally, keep in mind not to publicly post serial numbers and case details.
    If you are unfamiliar with how the Forum's private message capability works, this post has instructions
    Regards,

Maybe you are looking for

  • MIGO Transaction Error

    Dear All,              We are facing error in MIGO Transaction,after applying PATCHES In Development Server. The Particular Include-Program which is containing Data Variables after application of Notes was resetted.That Include program is not allowin

  • ANYONE trying to connect to Xbox Live w/ GT704WGB PLEASE READ!!!!

    I have been having issues connecting to xbox live all week. Just got new phone/interent service set up monday(2-22-10) Could not connect to Xbox live, wired or wireless, but had not problem connecting wirelessly w/ laptop. the xbox first said NAT set

  • Changing value in JcomboBox

    hi, i am new learner in java programming language. i trying to develop a Greenwich inn resort reservation system. i am adding 2 JCombobox in the JFrame and adding 2 Action listener to the 2 created JCombobox in oder to reset the value in Jcombobox. j

  • Iphone 2g wont start

    Hello, the battery of my iphone 2g went off while it was in recovery mode i tryed everything now .. the only thing i could remember is that is was really hot at the backside. please help me thanks in advance

  • BPA Help please...Urgent !

    Hi all... I have now been asked to prepare the business case for BPM. A quick couple of questions if I may * What platform does BPM run on??? * I assume it's an Oracle database?? * Can it co exist alongside other oracle products or does it need separ