Javax.print postscript support

The DocFlavors supported by the print services I've queried using the javax.print package haven't included the specific Postscript DocFlavor. They all return the autosense DocFlavor though. Some of these printers will automatically detect and print postscript and some won't but I haven't been able to tell until I actually send the print job to the printer. How widely supported is postscript on current printers or where can I go to find this information? Are there other ways to determine programmatically what formats a printer supports?

Hey how you find in answer for this yet please let me know as soon as possible thanks.

Similar Messages

  • HP Color LaserJet Pro MFP M177fw - PostScript support?

    Hi,
    I'm looking to purchase a new printer/scanner/copier(/fax is a nice to have, but not mandatory), and I'm deciding between the following models:
    HP LaserJet Pro 100 color MFP M175nw
    HP Color LaserJet Pro MFP M177fw
    PostScript support is important for me, and I know that the 175 has this.  However, I'm not sure about the 177, even after digging through several web pages and documents.  Here's what I found:
    - The main specs page for the 177 says that it supports "PCLm".  I'm not familiar with this PCL variant, so I don't know how it compares to PCL5 or PCL6, etc.  I was unable to find more information on "PCLm".
    - The "Software Included" section of Page 2 of the PDF datasheet for the 177 mentions "HP PostScript" driver.  This is the only place where I've seen any potential indication that the 177 supports PostScript.  This section also mentions a "PCLmS" driver.  I could not find any further information on "PCLmS".
    - The  for User Guide the 177 only mentions PostScript in a section that refers to ePrint.  However, it does not imply that the 177 itself supports PostScript.
    - The Product Specifications page (in the Support section of the HP site) for the 177 has a "Printing Specifications" section which lists only "PCL3 GUI" next to "Device languages".
    I'm guessing that the 177 does not support PostScript, but does anyone have any more definitive information?  Also, is there a description of PCLm / PCLmS somewhere?
    Thanks!
    This question was solved.
    View Solution.

    Hi Clent
    Here is some information on both printers.
    Here is a url for the printer specifications for the Color LaserJet Pro MFP M177fw
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03901180&tmp_task=prodinfoCategory&cc=us&dlc=en...
    Data Sheet also.
    http://www.shopping.hp.com/shopping/pdf/cz165a.pdf
    Fonts and typefaces Depend on Operating System fonts and typefaces.
    Print languages
    PCLm
    Laserjet Pro 100 color MFP M175nw
    http://www.shopping.hp.com/shopping/pdf/ce866a.pdf
    Print languages
    HP PCL 6, HP PCL 5c, HP postscript level 3 emulation, PDF (v1.7), HP PCL 6, HP PCL 5c, HP postscript level 3 emulation, PDF (v1.7), AirPrint™ compatible
    Hope this helps.
    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!
    Gemini02
    I work on behalf of HP

  • How can I print a html Using javax.print

    Hi friends,
    I am in big trouble . I use following code to print a html file using javax.print api.
    import java.io.*;
    import javax.print.*;
    import javax.print.attribute.*;
    import javax.print.attribute.standard.*;
    import javax.print.event.*;
    public class PrintPS
         public static void main(String args[]) {
              PrintPS html = new PrintPS();
         public PrintPS() {
         DocFlavor flavor = DocFlavor.INPUT_STREAM.TEXT_HTML_HOST;
         PrintRequestAttributeSet aset = new HashPrintRequestAttributeSet();
         aset.add(MediaSizeName.ISO_A4);
         aset.add(new Copies(1));
         aset.add(MediaTray.MAIN);
         PrintService pservices = PrintServiceLookup.lookupDefaultPrintService();
         if(pservices==null)
              System.out.println(" printer not found");
         if (pservices!= null) {
         System.out.println("selected printer " + pservices.getName());
         DocPrintJob pj = pservices.createPrintJob();
         try {
         InputStream fis = new FileInputStream("abc.html");
         Doc doc = new SimpleDoc(fis, flavor, null);
    System.out.println("printing started ");
         pj.print(doc, aset);
    System.out.println("printing completed");
         } catch (IOException ie) {
         System.err.println(ie);
         } catch (PrintException e) {
         System.err.println(e);
    This code gives me "sun.print.PrintJobFlavorException: invalid flavor"
    So i use all four TEXT_HTML flavor but i do not find the solution.
    I am able to print pdf, jpg, gif files but i can not able to print txt and html file.
    My printer supports txt and html printing becaue i do printing directolly by browser's or notpad's print command .

    Hi friends,
    I am in big trouble . I use following code to print a
    html file using javax.print api.Use Code Tags
    http://forum.java.sun.com/help.jspa?sec=formatting
    My printer supports txt and html printing becaue i do
    printing directolly by browser's or notpad's print
    command .Notepad & your browser prob. convert to the HTML/text(1) into the printers native format.
    1) I am suprised that it does not print text.

  • Javax.print problem: data not of declared type

    Hi all,
    I'm trying to print a simple text-only document with the below code but it keeps giving me an illegal argument exception. By the way, I've tried all the combinations of DocFlavor.*.* and SERVICE_FORMATTED.PRINTABLE and SERVICE_FORMATTED.PAGEABLE are the only ones working for me. Is this normal?
    Thanks!
    IllegalArgumentException:
    java.lang.IllegalArgumentException: data is not of declared type
            at javax.print.SimpleDoc.<init>(SimpleDoc.java:82)
            at DiagnosticsPane.actionPerformed(DiagnosticsPane.java:350)
    import java.io.*;
    import javax.print.*;
    import javax.print.attribute.*;
    class testPrint
         public static void main(String args[])
              PrintRequestAttributeSet pras =     new HashPrintRequestAttributeSet();
              DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
              PrintService ps[] = PrintServiceLookup.lookupPrintServices(flavor, pras);
              PrintService defaultService = PrintServiceLookup.lookupDefaultPrintService();
              PrintService service = ServiceUI.printDialog(null, 200, 200, ps, defaultService, flavor, pras);
              if (service != null) {
                   try {
                        DocPrintJob job = service.createPrintJob();
                        DocAttributeSet das = new HashDocAttributeSet();
                        FileInputStream fis = new FileInputStream("report.txt");
                        Doc doc = new SimpleDoc(fis, flavor, das);
                        try {
                             job.print(doc, pras);
                             System.err.println("Job sent to printer.");
                        } catch (PrintException e) {
                             System.err.println("Print error!\n\n" + e.getMessage());
                   } catch (FileNotFoundException e) {
                        System.err.println("File not found!\n\n" + e.getMessage());
    }

    Hi duffymo,
    I've tried all the available DocFlavors and even wrote a little program to list all my supported DocFlavors. And, I've only got 2 available for each of my printers, one being a Canon i320 and the other is a Adobe PDF printer.
    import javax.print.*;
    import javax.print.attribute.*;
    class listDocFlavor
      public static void main(String args[])
        PrintRequestAttributeSet pras = new HashPrintRequestAttributeSet();
        DocFlavor flavor = DocFlavor.SERVICE_FORMATTED.PRINTABLE;
        PrintService ps[] = PrintServiceLookup.lookupPrintServices(flavor, pras);
        for (int j = 0; j < ps.length; j++) {
          DocFlavor df[] = ps[j].getSupportedDocFlavors();
          for (int i = 0; i < df.length; i++)
            System.err.println(j + ": " + df);
    0: application/x-java-jvm-local-objectref; class="java.awt.print.Pageable"
    0: application/x-java-jvm-local-objectref; class="java.awt.print.Printable"
    1: application/x-java-jvm-local-objectref; class="java.awt.print.Pageable"
    1: application/x-java-jvm-local-objectref; class="java.awt.print.Printable"

  • PDF printing using javax.print

    Hi!
    I need to create an aplication that generates a PDF document and then prints it. For creating the PDF doc, I use the iText package.
    I have some problems with printing. I don't know how to print the document I generate. Could you give me a hint please? (I can print GIF docs, yet I do not know how to convert the PDF to GIF).
    Thanks in advance,
    Alex

    import javax.print.*;
    import javax.print.attribute.DocAttributeSet;
    import javax.print.attribute.HashDocAttributeSet;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    import javax.print.attribute.standard.Copies;
    import javax.print.attribute.standard.MediaSizeName;
    import java.io.FileInputStream;
    import java.io.FileNotFoundException;
    public class PDFfilePrinter {
    public static void main(String[] args) {
    DocAttributeSet fset = new HashDocAttributeSet();
    PrintRequestAttributeSet pset = new HashPrintRequestAttributeSet();
    String filename = "somefile.pdf"; //name of file to print
    DocFlavor docf = DocFlavor.INPUT_TYPE.PDF;
    PrintService[] services = PrintServiceLookup.lookupPrintServices(null, null);
    if (0 < services.length) {
    DocPrintJob printer = services[0].createPrintJob(); //default printer on my system
    try {
    FileInputStream fis = new FileInputStream(filename);
    Doc toprint = new SimpleDoc(fis, docf, fset);
    pset.add(MediaSizeName.ISO_A4);
    pset.add(new Copies(1));
    printer.print(toprint, pset);
    } catch (PrintException e) {
    e.printStackTrace();
    } catch (FileNotFoundException fnfe) {
    fnfe.printStackTrace();
    Here's the code I'm working with for printing. This stuff works .... in a very strange way - it prints out all sort of crazy characters. I know I am doing something wrong and I think it's all in this line:
    DocFlavor docf = DocFlavor.INPUT_TYPE.PDF;
    Should I use a different flavor? I read somewhere that the PDF file format is not entirely supported bye javax.print. Could this be the problem?
    Thanks in advance,
    Alex

  • My Ricoh Aficio MP 2500 only prints postscript stuff when connected to my OS X Yosemite

    My Ricoh Aficio MP 2500 only prints postscript stuff when connected to my OS X Yosemite. When printing one page of something, ten pages or so of machine language will print out.  It is on my home network and the IP address is correct.
    Thanks for any help.

    This can also happen when you use a Postscript driver but the printer does not support Postscript. According to the Ricoh Australia web site the MP2500 supports PCL standard while Postscript is optional. So it would be safe to assume that you don't have the Postscript kit and that's why you are getting all those pages with Postscript commands.
    One thing you can do is remove this printer from Printers & Scanners and add again, this time selecting the Generic PCL Laser printer in the Use menu. Note that this printer is set to 300dpi by default, but you can change the resolution to 600dpi via the printer menu so that you get better looking prints.

  • Extendingng the javax.print.attribute.standard

    Hello All,
    How do I programatticaly invoke a feature in a printer using Java Print Service API which is currently not available as of now in javax.print.attribute.standard package.The API documentation speaks about extending the Attribute class for the new feature or for a new value for the existing attribute.
    I am feeling stuck when i want to implement 'Reverse order printing' . This feature is not currently supported in the standard JDK.
    How do I go about it?
    We have a workaround if we use java.awt.Printable interface and manually reverse the pages. But I want the printer to take care of the actual reversing of the data.
    Appreciate if anybody can help me on this.
    thanks in advance
    Sinoj.

    You get out your printer manual and check if your printer will do this or not, if it does, then look up the codes that the printer requires to do that task. If it doesn't do it, then go buy a printer that does support it and look up the codes that the printer requires to do that task. Once you have the codes that are required to do that task, then check if there are any special signals (pin activations and etc) that need to be sent to enable that mode. If there are no special signals that are needed to enable that mode, then send the codes to the printer. If you need special signals, then your probably looking at a JNI module for your project to generate the special signals needed.

  • Printing HTML to PS with javax.print

    Hi
    I'm trying to convert an .html file to .ps with javax.print.*,
    but I think that I need an html printer driver that support my Flavor HTML_UTF_*
    did anyone made this conversion ?
    do you any idea about this driver, and when can I download it?
    thanks ;)

    Doc doc = new SimpleDoc(book, DocFlavor.SERVICE_FORMATTED.PRINTABLE, null);I am really new to this and have not tried printing using the print service API, but from the little JavaDoc I can understand on these classes, it seems that you are saying you'll be providing a print object that implements Printable, but then you are actually passing in a Book object, which does NOT implement Printable (It implements Pageable.).
    So maybe try changing the DocFlavor to DocFlavor.SERVICE_FORMATTED.PAGEABLE ?

  • Printer Driver Support for Computers Running Windows 8 Release Preview

    Printer driver support for computers running Windows 8 Release Preview
    HP is working to help customers have the best experience with HP printers connected to PCs running the final release of Windows 8. The pre-release time is a development period when HP develops and tests printer driver solutions. HP’s current plan is for Windows 8 compatible printers to be available when the new operating system is released to the public. HP is working with Microsoft to include drivers in the Windows 8 operating system for HP printers introduced in recent years.
    There may be a variety of sources for a printer driver/solution for your HP printer on a computer running Windows 8 Release Preview.
    inOS:
    An in-Operating System (inOS) driver is a basic driver that is included within the operating system. You do not need to download or install any software from HP. Windows 8 Relase Preview contains several inOS drivers. If an inOS driver is available for your printer, you will have at least basic print capability with USB and Network and basic scan capability with USB only (if your printer supports scanning).
    Windows Update:
    There might be a more functional or more up-to-date driver available for your printer through Microsoft Windows Update. If Windows Update is enabled, then the Windows Update process activates automatically when you connect (USB and Network connections) the printer to the computer. It searches online for the most recent print driver on the Windows Update site. If the online driver is more functional than the currently installed driver in Windows 8, the computer downloads and installs this driver.
    HP Supplied Printer Driver/Solutions:
    Although HP does not formally support any pre-release versions of Windows Operating Systems, including Windows 8 Release Preview, we may supply some full functionality drivers* prior to the official release of Windows 8. These drivers may be supplied as a courtesy to our valued HP customers through this Support Forum, though no formal support will be available otherwise. We welcome feedback within these support forums. Please check back for further updates as the official release of Windows 8 approaches.
    * Full feature drivers provide full product functionality, plus valuable software to help you get the most out of your printer.

    Hi vireshr,
    Check out the following thread.
    http://h30434.www3.hp.com/t5/Windows-8-Release-Pre​view/How-to-Get-Your-Inkjet-Printer-Working-with-W​...
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • Javax.print problems on applet - bug on mac os implementation?

    Dear All,
    I am working on an applet and application that include a print function and I get a weird behaviour on MacOS in applet mode (both with Safari and Firefox - Mac OS X Versione 10.4.9 (Build 8P135) ). In contrast, things work fine on Windows XP (both Explorer 7 and Firefox with Java Plug-in 1.6.0_01) and even in MacOS when using the application.
    The problems are:
    - the print dialogue goes on and off a few times before letting the user interact with it
    - the page format in the dialogue is set to A5 (instead of the printer's default)
    - there is a small empty window appearing together with the dialogue and not disappearing even after the applet is closed
    Is this a known problem? If so, are there work-arounds?
    (I had no luck on Google about this)
    To reproduce the problem I created a stripped down version of the applet, in 2 files, I report it at the bottom of this message. I am using a modified version the PrintUtilities class from http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-Printing.html
    Am I doing something wrong? Or shall I consider submitting a bug report?
    Any suggestion is welcome! Please let me know if I should provide more detailed information.
    Thank you in advance,
    Enrico
    PrintMe.java
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import javax.swing.JApplet;
    import javax.swing.JPanel;
    public class PrintMe extends JApplet implements MouseListener{
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;
         public PrintMe() {
              super();
         private class MyComponent extends JPanel{
              private static final long serialVersionUID = 1L;
              public void paintComponent(Graphics g) {
                   super.paintComponent(g);
                  Graphics2D g2 = (Graphics2D) g;
                  g2.setColor(Color.black);
                  g2.drawString( "Test text", 0, g2.getFontMetrics().getHeight() );
         public void init() {
              MyComponent aComponent = new MyComponent();
              jContentPane = new JPanel();
              jContentPane.setLayout(new BorderLayout());
              jContentPane.add(aComponent);
              this.setContentPane(jContentPane);
              this.addMouseListener(this);
         public void print(){
              try{
                   PrintUtilities.printComponent(this);
              }catch (Exception e) {
                   e.printStackTrace();
         public void mouseClicked(MouseEvent e) {
              print();
         public void mouseEntered(MouseEvent e) {
              // not used
         public void mouseExited(MouseEvent e) {
              // not used
         public void mousePressed(MouseEvent e) {
              // not used
         public void mouseReleased(MouseEvent e) {
              // not used
    PrintUtilities.java
    import java.awt.Component;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.print.PageFormat;
    import java.awt.print.Printable;
    import java.awt.print.PrinterException;
    import java.awt.print.PrinterJob;
    import javax.print.attribute.HashPrintRequestAttributeSet;
    import javax.print.attribute.PrintRequestAttributeSet;
    import javax.swing.RepaintManager;
    import javax.swing.RootPaneContainer;
    /** A simple utility class that lets you very simply print
    *  an arbitrary component. Just pass the component to the
    *  PrintUtilities.printComponent. The component you want to
    *  print doesn't need a print method and doesn't have to
    *  implement any interface or do anything special at all.
    *  If you are going to be printing many times, it is marginally more
    *  efficient to first do the following:
    *    PrintUtilities printHelper = new PrintUtilities(theComponent);
    *  then later do printHelper.print(). But this is a very tiny
    *  difference, so in most cases just do the simpler
    *  PrintUtilities.printComponent(componentToBePrinted).
    *  7/99 Marty Hall, http://www.apl.jhu.edu/~hall/java/
    *  May be freely used or adapted.
    public class PrintUtilities implements Printable {
         private Component componentToBePrinted;
         public static void printComponent(Component c) {
              new PrintUtilities(c).print();
         public PrintUtilities(Component componentToBePrinted) {
              this.componentToBePrinted = componentToBePrinted;
         public void print() {
              try{
                   PrinterJob printJob = PrinterJob.getPrinterJob();
                   printJob.setPrintable(this);
                   PrintRequestAttributeSet attributes = new HashPrintRequestAttributeSet();
                   if( printJob.printDialog(attributes) ){
                        try {
                             printJob.setJobName("MyName");
                             printJob.print(attributes);
                        } catch(PrinterException pe) {
                             System.err.println("Error printing: " + pe);
                             pe.printStackTrace();
              }catch (Exception e) {
                   e.printStackTrace();
         public int print(Graphics g, PageFormat pageFormat, int pageIndex) {
              if (pageIndex > 0) {
                   return(NO_SUCH_PAGE);
              } else {
                   RootPaneContainer rpc = (RootPaneContainer)(this.componentToBePrinted);
                   rpc.getRootPane().getGlassPane().setVisible( false );
                   Graphics2D g2d = (Graphics2D)g;
                   double sy = pageFormat.getImageableHeight() / componentToBePrinted.getHeight();
                   double sx = pageFormat.getImageableWidth() / componentToBePrinted.getWidth();
                   if( sx > sy ){
                        sx = sy;
                   }else{
                        sy = sx;
                   g2d.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
                   g2d.scale(sx, sy);
                   disableDoubleBuffering(componentToBePrinted);
                   componentToBePrinted.paint(g2d);
                   enableDoubleBuffering(componentToBePrinted);
                   return(PAGE_EXISTS);
         /** The speed and quality of printing suffers dramatically if
          *  any of the containers have double buffering turned on.
          *  So this turns if off globally.
          *  @see enableDoubleBuffering
         public static void disableDoubleBuffering(Component c) {
              RepaintManager currentManager = RepaintManager.currentManager(c);
              currentManager.setDoubleBufferingEnabled(false);
         /** Re-enables double buffering globally. */
         public static void enableDoubleBuffering(Component c) {
              RepaintManager currentManager = RepaintManager.currentManager(c);
              currentManager.setDoubleBufferingEnabled(true);
    }

    Trying to answer to myself..
    Is it possible that the problems are due to me mixing java.awt.print and javax.swing.print ?

  • Why does my cell phone say printer not supported

    I am trying to print from my android phone and my cell phone says printer not supported.
    I have a HP 5510 photosmart printer

    Hi maddymel39;
    I hope you are doing well
    what cell phone do you have?
    What version of the Operating system is in the phone?
    What application are you using to print? provide this information and I will do my best to help you.
    Regards;
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • Vitrual Print Server to Print Standard Support

    Can a Vitrual Print Server be used for Print Standard Support or Advanced Support.
    Are there different Print Server Script that I should use other then:
    /xmlpserver/convert
    Any information would be great. Thanks

    Inplace upgrades (As Christopher said) are a bad idea, they bring along with them all the old patches and other cruft that you want to avoid since the old system has been maintained.  Upgrading the server should bring along all the old settings, so
    yes this should work as you hope. The one bad thing if you were to rebuild you would have to re-add all the print shares.
    This really isn't an AD question and would suggest in the future you post in the General Windows Server forum.
    Paul Bergson
    MVP - Directory Services
    MCITP: Enterprise Administrator
    MCTS, MCT, MCSE, MCSA, Security, BS CSci
    2012, 2008, Vista, 2003, 2000 (Early Achiever), NT4
    Twitter @pbbergs http://blogs.dirteam.com/blogs/paulbergson
    Please no e-mails, any questions should be posted in the NewsGroup.
    This posting is provided AS IS with no warranties, and confers no rights.

  • Print postscript script giving error on .print(false) JS CS3

    I found this example here:
    Olav Kvern, "Need script for printing Postscript files (ID CS2)" #4, 19 Nov 2007 4:45 pm
    But if the ID doc has a blank page an error on the myDocument.print(flase); will occur.
    The message I'm getting is:
    The configuration was invalid or the user cancelled. Please try the same operation in the user interface to see more detailed information.
    Once you get rid of the blank or add something to the blank the error is gone. Does anyone know how to stop the error if a user adds a blank page?
    Cheers.

    Thanks priyan, Olav,
    I will try your suggestion priyan. If I can check the page itme and get back a null result I should be able to get the for loop to skip to the next page correct?
    Olav hope you don't mind but I made a slight change to give the user an option to print a specific page if required. Just a warning the script does not check that the number you enter is part of the doc. So if you doc range is from pages 19 to 24 and you try and print page 2 it will error.
    For anyone else out there that finds this useful you can also change the browse option to a drop menu and set the paths for output. This will speed up the process if you have set paths.
    Anyway here is the alteration.
    //PrintEachPageAsPS.jsx
    //An InDesign CS3 JavaScript
    //Prints each page of an InDesign document as a PostScript file to
    //a selected folder.
    main();
    function main(){
    if(app.documents.length != 0){
    //Display a "choose folder" dialog box.
    var myFolder = Folder.selectDialog ("Choose a Folder");
    if(myFolder != null){
    myExportPages(myFolder);
    else{
    alert("Please open a document and try again.");
    function myExportPages(myFolder){
    var myPageName, myFilePath, myFile;
    var myDocument = app.documents.item(0);
    var myDocumentName = myDocument.name;
    var myDialog = app.dialogs.add();
    with(myDialog.dialogColumns.add()){
    staticTexts.add({staticLabel:"Base name:"});
    staticTexts.add({staticLabel:"Print only this page:"});
    with(myDialog.dialogColumns.add()){
    var myBaseNameField = textEditboxes.add({editContents:myDocumentName.substring(0,4), minWidth:160});
    var myPageNumberField = integerEditboxes.add({editContents:"", minWidth:80});
    var myResult = myDialog.show({name:"PrintEachPageAsPS"});
    if(myResult == true){
    var myBaseName = myBaseNameField.editContents;
    var myPageNum = myPageNumberField.editValue;
    //Remove the dialog box from memory.
    myDialog.destroy();
    //Specify PostScript file and device-independent PostScript.
    myDocument.printPreferences.printer = Printer.POSTSCRIPT_FILE;
    myDocument.printPreferences.ppd = PPDValues.DEVICE_INDEPENDENT;
    if (myPageNum > 0){
    myPageName = myPageNum+ "";
    myDocument.printPreferences.pageRange = myPageName;
    var myRegExp = new RegExp(":","gi");
    myPageName = myPageName.replace(myRegExp, "_");
    myFilePath = myFolder + "/" + myPageName + "_" + myBaseName + ".ps";
    myFile = new File(myFilePath);
    document.printPreferences.printFile = myFile;
    myDocument.print(false);
    }else{
    for(var myCounter = 0; myCounter < myDocument.pages.length; myCounter++){
    myPageName = myDocument.pages.item(myCounter).name;
    myDocument.printPreferences.pageRange = myPageName;
    //The name of the exported files will be the base name + the page name + ".pdf".
    //If the page name contains a colon (as it will if the document contains sections),
    //then remove the colon.
    var myRegExp = new RegExp(":","gi");
    myPageName = myPageName.replace(myRegExp, "_");
    myFilePath = myFolder + "/" + myPageName + "_" + myBaseName + ".ps";
    myFile = new File(myFilePath);
    document.printPreferences.printFile = myFile;
    myDocument.print(false);
    alert("Done!");
    else{
    myDialog.destroy();

  • Printing postscript files

    I have been able for years to print postscript files (*.ps) stored in a desktop folder by dragging them to the desktop printer (HP 4600) in os 9.
    New to Tiger, I find the same approach leads to two problems:
    the files are printing in reverse order (i.e., files "A.ps", "B.ps", "C.ps" when dragged to the printer print in the order of "C.ps", "B.ps", "A.ps". This will not do.
    Second, the printer has a duplex unit installed and is set to use it, but the pages are not printing back-to-back, only one side per page.
    I am at a loss as to how to make it do what I want (and what it used to do).
    I doubt I am in need of special software, and I do not want to convert to PDF files.
    Can anyone direct me to the answers (or better yet, just give me the answers)?
    Thank you.

    Yes, I really need a PS file. Here's the procedure: I create a newsletter in Adobe InDesign. I print to a booklet using a printer designated for creating direct-to-plate. It automatically generates a postscript file. What happens is that the file is created properly and I always check it through Adobe Acrobat Professional to be sure there are no errors. There is either something in the InDesign procedure or in the Adobe Distiller that converts the halftone files incorrectly. The type comes out okay, but anything with grayscale imaging or with screens comes out in solid black or white, no "dots" if you will. I don't know if I am explaining myself properly, but I am a commercial printer and I use this procedure to create the plate I use to print the job on my press.
    Does this make any sense to you?
    Carol

  • How do I get my Mac, G5, 10.5.8, to print?  Printer tech support thinks it is a computer problem.  Any ideas?

    How do I get my Mac, G5, 10.5.8, to print?  Printer tech support thinks it is a computer problem.  Any ideas?

    Hi Dwayne,
    If necessary (unless your operating system already contains the printer software needed), a downloadable driver for a Deskjet 5420v Photo Printer (is this the exact model?) and Mac OS 10.5 appears to exist according to the support web page below:
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?product=1105187&lc=en&cc=us& dlc=en&lang=en&cc=us
    To begin with, have you verified that the printer is able to print at all (that the print cartridges are OK, et cetera)? This can usually be done by trying to print a test page (from the computer) via an HP printer utility, or possibly by generating a self-test page (without a connected computer) using an appropriate button combination on the printer itself.
    Jan

Maybe you are looking for

  • Converting a scanned document to word

    I am trying to scan in a document, then to convert it to word so I can work within it to change/add data. I've tried Acrobat 8, but seem to have difficulty with framing the document on a single page. Any suggestions? Thanks. Jim

  • Printing issue in iTunes 7

    I'm trying to print songs by album from my Music Library on my PC. I print it to PDF file ... it prints ok the only problem I have is that there are only 17 pages of Music but after page 17 it is all blank pages upto 97? Does anyone know what the pro

  • GL assignment for Cash Desk and House Banks

    Hi, I am very new to FICA. Can any one help me the following questions. 1. In FICA amount will get posting Cash Desk Clearing Account. My client is asking this amount should post in main cash journal which we are following in FICO. Since he is trying

  • Safari displaying pages inconsistently

    Pages that I'm sure used to display fine in Safari are suddenly not displaying at all - they're a completely white and displaying nothing. My first thought was to reinstall Safari, but that seems to be trickier than I thought. I have two Safari plugi

  • WS_DELIVERY_UPDATE Function Module is not updating the Handling unit

    Hi Experts, I am using the Function Module WS_DELIVERY_UPDATE  for PGI and packing outbond delivery . I am getting the PGI date , Route. but i am not getting the time in delivery field-WAUHR and i am getting the message 'Reqiured HU could not be foun