Excuting OS Commands using Printer Driver

Hello, everyone. I recall reading awhile ago about how one could execute OS commands as a printer driver, for post-processing of Concurrent Program output files, for example.
Can anyone direct me to some documentation along those lines?
Thanks,
--Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

I ended up reinstalling the drivers for the Canon from the original CD and that took care of it. Normally I can just copy the PPDs for our particular printers to the PPD folder in the Library/Printers/PPDs folder and it works fine, but for some reason this machine decided it needed everything reinstalled. It's working now.

Similar Messages

  • Reader wont use print driver on print server

    I recently posted this question on the user forum, my mistake, I know all the really smart people are over here!
    I have developed a print-driver with a very special purpose - it launches an application on the machine on which it is installed - and which also has an electronic signature pad connected to it - and captures a handwritten signature and embeds that into the pdf file just printed, keeping the document in electronic form.
    This means that if someone using computer A wants the person using computer B to sign a document, they just print that document to computer B's shared instance of this print driver. For this to happen, the print driver on the server computer must be used.
    There is an issue of "client-side" rendering implemented by MS since sometime after windows 2000. This can be disabled (at least turned off) and I have done everything I can do to force "server-side" rendering for this print driver.
    However, Reader and Acrobat simply won't honor these settings - in all cases these 2 insist on using the local copy of the driver (which must exist on the local computer too - windows now copies that driver from the server each time the server driver is updated).
    ALL other applications that I've tested faithfully send the document to the server's driver (though they also "exercise" the local driver for some reason, I can see this through logging when it is activated - but I cannot see where/why the printing subsystem is making the decision to forward it on).
    To recap - other applications faithfully "render" using the server's driver on the server machine, Acrobat and Reader render using the client driver on the client machine.
    I am more than willing to develop a print provider, print processor, or port monitor for my print driver - if I knew enough about which one of these is best targeted for this particular problem. It was hair pulling enough to figure out how to do the driver to begin with, this time I'd really appreciate any advice about which one of these I need to tackle rather than spend days developing one realizing I should have developed the other.
    Or ... if there is something I need to set in Reader/Acrobat properties OR something in the print driver itself (which is, BTW, based on MS pscript5, i.e., not monolithic) that I might need to do ?
    Thanks very much for the help
    Nate Clark

    Hi,
    Have you tried the following steps:
    1. Delete the printer from control panel -> printers
    2. Open Services.msc and stop and start the Print Spooler service
    3. Open Print Management(Open command prompt, type in printmanagement.msc or type print management in to the start menu search box)
    4. In Custom Filters -> All Drivers right click the printer driver you want to remove and select Remove Driver Package
    Thanks.

  • Email conc program output file by using printer driver

    Hi ,
    we have one interface program which has been scheduled every week.
    My req is that after completing successfully/error the interface program i need to send an email to the given email address with output file as attachment.
    This should be happened through priter driver.
    Could anyone please help me on this.
    Thanks,
    Malla

    Hi Bhaskar,
    I appreciate for your reply.
    What I am looking for is that without writing any shell script is there any possible solution.
    Now I am getting an email without writing shell script but attachment is not coming with the email.
    My current process is that
    I am registering a printer and when create a driver for this i am giving parametes for command mode as
    $ uuencode $PROFILES$.FILENAME $PROFILES$.FILENAME_out|mailx -s $ $PROFILES$.FILENAME [email protected]
    I am able to get the email but no attachment.
    So Could you please tell me how to do that.
    Thanks,
    Malla

  • Excute Unix command Using PL SQL

    Greeting,
    how can I execute shell unix commands from PL SQL and without passing by the Java virtual machine, because my database server is not very performant to support the heaviness of Java.
    Thank you for ur help!!!

    Is this what you need ?
    TEST@db102 SQL> create table test(dir varchar2(100), url varchar2(200));
    Table created.
    TEST@db102 SQL> insert into test values('/tmp','http://otn.oracle.com');
    1 row created.
    TEST@db102 SQL> commit;
    Commit complete.
    TEST@db102 SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [ora102 work db102]$ cat /tmp/wget.sh
    #!/bin/bash
    rm -f /tmp/index.html
    /usr/bin/wget -P $1 $2
    [ora102 work db102]$ sqlplus test/test
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat Jul 29 17:11:28 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    TEST@db102 SQL> DECLARE
      2     v_dir   varchar2(100);
      3     v_url   varchar2(200);
      4  BEGIN
      5     select dir, url into v_dir, v_url
      6     from test;
      7     DBMS_SCHEDULER.CREATE_JOB(
      8     job_name=>'testjob',
      9     job_type=>'EXECUTABLE',
    10     job_action=>'/tmp/wget.sh',
    11     number_of_arguments => 2,
    12     enabled => FALSE);
    13     dbms_scheduler.set_job_argument_value('testjob',1,v_dir);
    14     dbms_scheduler.set_job_argument_value('testjob',2,v_url);
    15     dbms_scheduler.enable('testjob');
    16* end;
    TEST@db102 SQL> /
    PL/SQL procedure successfully completed.
    TEST@db102 SQL>sorry for lost indentations, but tags do not help us these days....

  • Does SAPlpd pass data to my printer driver?

    I am now using SAPGOF device type and trying to print data to my printer. I use "F:Printing on Front End Computer" on my Spool Administration setting.
    I expect the SAPlpd is sending data (SAPGOF data) to my printer driver, then the printer driver will be doing something before it sends the data to Windows Spooler to print.
    Is my understanding above correct?
    Someone told me actually SAPlpd will not use printer driver in this case, but the SAPGOF data is sent directly to the Microsoft Windows Print Manager. So the printer driver will not receive the SAPGOF data.
    Is the above statement correct?
    How to verify it?
    Please advice.
    Thanks and best regards

    Hi,
    SAPlpd is a transfer program for print output using a Microsoft Windows operating system. Generally, we use 'Remote printing with windows os'. In this case host spool system (Microsoft Windows spooler) and the spool system (application server with a spool work process) are on different hosts with remote printing using Microsoft Windows, the SAP spool system requires an external process that transfers the output requests from the SAP spool server to the Microsoft Windows spooler. This process is provided by the SAPlpd transfer program.
    SAPlpd doesn't know the underlying printer h/w including driver itself. It just transfers the data from SAP system to Windows OS spooler. Then windows host spooler will send the data to printer driver.
    Please reward with points, if it is helpful.
    Thanks,
    Mohan

  • Using both Gutenprint and HP printer driver

    I have a HP Laserjet 3200 B&W connected by USB to my Macbook. Occasionally I would like to scan and print in color using my wife's HP G85 AIO. The 3200 prints great using Gutenprint (and not at all with the HP printer driver). I can scan on the G85 using USB if I install the old HP G-series driver for it (v. 7.3.1 from 2005). When I move back to the 3200, however, I can't print on it (message: "Generic Class: Waiting for Device") until I uninstall the HP driver and related software for the G85.
    I know these are old printers, but they still work great. I don't mind carrying my Macbook from printer to printer, but having to install and uninstall drivers is too much bother. What solutions have other people found? Surely someone has experienced this problem and found an answer!
    Thanks!
    dimoco9

    dimoco9 wrote:
    When I move back to the 3200, however, I can't print on it (message: "Generic Class: Waiting for Device") until I uninstall the HP driver and related software for the G85.
    Try unplugging the USB connection for the G85. That might stop the HP software from blocking the 3200.
    Matt

  • Print a file to printer wirelessly and without need to use CD drive to install driver?

    I have a HP-P1006 printer in my conference room and sometimes my guest want to send print to my printer and I have to connect their laptop with USB cable to my printer and install printer driver thought CD Drive. I want to know if there is a way to print a file to printer wirelessly and without need to use CD drive to install driver? (I don't have a wireless network in my conference room) 

    Is it possible to automate Adobe Reader to load files, then set the staple property and location, then print them out? I've seen in .NET 3.0 that there is a Enumeration for Stapling in the System.Printing Namespace. I need to figure out how to automate the printing in adobe but right before it prints, have .NET assign the printer and whether it should be stapled or not.

  • Can't use correct driver for Canon MF4140 USB printer shared by Windows XP

    Hi all,
    I have a Canon MF4140 printer connected to my Windows XP desktop machine via USB. The printer is shared and I can see it over the network with my MacBook running OS-X 10.4.
    I've downloaded the OS-X version of the printer driver from Canon, but I can't select it when adding the printer in OS-X, so I can't access any of the printer settings. I've selected the generic driver but that doesn't allow me to do double sided or 2-up printing.
    Is this because the printer driver does not support network printing, as the printer doesn't have a network interface?

    I guess this isn't clear on the iFelix page. To use any of the built-in network printing protocols on OS X, you must either have a postscript printer (postscript printers don't require a driver, just a PPD), or a driver that works with the CUPS system (a CUPS driver). So far, Brother is the only non-postscript printer manufacturer that provides CUPS drivers. For every other non-postscript printer, you need a third-party CUPS driver. Apple tried to get around this issue by including Gimp-Print drivers (open source CUPS drivers), but your model isn't in Gimp-Print. You can look around for other CUPS drivers, but Lexmark hasn't been cooperative with driver writers. Here are the CUPS driver sources:
    http://www.linuxprinting.org/macosx/
    http://www.easysw.com/printpro/
    http://www.printfab.net/
    You may find it easier to share from OS X.

  • Printer driver for an HP LaserJet 1000 series for use with Windows 7

    The CD ROM HP LaserJet 1000 series printer driver is not recognized by my new Windows 7 PC. So the printer does not work. I've looked on the HP web site for compatible drives and get the hint that a Vista driver would work. Can someone please confirm if this possible and how this is accomplished? Thanks.

    Where did you find a hint that Vista drivers would work?  This page says:
    Your LaserJet model is not supported in Windows 7.
    For more information regarding upgrade programs and new product information, please visit the HP Trade-In/Trade Up website at www.hp.com/united-states/tradein/home_flash.html or directly from HP at www.hp.com .
    Additionally, this page says the Laserjet 1000 is not supported in Vista.
    If you are using the 32 bit version of Windows 7 it may be possible to download the XP drivers here and install them.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Can I Scan to editable text on HP Officejet Pro 8620 using the Apple Printer Driver 3.0?

    Can I Scan to editable text on HP Officejet Pro 8620 using the Apple Printer Driver 3.0?
    I had a very difficult time getting my new HP Officejet Pro 8620 functioning as well as it does now.  I just tried scanning something as editable text for the first time and it ended up being scanned as a pdf.  At one point in my various tries there was a note on the printer screen that I did not have the HP OCR software installed.
    This may be because the resolution to my installation problems with the HP Officejet Pro 8620 seems to have been reverting to operating with the HP-Apple Printer Drivers 3.0 package instead of the HP-Officejet-Pro-8620_v12.32.0.dmg installation package.
    I do not, therefore, have the HP Scan application on my computer now which is where HP says its OCR software can be found.
    So what I'm afraid of is that I'm now running well with the HP-Apple driver but if I do go back and install the HP Officejet Pro v12.32.0 driver software with the HP installer, in order to access the OCR softwware in HP Scan application, I'll mess up everything else.
    Is there any chance that the HP-Apple Printer Drivers 3.0 package I have installed also includes OCR software?  If so where can I find instructions for activating it and using it with the HP 8620's scanner?
    Or can I only get OCR capability with the HP-Officejet-Pro-8620_v12.32.0.dmg package?
    Any experience with this?  Should I leave well enough alone?  Or can I somehow install the HP-Officejet-Pro-8620_v12.32.0.dmg package without messing up my current functionality?
    Thanks
    Steve

    The printer driver that is installed automatically from Apple doesn't scan. The scanner part can be accessed through Image Capture, but I don't think that does any OCR on the scan. You'd need a separate program. As you noted, many of the bundled software programs have OCR built-in (albeit limited). From my experience, that is only activated when you scan to "searchable" PDF or something similar. You would then have to extract the text from the PDF.
    I don't have an HP printer/scanner, so take this all with a grain of salt.
    If you can just install the Scanner utilities, that shouldn't affect the printer portion.
    Your other option would be to purchase separate OCR software. Unless you need to scan lots of documents into text, you should further investigate installing the HP scan utilities.

  • How do I install a pdf printer driver on my window computer using create pdf

         How do I install a pdf printer driver on my window computer using create pdf

    http://helpx.adobe.com/acrobat-com/kb/using-createpdf.html#main_adobePDF_desktop_printer

  • Print driver is not shown in "Print Using:" menu

    I have a HP psc 2410 printer that I have connected directly to my Mac, but I want to connect it though my Windows PC which is my home server. The printer works fine when it is connected via the USB cable and the driver listed after "Print Using:" in the add new printer box is called "hp all-in-one 2.2.9". When I try to add the same printer via the Windows network I see it the printer, but when I try to find the driver in the "Print Using:" menu, I don't find it. How can it be there for the USB connection, but not for the network connection? Where do I find it, if it isn't in that driver list?
    Thank you!

    Print drivers written using the older Mac printer driver model specifically list the type of connections they support. Most of these old style drivers do not support Windows printing. I think that is what you are seeing.

  • How do I get Mac OSX 10.6.4 to print to a Canon iRC2380 colour printer? Using the driver in the Mac's list doesn't work., How do I get Mac OSX 10.6.4 to print to A Canon iRC2380 colour printer? Using the driver in the Mac's list doesn't work.

    How do I get Mac OSX 10.6.4 to print to a Canon iRC2380 colour printer? Using the driver in the Mac's list doesn't work., How do I get Mac OSX 10.6.4 to print to A Canon iRC2380 colour printer? Using the driver in the Mac's list doesn't work.

    Not sure which driver you mean when you say "the driver in the Mac's list". Apple does not provide a driver for this device, so if you mean one of the default printers that are included with 10.6, like the Generic Postscript or Generic PCL, then these will only work if the optional PS or PCL print kits were installed in the machine. Given your inability to print then it would seem that you have neither kit installed. So this would require you to install the Canon UFR2 driver, which you can obtain via this link.
    With the UFR2 driver installed, you add the printer using IP > LPD. Enter the IP address of the iRC2380, leave the Queue name blank and change the Name to iRC2380. Leave the Location field blank and in the Print Using menu, browse to the "Canon iR C2380/2550 UFR II (UK)". Click OK and then Add to complete the queue creation. You should now be able to print. Please reply if it does not work.

  • C# console app - print job vanishes in Windows 8 regardless of print driver used; works in Windows 7

    I have the following which sends a print file to a specific printer. It works perfectly in Windows 7, but not in Windows 8. The print job shows in the print queue until the print job is closed. Then the print job literally vanishes from the print
    queue. This issue occurs with all print drivers, including generic text only. Conversely, I can still use the "winspool.drv" DLL directly under Windows 8 and it works. Please advise. Thank you.
    Here is my code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.IO;
    using System.Printing;
    namespace PrinterLib
        public static class PrintToSpooler
            public static string SendFileToPrinter(string szPrinterName, string szFileName, string docName)
                try
                    // Create the printer server and print queue objects
                    //PrintQueue defaultPrintQueue = LocalPrintServer.GetDefaultPrintQueue();
                    //PrintQueue mypq = new PrintServer().GetPrintQueue(szPrinterName);
                    //using (var printq = defaultPrintQueue)
                    using (var printq = new PrintServer().GetPrintQueue(szPrinterName))
                        using (PrintSystemJobInfo job = printq.AddJob(docName))
                            using (var memoryStream = new MemoryStream())
                                FileStream fs = new FileStream(szFileName, FileMode.Open, FileAccess.Read, FileShare.None);
                                fs.CopyTo(memoryStream);
                                fs.Close();
                                Byte[] myByteBuffer = memoryStream.ToArray();
                                // Write a Byte buffer to the JobStream and close the stream
                                job.JobStream.Write(myByteBuffer, 0, myByteBuffer.Length);
                                job.JobStream.Flush();
                        printq.Commit();
                    return null;
                catch (Exception ex)
                    return ex.Message;

    Hello folks,
    I have been facing the same problem until right now. All above suggested methods failed (as it did for Jeff0123) . But after long research on that issue I think I found the reason (but no proper solution yet).
    MS Windows 8 and 2012 use a new printer driver generation based on XPS. Which means drivers like "generic text-only" won't work properly depending on the method the data is sent to the printer. In my case the
    same way like Jeff0123 tried to access the printers.
    See link http://support.microsoft.com/kb/2779300
    One solution might be to use API calls. I have also found a site which shows an example project for thermal slip printing. The VB.NET source code there features a wrapper class for all API calls. The functions you find behave pretty similar to the ones of
    the posted C# code example of Jeff0123. I did a small test so far and for my needs that works fine.
    Although the page is in German you can find the mentioned class by searching for "Public
    Class RawPrinter". Beside the comments the class methods are written in English. You find the class here: http://www.vbarchiv.net/tipps/tipp_2375-kassenbon-drucker-mit-vbnet-oder-c-per-esc-pos-befehle-ansprechen.html
    Hope that might help for at least a few of you. So long!

  • Install PIXMA MG5320 on my second computor with windows 8 software/ .printer drive already in use.

    I installed the printer on my wifes computor without and issues. Now I am attempting to install it on my computor. I am getting blocked in the installation point where you select all the software needed . when i hit ok it goes into the install mode but a window pops up saying printer driver is already in use. I never had a printer associated with this computor ...thisis the first. what do I do?

    Hey addonag!
    The reason this is occurring is because the driver bundled with Windows 8 is already installed on your computer.  This happened automatically when the printer was connected to your computer through a USB cable.  The installation does not overwrite this.  All you need to do is uninstall the bundled driver and then this will install correctly.  Please perform the following to do this:
    1.  On your keyboard, hold the windows key and press " X ".
    2.  Click Control Panel.
    3.  Select Devices and Printers.  The Devices and Printers window opens.
    4.  Right click the PIXMA MG5320, then click Remove or Delete.
    5.  Confirm deletion.
    6.  Disconnect the USB cable if connected.
    7.  Reinstall with the disc that came with the printer.
    I hope this helps.

Maybe you are looking for

  • Can I upgrade from Creative Suite 3 to Photoshop CS6?

    Hello, I have a licence of the full Creative Suite 3 on my PC. Am I able to upgrade the Photoshop part of this suite to Photoshop CS6 only? I don't need the complete package in CS6, so this would be the best way for me. And my second question: Can I

  • Unable to send or receive messages?

    I bought a new iphone 4 and after syncing was unable to send or receive messages?

  • HT2688 I have a used computer how do i open my library

    my laptop was stolen so i now have a used computer and im trying to open my ipod library but i get the library of the previous owner of the pc.  what do i do?

  • Logical system not defined.

    Hello Can some body help me to identify the issue which gives me an error,No Logical system for FI is manitained . This error, I receive at the time of approving shopping carts. Thanks. Jayawant Gokhale

  • Topics in multiple projects in RoboHelp 8 are getting crossed over

    I have multiple projects I imported/upgraded into RoboHelp 8.  Initially when in each project, all topics are correct.  But after importing second and subsequent projects, when I go back to the first project, it shows the topics from the last project