Send a file to the printer!

Hello,
is it possible to send a file, that is generated with the
printer-driver, to a network-printer? This should be done with LabVIEW
6i
Jens

[email protected] (VI Guy) wrote in <5065000000050000007CAB0000-1031838699000
@exchange.ni.com>:
>Yes and no.
>
>The printer has to be of the type that allows this (I don't know the
>exact requirement but some printers allow it and others don't).
>
>Set up your computer so the network printer is "mapped" to printer
>port like "LPT1" or "LPT2" (If I recall this requires you to answer
>yes to the "Do you print from MS-DOS applications?" during the "Add a
>Printer" wizard).
>
>Then, you will need to use the "Shell Exec.vi" and do a "COPY /B
>Filename.bin LPT1", given that "Filename.bin" is the file you created
>with the print driver and "LPT1" is the port you mapped your printer
>to.
>
Alternatively if it's just a plain old text printer, you can use the serial
vi's
to send the text directly to a line printer using COM10. Note that you
will have to include a line in your labview.ini file (and in the ini file
with your built application) that allows you to access com10. The line is
something like:
"serialDevices=com1;com2;com3"
but a search on using the line printer on the NI website will reveal the
correct key and entry.
Alexander C. Le Dain, PhD
ICON Technologies Pty Ltd
http://www.icon-tech.com.au
* The LabVIEW FAQ http://www.icon-tech.com.au/thelabviewfaq.html *

Similar Messages

  • Trying to get Photoshop CS4 functional with Mavericks and an Epson 3880 printer. CS4 fails to send a file to the print queue. Have reinstalled the Epson 3880 driver for Mavericks. All looks good but no file is sent.

    rying to get Photoshop CS4 functional with Mavericks and an Epson 3880 printer. CS4 fails to send a file to the print queue. Have reinstalled the Epson 3880 driver for Mavericks. All looks good but no file is sent.
    Does anyone know how to fix this?

    What EXACT version of Photoshop CS4 are you running?  You should be on Photoshop CS4 v 11.0.2.
    Also run Apple's software update to see whether it offers you the latest Epson update:
    Printer Driver v9.33
    Epson Stylus Pro 3880, Drivers & Downloads - Technical Support - Epson America, Inc.
    MOST IMPORTANTLY:  have Photoshop re-create its own Preferences:
    To re-create the preferences files for Photoshop, start the application while holding down Ctrl+Alt+Shift (Windows) or Command+Option+Shift (Mac OS). Then, click Yes to the message, "Delete the Adobe Photoshop Settings file?"
    Note: If this process doesn't work for you while you're using a wireless (Bluetooth) keyboard, attach a wired keyboard and retry.
    Important: If you re-create the preferences by manually deleting the Adobe Photoshop CS6 Settings file, make sure that you only delete that file. If you delete the entire settings folder, you also delete any unsaved actions or presets.
    Reinstalling Photoshop does not remove the preferences file. Before reinstalling Photoshop, re-create your preferences.
    NEW Video! Julieanne Kost created a video that takes you through two ways of resetting your Photoshop preferences. The manual preference file removal method is between 0:00 - 5:05. The keyboard shortcut method is between 5:05 - 8:18. The video is located here:
    How to Reset Photoshop CS6’s Preferences File | The Complete Picture with Julieanne Kost | Adobe TV
    Mac OS
    Important: Apple made the user library folder hidden by default with the release of Mac OS X 10.7. If  you require access to files in the hidden library folder to perform Adobe-related troubleshooting, see How to access hidden user library files.

  • Running Yosemite, printing to xerox c75 digital press. InDesign will send a file to the printer, then crashes every time. I know there was a patch for this problem. Where do I find it?

    Whenever I send a file to my Xerox C75 from my Mac (Yosemite), the file goes to the printer okay, then InDesign crashes.
    I think there is a patch specifically for this issue. Where do I find it?

    Yes, I have Fiery Hot Folders Console.  That is certainly an alternative that should work as I can then avoid having to choose Fiery Features from the print dialog box in order to choose the paper tray and other features I need.
    I am about to try a clean install of OS 10.9.3, and I am not the least bit happy about it.  Adobe CC is my main set of go-to applications for my work, and those are the only applications that give me ANY problems with printing.  I have forked out real money on different versions since I started using Adobe in the late 1990's, and my troubles seem to increase with every new release.

  • How to send a file top the default printer?

    Hello,
    I have generated, using Java code, a certain HTML file and wrote it to a certain location on my local machine. I would like now to automatically send this file for the default printer for printing, this way the user won't have to manually open the file and select
    file->print from the browser window and then print it.
    How can I acomplish this?

    hi
    good
    how can you identify which file you r going to print and which file you r going to print.if you r going to print all the file from that particular location than you can do it through jsp, but i dont think it can be done automatically, the user has to select the particular location where you have stored the file in you hard disk and i will go for printing.
    Thanks
    mrutyun

  • Explorer Context Menu Convert Sends Files to the Printer

    Right-clicking PSD files and choosing "convert to PDF" sent the files to the printer!!!  I had hoped it would have brought up a dialog to convert the files to PDF...
    (I was looking for "combine as PDF" -- I'm not sure what happened to it?)
    I'm running Acrobat 11 on Windows 8.1
    -Donald

    All that context menu stuff is handled by the registry. The explorer application simply gets its information from there. So Labview can write to a registry key to add itself to handle a file type. This is why you can have multiple applications handle the same type and show up in the context menu.
    My point is that after I run LV 8.0, I will see both LV 8.2 and LV8.0 in the context menu (along with a couple of others). However, after I run LV 8.2, the LV8.0 option is removed. I'm guessing that this is related to a program's behavior in checking and setting the registry key to make sure that it is the default handler for the appropriate file types. NI would need to strengthen this code to be sensitive to previous versions of Labview.
    A rough example of how to do this is at  http://www.codeproject.com/w2k/extendingshell.asp
    Brian Rose

  • Send a txt file to the printer with java

    Hello,
    I want to sent a txt file to the printer in java. I' am using the USB port. I can try to setup a dos command (print c:\test.txt), but I don't know the exactly command.
    There is also another solution in java I thing but I don't know the code!
    Can somebody give me the exact command for DOS and/or the code I have to write in java?
    THANX!!!!

    in dos imo you are not able to use usb-port. if your printer would be on lpt you could use javacomm ( http://java.sun.com/products/javacomm/index.html ). there is also another thread talking about this (print text to lpt). for your usb-problem i don't have a solution. but you could use JNI (java native interface). write code in c, compile to dll and use it in java.
    tobias
    ps: the other thread ( http://forum.java.sun.com/thread.jsp?forum=31&thread=224460 )

  • InDesign CC no longer packages fonts when I need to send a project to the printer

      Hey Adobe team: Long-time user from when Photoshop was but a sprout. I recently upgraded from Creative Suite 6 to Creative Cloud and have run into a troubling problem. InDesign CC no longer packages fonts when I need to send a project to the printer. This meant that I had to completely redo a project on deadline for a problem that I’ve never had before. How is this possibly helping your users? And is there a solution in the works or do I need to cancel Creative Cloud and go back to CS6?

    @OurPlace
    First of all, you are not addressing any Adobe team. These forums are primarily supported by volunteers who are not Adobe employees and don't officially represent Adobe Technical Support.
    That having been said ...
    There was nothing done specifically with InDesign 9 or 10 (the CC and CC 2014) versions of InDesign to change or disable packaging of fonts when packaging a document. It should be absolutely no different from InDesign 8 (the CS6 version).
    Troubleshooting hints:
    (1)     Make sure you check the Copy Fonts (Except CJK and TypeKit) option in the package dialog.
    (2)     Make sure that you are not using any CJK (Chinese, Japanese, and Korean) complex fonts that we specifically will never put into a package.
    (3)     TypeKit fonts won't package.
    (4)     Make sure that your file system permissions are such that InDesign can create all the necessary directories and subdirectories for the packaging operation.
    (5)     If on MacOS, exit InDesign and try forcing a clearing of your system font cache and then reboot.
    (6)     Exit InDesign and then find and delete all files on your system with filenames of the form AdobeFnt##.lst where ## is a two digit number; don't delete any other files that start with AdobeFnt. Then reboot and restart InDesign.
    (7)     Reset InDesign's preferences that may have become corrupted. For Windows, start InDesign, and then press Shift+Ctrl+Alt. Click Yes when asked if you want to delete preference files. For MacOS, while pressing Shift+Option+Command+Control, start InDesign. Click Yes when asked if you want to delete preference files.
    One of these should either address or resolve your problem. Again, we at Adobe are not aware of any generic issue with packing fonts with InDesign.
              - Dov

  • How can I get Acrobat Reader X to send my pdf to the printer?

    My pdf just looks at me while I push all of the buttons, file menus and keyboard shortcuts associated with printing and it does nothing. No dialog box, no nothing. All three of my printers work and i've tried them all. It just doesn't do anything. Any suggestions? I really need help here.

    From: Pat Willener [email protected]
    Sent: Monday, July 30, 2012 9:16 PM
    To: vinniereed
    Subject: How can I get Acrobat Reader X to send my pdf to the printer?
    Windows 7; Acrobat Reader 10.0; local and online.
    Thanks,
    Vinnie
    Re: How can I get Acrobat Reader X to send my pdf to the printer?
    created by Pat Willener <http://forums.adobe.com/people/pwillener>  in Adobe Reader - View the full discussion <http://forums.adobe.com/message/4588698#4588698

  • Adobe Reader X v10.1.4 no longer sends pdf file to attached printer

    wants to save prn file.  (Adobe print command shows correct, default printer name.)  Printer works fine with other applications and used to print pdf files from Reader X even 2 weeks ago.  Windows 7 x64 with  MS Security Essentials - all systems up to date, no system changes (hard or soft) other than regular security and version updates.
    Ran Adobe Repair and rebooted - print command showing attached printer still asks where to save the prn file instead of sending job to turned on printer which works fine just before and just after Adobe fails to use it.  Will install older version of Reader, Adobe offers v9.5 if no one has a better solution since I am clueless.

    Thank you so much for trying to help.
    From your question I gather you have Reader X v 10.1.4 and have no trouble printing if you send to your printer.
    Alas I'm pointing to my one real printer, the Brother I'm sending the pdf file to print.  Worked fine for years until a few days ago.  Now when I hit "Print" on the bottom right of the below panel I get the "Save As" screen asking where I wish to save the pdf file name I'm trying to print followed by .prn.
    I have no problems in any other application printing.  If installing an earlier version of Adobe Reader proves it's not v 10.1.4 specifically, I'll have to try and send the prn file to the printer, perhaps by using the old DOS type command, or see if I can print pdf files on another system.
    You just made me think to try my backup PC with Adobe Reader X v10.1.0 - This works fine, both on its own printer and on the below named Brother attached to this system.  So the problem is either v10.1.4 or some interaction of Adobe with very recently installed Microsoft security or other OS updates for 64bit Windows 7.
    THANK YOU!

  • How do you send a File from the Clinent End To the Server?

    Hi, I'm jut learing Java and am tring to send a file from the Cleints end to the Servers' end, I know how to do this in Php, but its some what different in Java, i know where is a File Class which i can post the information into but for some reason it woudn't work
    <%@ page import=" javax.servlet.*, java.io.File" %>
    <%
    String fullname, emailadds, genre, filename;
    fullname = request.getParameter("Name");
    emailadds = request.getParameter("email");
    genre = request.getParameter("genre");
    filename = request.getParameter("clip");
    File file = new File();
    file.isFile();
    if (file.isFile())
    out.print("File is true");
    else
    out.print("file ain't there");
    %>
    just as a tester i tried this to see if file is being read, but it won't compile
    I keep getting this error sign! Have i missed out a lib or somthing?
    \upload_jsp.java:52: cannot find symbol
    symbol : constructor File()
    location: class java.io.File
    File file = new File();

    Sham, dont show your anger... and dont use provocative words...
    Now, coming to your problems.
    your jsp/html should contain some thing like
    <form action="/uploadServlet" method="post">
    <input type="file" name="file"/>
    <input type ="submit" value="upload"/>
    </form>and for servlet code, refer to
    http://forum.java.sun.com/thread.jspa?threadID=516176&messageID=2461686
    or the easiest way would be to use 'commons-fileupload' api available on http://jakarta.apache.org/commons/

  • Safari 7.0.6, using Adobe Acrobat 11.0.10, aren't rendering pdf files in the Print Preview screen.  Additionally, only a single, blank page prints for a multi-page pdf document.  Any ideas?

    Safari 7.0.6, using Adobe Acrobat 11.0.10, isn't rendering pdf files in the Print Preview screen.  Additionally, only a single, blank page prints for a multi-page pdf document.  Any ideas?

    Figured it out.  It had nothing to do with the software levels of Safari or Adobe Acrobat.  Here's the fix:
    Open Finder/Applications
    Search "Internet Plug-Ins"
    Move any Adobe plug-ins to the trash
    Quit Safari
    Launch Safari
    Your pdf document should now render in Print Preview and print properly.

  • Every time I send a file to the TRASH, finder ask me to type my system password to complete the removal and wasn't like this before. How do I make to work like it was before? Thanks.

    Every time I send a file to the TRASH, finder ask me to type my system password to complete the removal and wasn't like this before. How do I make to work like it was before? Thanks.

    http://www.thexlab.com/faqs/trash.html

  • Sending a file to the Response failure

    Hello everybody,
    I have to send a file to the response for the browser to show a save/open file dialog box to the user, so he/she can download it and save in in his/her local file system. As expected the file is stored in a specific directory in the file system of the server.
    What I did was to call this method within a commandLink component:
    public String downloadDB(){
          FacesContext context = FacesContext.getCurrentInstance();
          HttpServletRequest request = ( HttpServletRequest )
                                     context.getExternalContext().getRequest(  );
          HttpServletResponse response =
             ( HttpServletResponse ) context.getExternalContext().getResponse();
          String filePath = null;
          int read = 0;
          byte[] bytes = new byte[1024];
          filePath = getMyDBPath();
          response.setContentType("application/pdf");
          FileInputStream fis = null;
          OutputStream os = null;
          try {
             fis = new FileInputStream(new File(filePath));
             os = response.getOutputStream();
             while((read = fis.read(bytes)) != -1){
                os.write(bytes,0,read);
             os.flush();
             os.close();
          catch ( FileNotFoundException e1 ) {
             logger.error(e1);
             logger.info(e1.getMessage());
             request.setAttribute("errors", "File Not Found.");
          catch ( IOException ioe ) {
             logger.error(ioe);
             logger.info(ioe.getMessage());
             request.setAttribute("errors", "Error reading file.");
          return "";
       }After the user clicks on the commandLink, the page I'm working on, gets refreshed and at the top of it appears the text of the file I tried to download. This is not the expected behaviour, what should I do?
    thanks a lot,
    Johnny

    I have found the solution, some googling and in another differente JSF forum.
    what I missed was to include in the header this:
    response.setHeader("Content-disposition", "attachment; filename="+filename);With that line it works perfect.
    thanks.

  • How to turn off printing message box that appears every time I send a document to the printer?

    How to turn off printing message box that appears every time I send a document to the printer?  Appears bottom right corner of screen above task bar.  Printer is HP c309a All-in-One PhotoSmart printer.

    I have an Iphone 4s, and every time I receive a call and i dont answer it, the cell shows a black screen with many things to do and automatic messages to send, like "call back, save, remind, call now, call later, etc". If I don´t close it as soon as i receive the call, then the cell gets frozen in that screen and i have to restart it. Sory for my english, i´m from argentina! thaks for your help !!!

  • Urgent, To send a report to the printer

    hello
    I have develops an application with devlopper suite 9.0.4, and when I want to print the report without posting it on the screen, I use web.show.document
    with destype=printer
    desname=Imprimante
    when I use the local print server, everything works well
    but when I puts the report on the server (Linux+IAS 904), and I use the printing server, it posts me an error, “Left with error code (1)”
    help me PLEASE

    Hello,
    On UNIX systems, Reports wil use the script $ORACLE_HOME/bin/rwlpr.sh to send the output to the printer.
    It is possible to trace the execution of rwlpr.sh :
    Note.268295.1 How To Debug REP-50157 Error while sending file to printer <...>. Exit with error code <...>:
    Regards

Maybe you are looking for

  • Problems Moving Time Machine to New Hard Drive, Error -8062

    I'm in 10.8.5, trying to copy my Backups.backupsb folder from my current 2TB ext drive to a new 4TB drive, following Apples instructions for changing the Time Machine drive.  Both are Seagates, single partitioned (GUIDE) formatted Mac OS Extended (Jo

  • Web Gallery only shows 10 pictures cs4

    When I try to create a web gallery in Bridge CS4 and/or Photoshop CS4 only ten images are included even though I have selected many more than 10.  I have tried different column and row configurations, I have reinstalled, but it still only includes th

  • Windows 7 Firefox worked and still works on all but my admin account where it gives me the message below:

    Gives me this message: Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk

  • Xorg.conf for a dualhead setup with an ATI/AMD graphic card

    Hello Guys first I would mention that I've searched for a solution but I've not found one now back to the problem. I would configure my system so that I can work with two displays like Xinerama. But when I use $ startx then my two monitors have a whi

  • Firewire DV video output for DVD player?

    Hi everyone, I am just wondering, does anyone know of any way to get the DVD player program to output NTSC DV via firewire like FCP allows for external monitors? I would love a way to test my dvds without having to waste so many discs... Any suggesti