Report Print queue settings

Hi all, 
I am changing some settings on my print queues. The snmp community names is one of them (for bi-di purposes).
I would to run a report/audit or simply display it somewhere.. on all print queues to show what community names they are configured with. this way I would able to check if changes have been applied to all or any has been forgotten.
Servers are 2k3 and 2k8 OS.
Thank you

You can use powershell to get a list of WMI print class objects, then loop through the list to get the port name, and determine the SNMP information.   The WMI interface will only enumerate Standard TCP/IP ports.  For any other port types
you would need to use the spooler API's
 powershell link
http://technet.microsoft.com/en-us/library/dd347648.aspx
Alan Morris Windows Printing Team

Similar Messages

  • Printer Queue Settings Mysteriously Reverting Back to Default Settings on 2008 R2 print servers

    Printer Queue Settings Mysteriously Reverting Back to Default Settings on 2008 R2 print servers
    We have 4 Windows Server 2008 R2 print servers, all of which has the same printer queues installed on them that are utilized by a 3rd party printing program that does a round-robin load balancing scheme.  
    All printers are a combination of HP and Xerox all running some variation of the HP UPD and the Xerox UPD.  Some use the PCL 5 and some use the PCL 6 version determined by age of printer and need.  
    There are typically two printer queues for each physical printer.  
    Example:
    LOCATION_ROOM
    LOCATION_ROOM_TRAY2
    The regular queue is ok being left with default setting,
    The _TRAY2 queues are set to print to "labels" or "pre-printed" paper type or a specific tray.
    From time to time, these _TRAY2 queues will revert back to a factory default state and lose the setting to print to a specific paper type or tray.  Sometimes it happens to the _TRAY2 queue on all 4 servers, sometimes just 1 server, etc.  No rhyme
    or reason.
    Disabled Bi-directional options on both the HP and Xerox UPDs per another article on the internet that said bi-directional could cause the printer to send back settings to the driver and cause this issue.  Even with this option off, we continue to see
    printer _TRAY2 queue settings revert back to factory default and lose their specific paper and tray settings.  We have ruled out the possibility that users or other technicians are the ones making these changes so we suspect it is some interaction between
    the servers, printer drivers and printers themselves causing the issue.  
    Any insight would be greatly appreciated.

    I'd start by using one of the print drivers included in Windows for a few of the printers and confirm it's the universal driver that is causing the issue.
    HP installs some other processes and services on the machine which communicate with the HP devices. 
    PML and something else.  You might want to shut those down and see if these processes are the ones modifying the settings.
    Run process monitor to truly identify which processes is causing the modifications. 
    Alan Morris formerly with Windows Printing Team

  • How can I list print queues per server via power shell script

    Hello,
    we are managing many print servers on our domain environment,  now for auditing purpose I need to report print queues per server,  and it seems bit difficult task doing it via GUI in print management view, could someone help me with script which
    gets me the no. of print queues on each print server.
    Also I need to list all the print drivers installed on each print servers. 
    I tried to list the drivers " Get-WmiObject win32_printerDriver -filter " but this will get me complete information about the driver, I need to list only the driver name (-filter) either _RELPATH or _PATH
    dibu

    You can also use WMI like this:
    (get-WmiObject win32_printer -computer ws702).count
    I don't understand what you mean by list only.  Just select what you need.
    See: http://technet.microsoft.com/en-us/scriptcenter/dd742419
    That will give you some basic background on how to use PowerShell to get the properties of objects.
    ¯\_(ツ)_/¯

  • 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

  • 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.

  • Change "document" to report title in print queue

    Post Author: mroy
    CA Forum: .NET
    When printing from Crystal Reports to a printer, in the print queue, the Document Name is "Crystal Reports - " and the report title.
    When printing using ReportDocument in Visual Basic .NET program to a printer, the Document name is "document".
    Is there a way to change "document" to the report title in code?

    Post Author: Argan
    CA Forum: .NET
    You can only do it using RAS I believe by using the PrintReportOptions objects JobTitle property.
    This is only available using Enterprise or CR XI R2 SP2.
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/RAS_SDK/rassdk_com_doc/doc/rassdk_com_doc/Crystal_Reports_Controllers_Library101.html
    Jason

  • Setup printer defaults settings in BI reports

    Hi,
    Our client has given us some new requirements to be able to setup printer defaults settings in BI reports so that when the user opens up the report the printing format is set for them. All the user has to do is refresh the BI report and then it will print correctly for them, with Headers and Footers.
    Now, I know we can not do this with the Query Designer, but we may be able to do it with workbooks, but what I don’t know is if there are other options we can take to do this.  Such as the Report Designer? I have never used the Report Designer so I don’t know if we can build reports using the Report Designer and that the user can access and run this report from somewhere such as the portal.
    Can any one please help in this regard.
    Regards,
    Sharma

    Hello,
    Check this links
    [SAP Printing Guide (BC-CCM-PRN)|http://help.sap.com/saphelp_nw70/helpdata/en/d9/4a8eb751ea11d189570000e829fbbd/content.htm]
    [Creating Print Versions of BI Applications|http://help.sap.com/saphelp_nw04s/helpdata/en/43/68ce8391886e47e10000000a422035/content.htm]
    [Printing|http://help.sap.com/saphelp_nw04s/helpdata/en/13/f76f422f91c153e10000000a1550b0/content.htm]
    Thanks
    Chandran

  • Drill-Down Report Printing Problem for Selection Parameters

    Dear Experts,
    Have tried to configure Drill-Down Report for Vendor Balances,
    Am having trouble when printing this drill-down report, Printing is coming OK but it comes with ALL selection parameters, for e.g, have entered 20 vendor codes for the balance display, system first prints all selection parameters and then it prints the output of vendor balances,
    User does not want selection Parameters to be printed with the Report Output. Please find below screenshot for the problem.
    Input Parameter Screen
    Report Output Screen
    Print Preview Screen (First Page - Selection Parameters)
    Your help is much appreciated, if anyone can guide me, how to switch off selection parameters from Print Output of Drill-Down Report
    Thanks
    Regards
    P

    Hello Ms. Preeti,
    Thanks for your reply, Have designed the report through FKI0 (FKI*)
    Have already looked these setting, but these are not helping really, PFB screenshot for settings am having in my system, if you have any idea which can avoid User Input Parameters from printing then it will be really great help
    Thanks for your help
    Kind Regards
    P

  • Report printing

    Hi All,
    I am working on Apex with Oracle XE universal...i just tried to acheive print pdf functionality throgh integration of Apex with Apache cocoon...
    Everything is working fine...my Apache server is working,cocoon is working but when i m clicking on print button ....it showed me the following errors:
    ORA-29273: HTTP request failed
    ORA-06512: at "SYS.UTL_HTTP", line 1186
    ORA-12570: TNS:packet reader failure
    I don,t know what problem is there in my application...or I need to do some settings....
    if anyone knows please help me....
    I did the following settings in my report page:
    In APEX, I logged in as ADMIN into apex/apex_admin and went to Instance Settings and did the following:
    - Print Serverr: Standard Support
    - Print Server Protocol: HTTP
    - Print Server Host Address: XYZ
    - Print Server Port: 8181
    - Print Server Script: /cocoon/fop_post
    In my APEX application, in the Regions section, I click on the Print link next to my report. I have the following settings:
    - Enable Report Printing: Yes
    - Link Label: Print
    - Response Header: Print Server
    - Output Format: PDF
    - Report Layout: Default Report Layout
    - Print URL: f?p=&APP_ID.:1:&SESSION.:FLOW_XMLP_OUTPUT_R1063230002781575
    Edited by: user9139675 on Mar 23, 2010 1:54 AM

    what was your solution?

  • Report Printing: APEX 4.01 - APEX Listener - WebLogic 10.3.3

    We have some report printing issues...
    Our configuration is APEX 4.01 using the APEX Listener with WebLogic 10.3.3.
    The first issue is that under "Print Attributes" the following is listed in red under "Printing":
    "Report printing is currently not available, there is no print server configured."
    The second one is that we need to print pdf format and I have not found a solution for doing this with the APEX Listener and WebLogic. I saw that the FOP solution for the APEX Listener didn't make it into the current release... Is there any way to do pdf type reports with the current APEX listener technology?
    The third issue is that in the demo app when running a report there is a "Error loading file:" type error with "FLOW_FLASH_CHART" and apex_util.flash as part of the url.
    Any help would be appreciated...
    Thanks!
    - Scott

    I deployed in WebLogic the fop.war that came with APEX 4.0.1 and it got rid of the error message, but when I tried to download a report as pdf, I got an error saying it was corrupted or invalid. I downloaded the file it produced and opened it in a text editor. It was a small html type file with the following URL:
    ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
    When I go to the URL that I think it should be going to based on what I put into Instance settings> Report Printing, I get:
    Compilation of JSP File '/apex_fop.jsp' failed:
    apex_fop.jsp:5:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.XMLDocument'%>
    ^------------------------------^
    apex_fop.jsp:6:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.XSLProcessor'%>
    ^-------------------------------^
    apex_fop.jsp:7:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.XSLStylesheet'%>
    ^--------------------------------^
    apex_fop.jsp:8:18: The import oracle.xml cannot be resolved
    <%@ page import='oracle.xml.parser.v2.DOMParser'%>
    ^----------------------------^
    apex_fop.jsp:12:1: XMLDocument cannot be resolved to a type
    XMLDocument v_doc;
    ^--------^
    apex_fop.jsp:13:1: XSLStylesheet cannot be resolved to a type
    XSLStylesheet v_xsl = null;
    ^----------^
    apex_fop.jsp:15:1: DOMParser cannot be resolved to a type
    DOMParser parser = new DOMParser();
    ^------^
    apex_fop.jsp:15:28: DOMParser cannot be resolved to a type
    DOMParser parser = new DOMParser();
    ^------^
    apex_fop.jsp:16:1: XSLProcessor cannot be resolved to a type
    XSLProcessor processor = new XSLProcessor();
    ^---------^
    apex_fop.jsp:16:30: XSLProcessor cannot be resolved to a type
    XSLProcessor processor = new XSLProcessor();
    ^---------^
    apex_fop.jsp:21:13: XSLStylesheet cannot be resolved to a type
    v_xsl = new XSLStylesheet(new java.io.StringReader(request.getParamet

  • Oracle Reports printer setup

    Hi Guys.
    I am an Oracle Applications DBA and I know how to setup printing in Oracle Applications.
    However, our client has got one installation of Oracle Application Server 10g and has deployed Oracle Forms and Reports Services.
    They have configured printing for Oracle Reports for their setup, which I am not aware of how they did or how it is done in Oracle Forms and Reports.
    The problems at hand are -
    Problem number 1 - Over here a line printer i.e. 132 column one has been attached to the 10g Application Server from the USb port. The Application server is on Windows 2003 server machine. When we fire reports we can see in print queue request being fired but no putput is coming. If we open Reports builder on a developer machine and from there we fire we do get print out but this time developers machine Print dialoag comes. On developer machine we have mapped to same printer which is attached to the 10g AS machine
    Problem number 2 - As mentioned earlier its a 132 column printer so what is the paper size to be picked. From articles it is Letter paper size or US Std Fanfold paper size.
    Problem Number 3 - Suppose we try Arabic report since its arabic in the report designer we change direction to Right To Left, if we fire this report some columns almost 20 characters are cut -off. If we fire same report with default direction set in designer, whole data comes
    Problem number 4 - If we give output to Excel or PDF i.e. Desformat Spreadsheet or PDF, the arabic data all come out rubbish junk.
    Apart from getting help on the above mentioned issues, I would request you guys to help me in finding out how to setup the printing for standalone application server forms and reports.
    Thanks,
    Muneer.

    hello,
    submitting your report in the url using a key (yourKey) defined in the cgicmd.dat file would look like
    http://<yourserver>:<yourport>/reports/rwservlet?yourKey
    regards,
    philipp

  • Screen Print and report print in 11g Forms

    Hi,
    I have created a popup menu in forms 11g which has a label print screen.
    When user clicks on it, it is supposed to bring up the list of printers that user has on his PC, so that they can choose the printer where they want to print to.
    Do I need to use webutil for it? or is there any other way?.
    Thanks
    Munish

    If you plan on printing from the client your only options are to use WebUtil or write your own java bean.
    That said, if you are generating the labels using Reports, why not generate to a pdf file? If you coded your form properly, the pdf will open on the client side in something like Acrobat Viewer. If they want to print it they can click on the "Print" button in PDF viewer.
    If you really want to make it complicated and present a list of printers and allow them to pick one then send the job to the printer, this will take some effort. Here are some starter tips assuming the client will always be Windows based:
    You can get the current default printer like this:
    -- More registry info for printing can be found here:   http://support.microsoft.com/kb/102966
    Declare
         rtn_Registry               varchar2(255);
         rtn_defaultPrinter          varchar2(255);
    Begin
         rtn_Registry := CLIENT_WIN_API_ENVIRONMENT.Read_Registry('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows','Device');
         rtn_defaultPrinter := substr(rtn_Registry,1,instr(rtn_Registry,',',1)-1);
         message (rtn_defaultPrinter);  -- This is the name of the default printer
    End;Some printer properties and preferences can be called with something like this:
    -- More details here:  http://support.microsoft.com/kb/q189105/
    Declare
         my_cmd varchar2(255);
         rtn_Registry               varchar2(255);
         rtn_defaultPrinter          varchar2(255);
    Begin
    -- Get default printer
         rtn_Registry := CLIENT_WIN_API_ENVIRONMENT.Read_Registry('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows','Device');
         rtn_defaultPrinter := substr(rtn_Registry,1,instr(rtn_Registry,',',1)-1);
         -- Printer default preferences
         my_cmd := 'rundll32 printui.dll,PrintUIEntry /e /n "'|| rtn_defaultPrinter ||'"';
         -- Printer properties
    --     my_cmd := 'rundll32 printui.dll,PrintUIEntry /p /n "'|| rtn_defaultPrinter ||'"';     
         -- Printer queue
    --     my_cmd := 'rundll32 printui.dll,PrintUIEntry /o /n "'|| rtn_defaultPrinter ||'"';
         If rtn_defaultPrinter IS NULL Then
              Message('Default printer not detected.');
              Message('Default printer not detected.');          
              RAISE Form_Trigger_Failure;
         End if;
         SYNCHRONIZE;     
         CLIENT_HOST(my_cmd);
    End;The complete list of installed printers can be found in the Registry here:
    <blockquote>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers</blockquote>
    Take a look at this java bean example used to help print to the local printer from Forms.
    <blockquote>http://forms.pjc.bean.over-blog.com/article-6621538.html</blockquote>

  • SAP report print formats

    Hi!
    There are several report print formats in an ABAP report. You can choose between them during printing, some examples: X_65_80 (80 columns, 65 lines), X_90_120 (120 columns, 90 lines) and so on...
    Is there away to define more "standard" like printer formats?
    I know, I can give anything after the REPORT statement (like REPORT zreport LINE-SIZE 99 LINE-COUNT 99) but these are not standard and mostly the printers don1t like them.
    Thank you in advance
    Tamá

    Hi Tamas,
    When you run the report, the spool will be displayed on the screen. At this time, click on print,the system will show the print dialog. Click on properties, this will spool request attribites dialog. Click settings. in the next dialog box, select the required field, and the value and select the validity as required. This way you can set the standard format for all reports.
    Ravi

  • 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.

  • Print queue

    I am running Windows 7 Ultimate on a 32 bit laptop.  I have a parallel-to-USB printer cable connected directly to my laptop usb.  I've downloaded and installed the Windows 7 32 bit driver for my HP LaserJet 6p printer.  However, when I send a print job (test print from the printer setup; report from Quicken) the print job gets stuck in the print queue and I can't delete it.  At one time (through my many hours of trying to solve this issue on my own) a print job DID print, but all it printed was the Windows logo and the large font text WINDOWS PRINTER TEST PAGE. That is the ONLY thing I've been able to print so far today and I don't know what I am doing wrong that 1)my print jobs will not print and 2)I cannot delete print jobs from the print queue.  I can't cancel the document from the Document screen nor can I cancel all documents from the printer screen.  Occasionally, the document will disappear from the queue (that's happened twice), but again, I have no idea what happened for it to disappear unless it's a SUPER delayed response to me trying to delete it several minutes before.  Is the anyone out there that can tell me what on earth I am doing wrong and how to correct it?  If so, I would GREATLY appreciate the help.  Thanks a million in advance.

    To empty the Windows 7 or Vista print queue follow these steps.
    1. Click Start.
    2. Type Command in search field then Enter.
    3. Right-click Command Prompt and select Run as administrator.
    4. Type net stop spooler then Enter.
    5. Type del %systemroot%\System32\spool\printers\* /Q then Enter.
    6. Type net start spooler then Enter.
    7. Type exit then Enter.
    Please mark the post that solves your issue as "Accept as Solution".
    If my answer was helpful click the “Thumbs Up" on the left to say “Thanks”!
    I am not a HP employee.

Maybe you are looking for