Cant flush printing queue

Hello guys,
Im developing a POS application on NB IDE 6.1 with JDK 1.6 on Swing
The problem im facing at the moment is that once I try to print a ticket (or the exact word is receipt?), it works perfectly but after that one, the next tickets will show the information of the last ones.
I dont know if Im explaining myself well... if I print the first ticket, I see the ticket printed correctly. But when Im going to print another one, I get the last ticket printed and the new one.
For this matter Im using the Printable Interface.
What I do is this:
    Print p = new Print(imprimir);
    p.PrintAndCut();//this one does the dirty job for meAfter this Ive tried calling System.ou.flush() with no help.
Here is the code of the class:
public class Print  implements Printable {
   static JTextArea textarea = new JTextArea();
   static JFrame   window = new JFrame("Print Sample");
    public Print(String imprimir) {
        Font titleFont = new Font("helvetica", Font.BOLD, 12);
        textarea.setFont(titleFont);
        textarea.append(imprimir);
  public static void main(String args[])   {
    final Container cp = window.getContentPane();
    LayoutManager lm = new FlowLayout(FlowLayout.CENTER, 20,20);
    textarea.setEditable(false);
    window.setVisible(false);
  //this is the function I use to print anything I want on the POS printer
   public void PrintAndCut() throws Throwable {
      PrinterJob printerjob = PrinterJob.getPrinterJob();            // get a printer job object
      PageFormat format = new PageFormat();//job.defaultPage();
      format.setOrientation(PageFormat.PORTRAIT);
      printerjob.setPrintable(this, format);     
      try {
         printerjob.print();            // print the page(s)  (this method with call the page painters)
        } catch (PrinterException exception) {
         System.err.println("Printing error: " + exception);
   public int print(Graphics graphics, PageFormat pageFormat, int pageIndex)
      throws PrinterException {
       String strText =null;    // text string to output
       int lineStart;           // start index of line in textarea
       int lineEnd;             // end index of line in textarea
       int lineNumber;          // current line in textarea
       int lineCount;           // total number of lines in textarea
        if (pageIndex >= 1 )
           return Printable.NO_SUCH_PAGE;
       // move the drawing origin to the imageable area ( makes sure its drawn where the printer can )
       graphics.translate((int)(pageFormat.getImageableX()), (int)(pageFormat.getImageableY()));
       graphics.setColor(Color.black);
       // get the text from the textarea one line at a time
       lineNumber = 0;
       lineCount = textarea.getLineCount();
       strText = textarea.getText();
       while (lineNumber < lineCount) {
          try {
             lineStart = textarea.getLineStartOffset(lineNumber);
             lineEnd = textarea.getLineEndOffset(lineNumber);
             strText = textarea.getText(lineStart, lineEnd-lineStart);
          } catch( Exception exception) {
             System.out.println("Printing error:" + exception);                  // have to catch BadLocationException
          // determine drawing location of each successive line
          graphics.drawString(strText,0,(lineNumber + 1) *20);
          lineNumber = lineNumber + 1;
        return Printable.PAGE_EXISTS;                      // page was drawn successfully (return NO_SUCH_PAGE if not)
   }Any help or advice would be appreciated. Thanx

I have also tried System.out.close();
I just dont know what else I can do.
Thnx

Similar Messages

  • Bizarre solution for OfficeJet Pro K5300 problem when Word docs hang in the print queue spooling

    A bizarre solution to a spooling problem.
    Problem:
    Word documents sent to an HP Officejet Pro K5300 Series printer hang in the print queue, saying “spooling”. They do not print, and cannot even be cancelled.
    Solution (Bizarre Solution).
    The solution that worked for me was to rename the printer by removing the first space after “HP” in the printer’s name. When I did this, Word could then print to the printer. If the space is then re-inserted back into the printer-name then Word is still able to print!! I don’t know how, but it worked, and it worked on two separate installations! The full explanation is below with more options for testing that still need to be explored, or preferably explained by HP and or Microsoft.
    First here is some background. My computer is an IBM NetVista 2.4GHz, P4. It has a 250GB HDD with lots of room and 2GB of RAM. My operating system is Win XP Pro with Service Pack 3. My anti-Virus in Trend Micro Internet Security 2009, updated regularly, (I turned it off while installing the printer software). I use Office Professional 97, with Office SP2b).
    I bought a new HP Officejet Pro K5300 printer.
    I installed the printer software, and followed HP’s directions strictly. I used the installation CD that was supplied by HP. My connection to the printer was USB.
    The installation proceeded uneventfully and I printed a test page after it finished.
    After that I printed a configuration page, then I printed a couple of photographs using Irfan View. The quality was great and I was pleased.
    Then I tried to print a 2-page Word document, using Word 97, but nothing happened. No response from the printer, no error messages, just silence. I clicked on the printer icon on the task bar to look at the print queue and saw that my document was listed as “Spooling”, but it was not making any progress. I waited a couple of minutes but still no progress. I tried canceling it but it would not cancel/delete. The job on the queue would not respond to anything. I could not print it and I could not cancel it. The only way I could recover was to shut down Word, which flushed the queue and lost the job.
    I tried this a few more times but with no success.
    I did a Google search for this problem, and I found a few solutions. I tried them, but none worked. I checked HP’s website and found this problem listed, with some solutions from HP. I tried HP’s solutions, but they did not work either. In fact, when there was a Word document stuck “spooling” in the queue, HP’s diagnostic utility said that it could not even communicate with the printer, and suggested that my USB connection was bad. However, when I flushed the queue by shutting down Word, I could successfully send a Test Page to the printer, and I could print a detailed PDF from Adobe. So Word was the problem, not my USB connection.
    After a pondering this problem over the next few days, and keeping in mind the fact that the default HP printer-name was “HP Officejet Pro K5300 Series”, I remembered that many years ago I could not get an Excel VB macro to select a printer, and print to it, if the printer-name had any spaces in it. I had noticed that the HP default printer name had 4 spaces in it, so I wondered what would happen if I renamed the printer by removing the spaces from its name.
    So I renamed the printer to “HPOfficejetProK5300Series” (no spaces), and voila! Word could now print to it!
    Then I wondered, if it was necessary to remove all of the spaces from the name, or just some of them, to get the printer to work, so I renamed the printer back to it’s default name in 4 stages, at each stage re-inserting one of the original spaces, and testing the printing. At each stage the printer kept successfully printing from Word, until I had re-inserted all four spaces and the printer’s name was back to being identical to the default name that it was installed with, but now it would print from Word on command.
    So why was it that Word could not get the printer to print with the printer’s default installed name, but if I removed all of the spaces from the printer’s name, then re-inserted them, the printer would print from Word every time?
    So I did another test.
    I uninstalled the entire printer software package and installed the updated Full Feature software package, filename “OJProK5X00_Full_8_3.exe”, 159MB download from HP.
    After the package was installed, Word could NOT print to the printer, but other programs like Adobe PDF reader, and Irfan View, could print to it. I tried each software package about three times each, with consistent results.
    I then renamed the printer, but this time I just removed the first space after the letters “HP”, i.e., I changed the printer’s name from “HP Officejet Pro K5300 Series” to “HPOfficejet Pro K5300 Series”. After I did that Word could then print to it. I then changed the printer’s name back to “HP Officejet Pro K5300 Series” by re-inserting the first space, and Word could still print to it now.
    I challenge someone from HP to read this and explain why Word won’t print to this printer until I rename the printer by removing a space, but can still print to it after the space is re-inserted!
    Of course, there is another alternative. Perhaps I could have renamed the printer by removing or changing any of the other characters, instead of the spaces. But each test involves completely uninstalling and re-installing the software, and I have better things to do with my time.
    This question was solved.
    View Solution.

    What an amazing solution!
    I recently purchased an HP Deskjet F4580 and had discovered that when using Word 97, it would print OK when using the Print icon but when trying to print using File->Print->choose page number or current page, Word would crash. Excel, Adobe etc would all print fine. I have spend many hours removing and then reloading the HP software and Office Professional software but this solution fixed the problem in a few minutes. PC is running XP Home SP3.
    Just one thing I would add is that my computer has two accounts - one is the Computer Administrator account and the other is a Limited account. When I took out the space between HP and Deskjet so the printer became HPDeskjet F4500 series, I could then print from the Administrator account using either  the print icon or File->Print->choose page number or current page. When I switched to the Limited account, I would get the same crash when I tried File->Print->choose page number or current page (OK with icon). The Limited account mode does not allow the printer to be re-named.
    I went back to Admin mode, re-classified the Limited account as a Computer Administrator account, logged on to this account and re-named the printer (in this case I took out another space so it became HPDeskjetF4500 series. Then it printed fine using the print icon or using File->Print->choose page number or current page. I then went back to the Computer Administrator account, re-named the printer to HPDeskjet F4500 and re-classified the second account back to Limited account mode. Now printing OK in both Computer Administrator account mode and Limited account mode.
    Thanks again!

  • How to create HP LaserJet 2420 printer queue on Solaris 10

    Hi Solaris Gurus,
    I am having difficulty creating a printer queue for HP LaserJet 2420 on Solaris 10 (11/9) Sparc (Sun Fire T5220) server. A popular method used is with hppi (HP Jet Direct) tool but it does not have the exact printer driver and alternative printer drivers (e.g. HP LaserJet 4 / 4M, HP LaserJet 2000 series) resulted in only part of the text occupying the wrong side of an A5 page.
    An alternative approach that has worked in the past for simple default paper tray 2 (single paper tray), with tray 1 reserved for manual feed. This method involves creating a working printer queue on a Windows workstation (XP) / server (2000) with the correct driver and having configured to support Unix printing to receive LPR request from Unix systems in general. A remote printer queue would then be defined on Solaris 10 system which points to the Windows system. However, the printing jobs kept going to tray 1 (top manual feed) even though the Windows printer queue was configured to go to tray 3 (bottom tray).
    The earlier method would be simplest but needs the right driver (PDD) but I don’t know where to find it. The latter approach is also not working despite having got the right driver on Windows. A test page on the target Windows printer queue would print to tray 3 (bottom tray) of the printer correctly.
    Printmgr does not work well with HP printers from experience. It is good for serial and local printers.
    Your advice would be much appreciated.
    Thanks,
    Crystal

    Hi Giogio, and welcome to the HP Forums.
    I am sorry to be the bearer of this news, but do the age of the printer, it is not supported by Mac OS X 10.9. I am including a list below of the supported printers from Apple:
    OS X: Printer and scanner software available for download.
    For more information, I would recommend contacting the Apple Support Communities.
    Thank you for posting on the HP Forums.
    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!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • How to use Linux Print queue in client_text_io.fopen to print from Windows

    We have a forms application deploed on LINUX (Oracle application server 10g).
    I have to print a file from local windows PC to a linux Print Queue from forms
    I have the following code
    PROCEDURE file_to_printer (i_filename_output IN VARCHAR2
    ,i_network_printer IN VARCHAR2) IS
    l_line VARCHAR2(2000);
    l_fileid_output client_text_io.file_type;
    l_fileid_print client_text_io.file_type;
    BEGIN
    l_fileid_output := client_text_io.fopen (i_filename_output,'R');
    l_fileid_print := client_text_io.fopen (i_network_printer,'W');
    WHILE 1 = 1 LOOP
    client_text_io.get_line (l_fileid_output, l_line);
    client_text_io.put_line (l_fileid_print, l_line);
    END LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    client_text_io.fclose (l_fileid_output);
    client_text_io.fclose (l_fileid_print);
    END file_to_printer;
    Everything works fine if I use a windows printer like \\machine\printer.
    I want to use a Linux printer and specified the print queue as
    \\machine\print_queue_name. It's not working
    and I get error ORA-302000 on the following line
    l_fileid_print := client_text_io.fopen (i_network_printer,'W');
    and if I give only the queue name no error but it's not printing.
    Could you please tell me how to use a Linux/Unix print queue in this situation

    the simplest way is to edit the interface file (look in /etc/lp/interfaces for existing printers). Each script is
    run per print job where stdin has your print data, and stdout is going to your print device. You can just
    send the output to a file instead (assuming you can create a file in the windows directory from the solaris
    box). If it's a network share, you could use smbclient.
    -r

  • How to keep file name in print queue when printing crystal report

    We are using VB .Net 2003 + Crystal Report 2008 SP2 up to Fix Pack 2.6
    When the VB program spools crystal report files to print queue, the print queue only shows "Crystal Report" for each document.  How to keep the original file name?  In the past when we were using Crystal Report 11, the original file name can be shown in the print queue.
    Please help because it's so important for operation to see which report is failed in printing when reports are printed in batch.
    Thanks

    Hello,
    Set the PrintOption.JobTitle value for the print job. Here's C# code on how to:
                   System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
                CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptionsClass();
                CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new PrintOptionsClass();
                   pDoc.PrinterSettings.PrinterName = cboCurrentPrinters.Text;          
                   rasPROpts.PrinterName = cboCurrentPrinters.Text;               
                   rasPROpts.PaperSize = (CrPaperSizeEnum)
                        pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
                // this sets the name of the print job
                rasPROpts.JobTitle = "MYPrintJob";
                   rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
                   MessageBox.Show("Printing report.", "RAS", MessageBoxButtons.OK,MessageBoxIcon.Information );
    Thank you
    Don

  • Print Queue wont open in Snow Leopard

    After upgrading I finally got my Epson 3800 to work but although I can open the utilities button I can't open the print queue.
    Tried resetting, downloading new driver and repair to preferences but nothing.
    The printer does not show up in the dock.
    It prints ok though
    Any ideas

    Hi Tony
    I agree with Barry first drag the old Epson icon from 10.5 off the Dock, then go to System Preferences > Print & Fax and open Print Queue. Then once you have a new Epson icon on the Dock, right click (control click) on it then select Options > Keep in Dock.
    Dennis

  • Alien communique​, print queue lagging, printer refuses to e-print, can't find with laptop

    I purchased the HP Photosmart Plus e-All-in-One Printer - Black (CN216A#B1H) to replace my top-feed printer whose ink was disappearing from retail stores. It is connected to my Mac Mini (OS: leopard 10.5) via USB, and to my home wifi network. I have a pc (OS: XP) laptop that also connects to the internet via wifi network. Here are my problems:
    1. The printer refuses to e-print. I have it set up with hpeprint, and it'll connect to hpeprint occasionally, usually after rebooting. I can print using the apps on the printer, but I can't email ANYTHING to it. I've even spent an hour on the phone with HP's help center, and he's sent stuff to the printer that never printed. It doesn't matter how it's sent--attachment or in the email--or what it is, it just sits in the queue until it fails. I paid more for this feature----why won't it work??
    2. I can't find the printer with the laptop. Now this may be my ineptitude with windows, but even my husband (whose laptop it is) can't figure it out. I can access the printer's url in a browser (http://192.168....you know), but I can't get the Add A Printer wizard to recognize the printer. It wants to go in through shared computers, looking for a printer on my Mini--which, by the way, for some strange reason my router won't let computers on my network access my hard-wired mini. Anyways, that's a headache for another day.
    3. Last night I tried to print a copy of a legal form, and the job sat in the computer's print queue for about an hour before the printer finally started warming up to print. Then it only printed the first half of the first page, spat it out, and gave me (after about half an hour more) a half dozen pages that look like some kind of alien communique. I've actually had it do this to me a couple times in the last day, just randomly printing these pages until I cancel print. Whatthe?
    Setup seemed to be remarkably easy. I just plugged the thing in and followed the prompts. But now I'm starting to have buyer's remorse. What in the world is wrong with this printer?? If you can help me clear up one or two of these things, I'd greatly appreciate it, since it means less time I'll be on the phone with Customer Service.

    By the way, here's what it printed:

  • Display Report Title line in Printer Queue Again

    Post Author: ShowMeTheName
    CA Forum: General
    Hello, this is my question:
    How can I get our Crystal Reports XI printed from our VB application to show again the line u201CCrystal Reports + The Report Titleu201D in the printer queue?
    We first started generating reports with Visual Studio 2003 and Crystal Reports for VB.Net.  Months later, we upgraded to Crystal Reports XI Developers Edition. 
    When we built our application in VB and CR for VB.Net (v.9?) and printed reports from it, they showed the Crystal Reports line with the report title in the printer spooler.  Now that we upgraded to CR XI DE and compiled our program, the reports only show the line u2018Documentu2019 in the printer spooler.  The report title is gone.
    Does anyone know how to get that report title back?  If we open a report in the Crystal Reports program and we print it from there, we do get that line u201CCrystal Reports u201C and the Report Title in the printer spooler.  However, when we print the same reports from our VB application (and whatever upgrades installed by CR XI), the report title is replaced by a very annoying u2018documentu2019 word.
    We need the report title to show in the printer queue to distinguish our reports. 
    In our VB app, we open the reports as a new ReportDocument and then we print them with the PrintToPrinter code.
    Has anyone else had the same problem? Do you guys think that if we replaced the new report references with the original version will do the trick?
    We donu2019t want to change or eliminate the u201CCrystal Reportsu201D words because I know we canu2019t. What we want is that line back so it can show the report title.  I certainly like that line better than the u201Cdocumentu201D one we get now.
    Thanks for your help!

    Post Author: emoreau
    CA Forum: General
    as per http://technicalsupport.businessobjects.com/cs/forums/3054/ShowThread.aspx, it doesn't seem to be possible.

  • I hope it's Kappy reading this. My HP Laserjet successfully installed but can't create a print queue...

    Hello Kappy - Thank you for persevering with my printer issues. Firstly, I use Firefox, recently updated & as yet have not discovered how to monitor downloads. The software for HP Laserjet 2200 was eventually automaticallly, and therefore correctly, installed.The Add Printer Pane accessed via the + button in the Printer & Scanner window is blank - the Name & Location and Print Using & Add areas are all grayed out, therefore I can't locate the printer driver even though it is in the Printer folder. I messed around with HP Direct Protocol & Line Daemon functions, entering my IP address, just to see if I could locate the printer driver - I could. However, I get a pop-up window which says 'Unable to verify the printer on your network' but it gives me the option of going ahead anyway, which I did. I was able to create a print queue, able to give a print command, the printer window opens, but the printer appears as 'busy', but of course it's not printing. To look at the issue from another perspective: previously I was running 10.5.8 on my old Power Mac G5 and a week before I shifted over the iMac I paused the printer but when tried to resume printing I got a pop-up message saying IPadmin > enter administrator name + password. Which of course I couldn't do - I discovered this was a bug afflicting10.5 & 10.6 operating systems; the only way I could get around it was by re-creating myself as a new administrator, which I did, and got the printer going again. So, if I have a "Network" printer perhaps there's another route to get the driver recognized... What do you think?
    Alex Carr

    Morning Alexander Carr,
    Thanks for using Apple Support Communities.
    Use this article to troubleshoot printer issues in OS X.
    For more information on this, take a look at this article:
    Troubleshooting printer issues in OS X
    http://support.apple.com/kb/ts3147
    Best of luck,
    Mario

  • Is there a way of locking a word document in ios mountain lion so that it cant be printed or changed?

    Is there a way of locking a word document in mountain lion so it cant be printed or changed?

    You can print because it's your document. Others shouldn't be able to. But then it's easy enough to unlock them altogether.
    Easiest is to get encryption software and just encrypt the document. Or create a small encrypted disc image with Disk Utility and store the document in the disc image.

  • My setup: iMac hardline to Canon i960 printer. Issue: endless printing of the same document. The printer window states that the pinter is in use and there is nothing listed in the Print Queue.  How can I stop printing the document?

    My setup: iMac hardline to Canon i960 printer. Issue: endless printing of the same document. The printer window states that the pinter is in use and there is nothing listed in the Print Queue.  How can I stop printing the document?

    Soution: Delete the printer and add the same printer back in, therefore creating a new print queue.

  • Printing w/Leopard & AD-based Windows Print Queues:

    For those interested, I have written an overview of printing in Leopard 10.5.0 to Windows print servers (published queues Active Directory). Your mileage may vary. This document contains the good the bad and the ugly.
    Objective:
    Get Leopard based Macs to print to AD published SMB print queues hosted on Windows 2003 print servers. Sounds easy, huh?
    Overview:
    Print Servers:
    Windows 2003 print servers.
    Printers:
    All the printers in my test were all new HP network b/w printers or network MFP b/w printers. All of them were less than 2 years old. None of them were consumer-grade home USB printers.
    Mac Clients:
    My test clients were Intel MacBook Pros and Intel iMacs running 10.5.0 Leopard. All of them had user AD accounts and all Macs were bound to AD using Directory Utility (or dsconfigad)
    The AD clients have a unique naming convention at my company. In my environment we use the initials of the person for their login name (SAM). Example:
    Real “human” Name: “Stephen Paul Jobs”
    Long Active Directory Name: “Steve Jobs”
    Short Active Directory Name: “spj”
    “Legacy” NT Names: “domain\spj”
    Full domain name (used for email etc): “[email protected]
    (you get the idea...)
    Note: My Mac clients are not in an Open Directory domain. No “Magic Triangle” in this environment. Pure AD for the sake of this example. I am not managing the Mac clients via MCX in this scenario.
    Print Protocols:
    All the print queues hosted on the print servers were standard SMB/CIFS print queues. The syntax (UNC) looks like this:
    smb://print_server.domain/queue
    (This syntax is invisible to most users printing to AD-published printers (or any network based printer really) . Most users will have no idea what protocols are being used.)
    Procedures:
    Part 1: Set up a new printer from an existing AD-published print queue:
    From the Apple menu select “System Preferences...” (or launch it from /Applications). The Printer Setup Utility app no longer exists. Apple has discontinued it fro various reasons.
    Click on the Printer & Fax pane.
    Click the “+” button on the left. This will launch the Apple Printer Browser (called “AddPrinter”, and lives in /System/Library/CoreServices), which looks similar to the previous browser in Tiger. The Printer Browser by default will usually show network printers vai Directory Services (AD/OD etc) as well as Bonjour printers and Mac OS X based shared printers – if they are shared via IPP and LPR under certain circumstances).
    Select the desired AD-published print queue you want to print to by highlighting it in the browser list and clicking the “Add” button. (Note: Print queues published via Active Directory will show up as “Open Directory” printers, even though this is not 100% technically correct.)
    Before the queue will be added, you will be prompted to authenticate as a local administrator. If you are not an admin you are screwed. Enter your name and password.
    Once the print queue is added, it will show up on your Mac in several ways (barring any bugs – see below). Here are the ways to tell if you have added the print queue successfully:
    A The new print queue will now be displayed in the Print & Fax system pref pane (but not always – see below).
    B You will see a printer proxy application in ~/Library/Printers/ which corresponds to your new print queue. This is the print monitor app that will show up in your Dock when you print to the queue.
    C You can see the new print queue via the CUPS admin page at http://localhost:631/printers.
    D You can see your new print queue from the Terminal by typing this command: “lpstat –v” (type “man lpstat” for more info on the lpstat and related commands)
    E You can also see your printers by launching an print-enabled application such as TextEdit or Safari and printing a page. You will be presented with Leopard’s new print dialog box (which now includes a print preview pane). From the “Printer” drop-down menu you can see all of your printers. You can add a printer from here too (which takes you to the steps listed above)
    (of course, most end users will only use option A listed above. The other options are more abstract and complicated)
    Now that the AD print queue has been setup on your Mac, you can print to it (maybe).
    Part 2: Printing to an AD-published print queue:
    Open a document you want to print.
    Choose “Page Setup...” from the File menu if you need to configure the job. (Optional)
    Choose “Print” from the File menu.
    From the Print dialog box, choose the desired print queue from the Printer menu
    Click the Print button.
    You will need to authenticate with a valid Active Directory username and password. You don’t have to have administrator credentials, but you have to verify that you are a domain member. In my environment, my Windows print server doesn't require authentication, but for some reason Leopard or CUPS makes you authenticate. (See below). Not only is this a major PIA, but the authentication dialog box itself is formatted to include the wrong credentials format for authentication in the first place.
    Volia! Done. Easy huh? Not really. Read on for the ugly stuff.
    My Complaints and Caveats:
    OK, so here’s where I vent, complain and scratch my head. Join in on the fun.
    Sometimes shared print queues don’t show up in the Print & Fax system preference pane after they have been added. I have no idea why. The local CUPS admin page (http://localhost:631) on my Mac test clients can see the connected queues, and the queues show up in ~/Library/Printers. The “lpstat –v” command shows the connect queues too. But for some reason, sometimes network print queues that I have previously setup (and use regularly) don’t show up in the Leopard Print & Fax preference pane. Local USB printers always show up fine for me.
    2. When challenged to authenticate a print job to a Windows print server (AD), the Mac’s authentication dialog box pre-populates the AD user’s name in the “Name” field incorrectly. Example:
    A user named “Joe Is Cool” (short name “JIC”) prints a job to the print server. The print auth dialog box challenges him for a name and password. It is pre-populated already with the name of “Cool, Joe”. When a valid AD password is entered, the job is rejected (it fails authentication and gets put on hold – which is hard to see this unless you explicitly look at the Printer.app proxy tool in the Dock). However, if the user replaces “Cool, Joe” with his official AD short name of “JIC” and then enters his AD password, the print job is accepted and printed. I wish Apple didn’t try and pre-populate the dialog box! Can this be avoided or prevented?
    In my environment, my Windows print server doesn't even require authentication, but for some reason Leopard or CUPS makes you authenticate. I’m working with my Windows administrators to figure this out. It will only accept user names with the short name format. It will not accept long (full) names or NT legacy names.
    3) The Printer Setup Utility app, which used to live in /Applications/Utilities, no longer exists. Apple has discontinued it for various reasons. Mainly security and simplicity. I wish it was still available, but the system pref pane works fine (well, usually)
    4) Active Directory-based print queues will show up in the OS X Printer Browser as “Open Directory” printers, even though this is not 100% technically correct. Why can’t OS X tell the difference between OD queues and AD queues and label them as such?
    5) Leopard has locked down the ability to add network printers. You now must be a local administrator in 10.5 or later. I understand the importance of this security measure in certain environments, but why can’t there be an option in the Security preference pane to “Allow non-admins to add printers”? This would make me very happy.
    6) Setting the default printer and resetting the CUPS system now require you to right-click in the left side of the Print & Fax pane. There no longer is a button or menu option to do this.
    7) Sometimes after a job has printed the printer proxy app (from ~/Library/Printers) stays in the Dock and won’t go away.
    Conclusion
    Please chime in on your experiences, bugs, opinions and comments.
    Message was edited by: Daniel Stranathan

    I have noticed several of the changes in our system when printing to an AD printer from a Leopard client. I have one issue that is pretty odd and I'm not sure what is going on. When printing an Excel worksheet, I get prompted for AD credentials. After submitting the job, the print queue says "Waiting for Authentication", I have to press the Resume button and then the authentication dialog pops up. I successfully authenticate (My auth dialog is populated correctly and the remember to keychain option is selected) and the job prints fine. If I print the same document again (without closing the worksheet or Excel), or any other worksheet, I still have to reauth. I can print just fine to the same printer from Textwriter and I do not need to authenticate. Weird...

  • Random print jobs showing up in print queue when printing...

    Whenever I print something, one or two other random files will show up in the print queue.  The printer will not try and print these additional jobs, and it does not prevent another print job from printing, but each time more random files will show up.  The print queue will fill up with these additional jobs until they are manually deleted.  What a pain.  Does anyone have a solution???

    These random files can be communication files and are used to interogate the printer about its status. Typically they will be processed by the printer and then vanish from the print queue. So if they are not being processed and you are having to manually remove them then there could be a setting in the printer that needs to be changed or you have to check from an updated driver.
    To confirm if it is the printer queue / driver that is checking the status, you can open System Information (Applications > Utilities) and select Printers in the left column. You can then select the printer in the top right pane and see its information in the bottom right pane (or if this is the only printer you have the information will appear in the right pane). You will see an entry called Printer Commands. If it shows something like Report Levels then this confirms that these files you are seeing are for checking the printer status.

  • Why cant i print from my ipad using airport express but i can print from my mac using the express

    why cant i print from my ipad using airport express but i can print from my mac using the express

    Because your printer has to be Airprint compatible and connected to WiFi. There are applications, such as Printopia, that will allow you to print through your computer.

  • USB printer on Airport Express via Bonjour: print queue no longer works

    This is a variation of similar postings on this forum, but hopefully provides more information to allow others to pinpoint the problem.
    Have been using Intel iMac 10.4.8 now upgraded to 10.4.10. Two printers attached: 1 via USB and a 2nd via USB/Bonjour on Airport Express. Both working flawlessly. 2 days ago, an ADSL Internet outage occurred. When this was reestablished an hour or so later, everything was back to normal, EXCEPT that the USB/Bonjour/Airport printer no longer works. When jobs are sent to it, the printer queue stops and a red "!" appears in the dock on the queue. Restarting the queue just brings back the red "!" again.
    Have done all the usual things:
    1. Checked cables, restarted iMac, restarted printer, reset Airport.
    2. Have confirmed the printer works find if moved to a direct USB port. So the problem is not the printer.
    3. Have upgraded the Airport firmware to 6.3. Works just fine as a network access point. So the problem is not the Airport itself.
    4. Have deleted, added the printer, renamed the printer - none of these things helped (this was suggested by some postings on the forum)
    5. Have tried every combination of which item is powered up first (this was suggested by some postings on this forum)
    Have confirmed (by checking CUPS Error Log, as well as by Internet Connection Diagnostics) that the problem is that the iMac can no longer connect to the printer when printing on the local host if it is connected via USB/Bonjour/Airport. However, it can find the printer for adding a printer during setup. So Bonjour is working, but the printing is not.
    There are lots of similar postings of people having problems with printers previously working, but then stopping working on an Airport Expresss/Extreme. I hope the above scenario, which is a very simple network topology, and the fact that the iMac and printer and Airport all work correctly on their own, is of help. It does look as if the problem is in the Airport Extreme, and was triggered by the WAN outage, and not fixed by printer reinstallation or firmware upgrade.
    Looking forward to someone with a clever suggestion...
    LeslieB

    What did you use to discover the printers on both Mac and PC. Did you use Bonjour for both?

Maybe you are looking for

  • MR11 log file

    Hi, While run MR11 for GR/IR clearing account a log file is generated and document number is 5400000010. Where this log file is stored by default and how it should display ? Beside F.13 automatic clearing  clears those GR/IR records whose balance sho

  • Can I install RAM from 2011 Macbook Pro into 2009 macbook Pro?

    I just upgraded my new mbp from 4 to 8gb. I have a friend with what I think is an early 2009 mbp. Can I take my two 2gb (4gb total) chips and put them in his? Also, if his is newer, same question. I know that recently (not sure when exactly) the memo

  • Developer Security with HTMLDB (Application Express)

    Hi folks. I would appreciate any help I could get with this problem - it's a fairly serious one and I'm hoping for some feedback. We are using HTMLDB 2.0 and are using Oracle Applications. We have a rogue developer who has a bit of a control problem

  • Should I upgrade on an iPhone 3gs to ios 5.1 from 4.3.5?

    I have a 3GS currently running on iOS 4.3.5.  I mainly phone/txt/safari and I stream a lot of radio using TuneIn Pro (important app for me).  I'm pondering an OS upgrade to 5.1.... I've been warned even by Apple employees (off-the-record) to not upgr

  • Random error accessing CIFS shares from Windows

    I am setting up some CIFS shares to be used from Windows clients and in the process I had some random problems accessing the shares. In hope of finding the answer I checked the CIFS Service and the Active Directory Service, and while watching the scr